@@ -11,7 +11,7 @@ import (
1111 "github.com/go-logr/logr"
1212 "golang.org/x/exp/slices"
1313 corev1 "k8s.io/api/core/v1"
14- k8stypes "k8s.io/apimachinery/pkg/types"
14+ ktypes "k8s.io/apimachinery/pkg/types"
1515
1616 "github.com/spectrocloud-labs/valid8or-plugin-aws/api/v1alpha1"
1717 "github.com/spectrocloud-labs/valid8or-plugin-aws/internal/constants"
@@ -66,7 +66,7 @@ func NewIAMRuleService(log logr.Logger, s *session.Session) *IAMRuleService {
6666}
6767
6868// ReconcileIAMRoleRule reconciles an IAM role validation rule from an AWSValidator config
69- func (s * IAMRuleService ) ReconcileIAMRoleRule (nn k8stypes .NamespacedName , rule iamRule ) (* types.ValidationResult , error ) {
69+ func (s * IAMRuleService ) ReconcileIAMRoleRule (nn ktypes .NamespacedName , rule iamRule ) (* types.ValidationResult , error ) {
7070
7171 // Build the default ValidationResult for this IAM rule
7272 vr := buildValidationResult (rule , constants .ValidationTypeIAMRolePolicy )
@@ -96,7 +96,7 @@ func (s *IAMRuleService) ReconcileIAMRoleRule(nn k8stypes.NamespacedName, rule i
9696}
9797
9898// ReconcileIAMUserRule reconciles an IAM user validation rule from an AWSValidator config
99- func (s * IAMRuleService ) ReconcileIAMUserRule (nn k8stypes .NamespacedName , rule iamRule ) (* types.ValidationResult , error ) {
99+ func (s * IAMRuleService ) ReconcileIAMUserRule (nn ktypes .NamespacedName , rule iamRule ) (* types.ValidationResult , error ) {
100100
101101 // Build the default ValidationResult for this IAM rule
102102 vr := buildValidationResult (rule , constants .ValidationTypeIAMUserPolicy )
@@ -126,7 +126,7 @@ func (s *IAMRuleService) ReconcileIAMUserRule(nn k8stypes.NamespacedName, rule i
126126}
127127
128128// ReconcileIAMGroupRule reconciles an IAM group validation rule from an AWSValidator config
129- func (s * IAMRuleService ) ReconcileIAMGroupRule (nn k8stypes .NamespacedName , rule iamRule ) (* types.ValidationResult , error ) {
129+ func (s * IAMRuleService ) ReconcileIAMGroupRule (nn ktypes .NamespacedName , rule iamRule ) (* types.ValidationResult , error ) {
130130
131131 // Build the default ValidationResult for this IAM rule
132132 vr := buildValidationResult (rule , constants .ValidationTypeIAMGroupPolicy )
@@ -156,7 +156,7 @@ func (s *IAMRuleService) ReconcileIAMGroupRule(nn k8stypes.NamespacedName, rule
156156}
157157
158158// ReconcileIAMPolicyRule reconciles an IAM policy validation rule from an AWSValidator config
159- func (s * IAMRuleService ) ReconcileIAMPolicyRule (nn k8stypes .NamespacedName , rule iamRule ) (* types.ValidationResult , error ) {
159+ func (s * IAMRuleService ) ReconcileIAMPolicyRule (nn ktypes .NamespacedName , rule iamRule ) (* types.ValidationResult , error ) {
160160
161161 // Build the default ValidationResult for this IAM rule
162162 vr := buildValidationResult (rule , constants .ValidationTypeIAMPolicy )
0 commit comments