MCPcopy Create free account

hub / github.com/argoproj-labs/argocd-rbac-operator / functions

Functions214 in github.com/argoproj-labs/argocd-rbac-operator

↓ 30 callersMethodReconcile
+kubebuilder:rbac:groups=rbac-operator.argoproj-labs.io,resources=argocdroles,verbs=* +kubebuilder:rbac:groups=rbac-operator.argoproj-labs.io,resource
internal/controller/argocdrole_controller.go:56
↓ 29 callersFunctionZapLogger
(development bool)
internal/controller/testing.go:51
↓ 29 callersFunctionmakeTestReconcilerClient
(sch *runtime.Scheme, resObjs, subresObjs []client.Object)
internal/controller/testing.go:98
↓ 29 callersFunctionmakeTestReconcilerScheme
(schOpts ...SchemeOpt)
internal/controller/testing.go:109
↓ 28 callersMethodDeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
api/v1alpha1/zz_generated.deepcopy.go:495
↓ 25 callersMethodEqual
Equal returns true if the condition is identical to the supplied condition, ignoring the LastTransitionTime and ObservedGeneration.
api/v1alpha1/status.go:80
↓ 18 callersFunctionmakeTestArgoCDNamespace
()
internal/controller/testing.go:375
↓ 13 callersFunctionRun
Run executes the provided command within this context
test/utils/utils.go:50
↓ 12 callersFunctionmakeTestRBACConfigMap
()
internal/controller/testing.go:265
↓ 11 callersMethodSetConditions
SetConditions sets the supplied conditions, replacing any existing conditions of the same type. This is a no-op if all supplied conditions are identic
api/v1alpha1/status.go:105
↓ 11 callersFunctionmakeTestArgoCDRoleBindingReconciler
(client client.Client, sch *runtime.Scheme)
internal/controller/testing.go:75
↓ 10 callersFunctionmakeTestRole
(opts ...argocdRoleOpt)
internal/controller/testing.go:123
↓ 9 callersFunctionIsObjectFound
IsObjectFound will perform a basic check that the given object exists via the Kubernetes API. If an error occurs as part of the check, the function wi
internal/controller/configmap.go:197
↓ 9 callersMethodSetConditions
SetConditions sets the supplied conditions, replacing any existing conditions of the same type. This is a no-op if all supplied conditions are identic
api/v1alpha1/status.go:208
↓ 9 callersFunctionaddFinalizerRoleBinding
()
internal/controller/testing.go:403
↓ 9 callersFunctionmakeTestAppProject
AppProject RBAC Objects
internal/controller/testing.go:486
↓ 8 callersFunctiongetDefaultRBACPolicy
getRBACDefaultPolicyCSV will return the Argo CD RBAC default policy CSV.
internal/controller/configmap.go:34
↓ 8 callersFunctionmakeTestArgoCDRoleReconciler
(client client.Client, sch *runtime.Scheme)
internal/controller/testing.go:66
↓ 8 callersFunctionnewConfigMap
newConfigMap will return a new ConfigMap resource.
internal/controller/configmap.go:81
↓ 7 callersMethodSetConditions
SetConditions sets the supplied conditions, replacing any existing conditions of the same type. This is a no-op if all supplied conditions are identic
api/v1alpha1/status.go:179
↓ 7 callersFunctionmakeTestProjectRole
(opts ...argocdProjectRoleOpt)
internal/controller/testing.go:508
↓ 6 callersMethodWithMessage
WithMessage returns a condition by adding the provided message to existing condition.
api/v1alpha1/status.go:89
↓ 6 callersFunctionaddFinalizerRole
()
internal/controller/testing.go:384
↓ 6 callersFunctionmakeTestArgoCDProjectRoleBindingReconciler
(client client.Client, sch *runtime.Scheme)
internal/controller/testing.go:91
↓ 6 callersFunctionmakeTestProjectRoleBinding
(opts ...argocdProjectRoleBindingOpt)
internal/controller/testing.go:537
↓ 6 callersFunctionmakeTestRoleBindingWithRoleSubject
(opts ...argocdRoleBindingOpt)
internal/controller/testing.go:145
↓ 5 callersMethodHasFinalizer
HasFinalizer returns true if the Role has the finalizer
api/v1alpha1/argocdrole_types.go:74
↓ 5 callersMethodSetConditions
SetConditions sets the supplied conditions, replacing any existing conditions of the same type. This is a no-op if all supplied conditions are identic
api/v1alpha1/status.go:142
↓ 5 callersMethodWithObservedGeneration
WithObservedGeneration returns a condition by adding the provided observed generation to existing condition.
api/v1alpha1/status.go:96
↓ 5 callersFunctionaddTestRoleToAppProject
()
internal/controller/testing.go:463
↓ 5 callersFunctionmakeTestArgoCDProjectRoleReconciler
(client client.Client, sch *runtime.Scheme)
internal/controller/testing.go:84
↓ 5 callersFunctionmakeTestRBACConfigMap_WithChangedPolicyCSV
()
internal/controller/testing.go:278
↓ 4 callersMethodAddFinalizer
AddFinalizer adds the finalizer to the Role
api/v1alpha1/argocdrole_types.go:79
↓ 4 callersMethodRemoveFinalizer
RemoveFinalizer removes the finalizer from the Role
api/v1alpha1/argocdrole_types.go:84
↓ 4 callersMethodSetupWithManager
SetupWithManager sets up the controller with the Manager.
internal/controller/argocdrole_controller.go:181
↓ 4 callersFunctionaddArgoCDPkgToScheme
()
internal/controller/testing.go:57
↓ 4 callersFunctionaddFinalizerProjectRoleBinding
()
internal/controller/testing.go:442
↓ 4 callersFunctionaddProjectRoleBinding
(roleBindingName string)
internal/controller/testing.go:434
↓ 4 callersFunctionbuildPolicyStringRules
buildPolicyStringRules will build the policy string for Rules field of the given role.
internal/controller/configmap.go:49
↓ 4 callersFunctiongetRBACPolicyCSV
(role *rbacoperatorv1alpha1.ArgoCDRole, rb *rbacoperatorv1alpha1.ArgoCDRoleBinding)
internal/controller/configmap.go:38
↓ 3 callersFunctionaddFinalizerProjectRole
()
internal/controller/testing.go:421
↓ 3 callersFunctionbuildPolicyStringSubjects
buildPolicyStringSubjects will build the policy string for Subjects field of the given role.
internal/controller/configmap.go:63
↓ 3 callersFunctionmakeTestCMArgoCDRoleExpected
()
internal/controller/testing.go:291
↓ 2 callersMethodDeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition.
api/v1alpha1/zz_generated.deepcopy.go:501
↓ 2 callersMethodHasArgoCDProjectRoleBindingRef
()
api/v1alpha1/status.go:171
↓ 2 callersMethodHasArgoCDRoleBindingRef
()
api/v1alpha1/status.go:134
↓ 2 callersFunctionaddRoleBinding
(roleBindingName string)
internal/controller/testing.go:397
↓ 2 callersFunctiondeleteProjectRoles
(rClient client.Client, appProjects []string, roleName string, namespace string)
internal/controller/argocdrbac_operator_finalizer.go:180
↓ 2 callersFunctiongetFirstFoundEnvTestBinaryDir
getFirstFoundEnvTestBinaryDir locates the first binary in the specified path. ENVTEST-based tests depend on specific binaries, usually located in path
internal/controller/suite_test.go:103
↓ 2 callersFunctiongetRoleInAppProject
(appProject *argocdv1alpha.AppProject, roleName string)
internal/controller/appproject.go:64
↓ 2 callersFunctionmakeTestCM_ArgoCDRole_WithRoleBindingRoleSubject_Expected
()
internal/controller/testing.go:305
↓ 2 callersFunctionmakeTestRoleBindingForBuiltInReadOnly
(opts ...argocdRoleBindingOpt)
internal/controller/testing.go:241
↓ 2 callersFunctionnewAppProject
(name, namespace string)
internal/controller/appproject.go:29
↓ 2 callersFunctionremoveRoleFromAppProject
(rClient client.Client, appProject *argocdv1alpha.AppProject, roleName string)
internal/controller/appproject.go:95
↓ 2 callersFunctionroleBindingDeletedAt
(now time.Time)
internal/controller/testing.go:409
↓ 2 callersFunctionsetAppProjectName
(name string)
internal/controller/testing.go:478
↓ 2 callersFunctionwarnError
(err error)
test/utils/utils.go:37
↓ 1 callersMethodDeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDProjectRole.
api/v1alpha1/zz_generated.deepcopy.go:57
↓ 1 callersMethodDeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDProjectRoleBinding.
api/v1alpha1/zz_generated.deepcopy.go:84
↓ 1 callersMethodDeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDProjectRoleBindingList.
api/v1alpha1/zz_generated.deepcopy.go:116
↓ 1 callersMethodDeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDProjectRoleList.
api/v1alpha1/zz_generated.deepcopy.go:198
↓ 1 callersMethodDeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDRole.
api/v1alpha1/zz_generated.deepcopy.go:284
↓ 1 callersMethodDeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDRoleBinding.
api/v1alpha1/zz_generated.deepcopy.go:311
↓ 1 callersMethodDeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDRoleBindingList.
api/v1alpha1/zz_generated.deepcopy.go:343
↓ 1 callersMethodDeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDRoleList.
api/v1alpha1/zz_generated.deepcopy.go:418
↓ 1 callersMethodDeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
api/v1alpha1/zz_generated.deepcopy.go:28
↓ 1 callersMethodDeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
api/v1alpha1/zz_generated.deepcopy.go:48
↓ 1 callersMethodDeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
api/v1alpha1/zz_generated.deepcopy.go:75
↓ 1 callersMethodDeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
api/v1alpha1/zz_generated.deepcopy.go:102
↓ 1 callersMethodDeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
api/v1alpha1/zz_generated.deepcopy.go:134
↓ 1 callersMethodDeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
api/v1alpha1/zz_generated.deepcopy.go:157
↓ 1 callersMethodDeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
api/v1alpha1/zz_generated.deepcopy.go:184
↓ 1 callersMethodDeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
api/v1alpha1/zz_generated.deepcopy.go:216
↓ 1 callersMethodDeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
api/v1alpha1/zz_generated.deepcopy.go:231
↓ 1 callersMethodDeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
api/v1alpha1/zz_generated.deepcopy.go:253
↓ 1 callersMethodDeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
api/v1alpha1/zz_generated.deepcopy.go:275
↓ 1 callersMethodDeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
api/v1alpha1/zz_generated.deepcopy.go:302
↓ 1 callersMethodDeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
api/v1alpha1/zz_generated.deepcopy.go:329
↓ 1 callersMethodDeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
api/v1alpha1/zz_generated.deepcopy.go:361
↓ 1 callersMethodDeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
api/v1alpha1/zz_generated.deepcopy.go:382
↓ 1 callersMethodDeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
api/v1alpha1/zz_generated.deepcopy.go:404
↓ 1 callersMethodDeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
api/v1alpha1/zz_generated.deepcopy.go:436
↓ 1 callersMethodDeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
api/v1alpha1/zz_generated.deepcopy.go:451
↓ 1 callersMethodDeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
api/v1alpha1/zz_generated.deepcopy.go:473
↓ 1 callersMethodDeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
api/v1alpha1/zz_generated.deepcopy.go:511
↓ 1 callersMethodDeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
api/v1alpha1/zz_generated.deepcopy.go:536
↓ 1 callersMethodDeepCopyInto
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
api/v1alpha1/zz_generated.deepcopy.go:551
↓ 1 callersFunctionFetchObject
FetchObject will retrieve the object with the given namespace and name using the Kubernetes API. The result will be stored in the given object.
internal/controller/configmap.go:203
↓ 1 callersFunctionGetNonEmptyLines
GetNonEmptyLines converts given command output string into individual objects according to line breakers, and ignores the empty elements in it.
test/utils/utils.go:120
↓ 1 callersFunctionGetProjectDir
GetProjectDir will return the directory where the project is
test/utils/utils.go:133
↓ 1 callersMethodHasFinalizer
HasFinalizer returns true if the Role has the finalizer
api/v1alpha1/argocdprojectrole_types.go:76
↓ 1 callersMethodHasFinalizer
HasFinalizer returns true if the Role has the finalizer
api/v1alpha1/argocdrolebinding_types.go:86
↓ 1 callersMethodHasFinalizer
HasFinalizer returns true if the Role has the finalizer
api/v1alpha1/argocdprojectrolebinding_types.go:79
↓ 1 callersFunctionInstallCertManager
InstallCertManager installs the cert manager bundle.
test/utils/utils.go:88
↓ 1 callersFunctionInstallPrometheusOperator
InstallPrometheusOperator installs the prometheus Operator to be used to export the enabled metrics.
test/utils/utils.go:42
↓ 1 callersMethodIsBeingDeleted
IsBeingDeleted returns true if a deletion timestamp is set
api/v1alpha1/argocdprojectrole_types.go:68
↓ 1 callersMethodIsBeingDeleted
IsBeingDeleted returns true if a deletion timestamp is set
api/v1alpha1/argocdrole_types.go:66
↓ 1 callersMethodIsBeingDeleted
IsBeingDeleted returns true if a deletion timestamp is set
api/v1alpha1/argocdrolebinding_types.go:78
↓ 1 callersMethodIsBeingDeleted
IsBeingDeleted returns true if a deletion timestamp is set
api/v1alpha1/argocdprojectrolebinding_types.go:71
↓ 1 callersFunctionLoadImageToKindClusterWithName
LoadImageToKindCluster loads a local docker image to the kind cluster
test/utils/utils.go:107
next →1–100 of 214, ranked by callers