Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/argoproj-labs/argocd-rbac-operator
/ functions
Functions
214 in github.com/argoproj-labs/argocd-rbac-operator
⨍
Functions
214
◇
Types & classes
35
↓ 30 callers
Method
Reconcile
+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 callers
Function
ZapLogger
(development bool)
internal/controller/testing.go:51
↓ 29 callers
Function
makeTestReconcilerClient
(sch *runtime.Scheme, resObjs, subresObjs []client.Object)
internal/controller/testing.go:98
↓ 29 callers
Function
makeTestReconcilerScheme
(schOpts ...SchemeOpt)
internal/controller/testing.go:109
↓ 28 callers
Method
DeepCopyInto
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 callers
Method
Equal
Equal returns true if the condition is identical to the supplied condition, ignoring the LastTransitionTime and ObservedGeneration.
api/v1alpha1/status.go:80
↓ 18 callers
Function
makeTestArgoCDNamespace
()
internal/controller/testing.go:375
↓ 13 callers
Function
Run
Run executes the provided command within this context
test/utils/utils.go:50
↓ 12 callers
Function
makeTestRBACConfigMap
()
internal/controller/testing.go:265
↓ 11 callers
Method
SetConditions
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 callers
Function
makeTestArgoCDRoleBindingReconciler
(client client.Client, sch *runtime.Scheme)
internal/controller/testing.go:75
↓ 10 callers
Function
makeTestRole
(opts ...argocdRoleOpt)
internal/controller/testing.go:123
↓ 9 callers
Function
IsObjectFound
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 callers
Method
SetConditions
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 callers
Function
addFinalizerRoleBinding
()
internal/controller/testing.go:403
↓ 9 callers
Function
makeTestAppProject
AppProject RBAC Objects
internal/controller/testing.go:486
↓ 8 callers
Function
getDefaultRBACPolicy
getRBACDefaultPolicyCSV will return the Argo CD RBAC default policy CSV.
internal/controller/configmap.go:34
↓ 8 callers
Function
makeTestArgoCDRoleReconciler
(client client.Client, sch *runtime.Scheme)
internal/controller/testing.go:66
↓ 8 callers
Function
newConfigMap
newConfigMap will return a new ConfigMap resource.
internal/controller/configmap.go:81
↓ 7 callers
Method
SetConditions
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 callers
Function
makeTestProjectRole
(opts ...argocdProjectRoleOpt)
internal/controller/testing.go:508
↓ 6 callers
Method
WithMessage
WithMessage returns a condition by adding the provided message to existing condition.
api/v1alpha1/status.go:89
↓ 6 callers
Function
addFinalizerRole
()
internal/controller/testing.go:384
↓ 6 callers
Function
makeTestArgoCDProjectRoleBindingReconciler
(client client.Client, sch *runtime.Scheme)
internal/controller/testing.go:91
↓ 6 callers
Function
makeTestProjectRoleBinding
(opts ...argocdProjectRoleBindingOpt)
internal/controller/testing.go:537
↓ 6 callers
Function
makeTestRoleBindingWithRoleSubject
(opts ...argocdRoleBindingOpt)
internal/controller/testing.go:145
↓ 5 callers
Method
HasFinalizer
HasFinalizer returns true if the Role has the finalizer
api/v1alpha1/argocdrole_types.go:74
↓ 5 callers
Method
SetConditions
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 callers
Method
WithObservedGeneration
WithObservedGeneration returns a condition by adding the provided observed generation to existing condition.
api/v1alpha1/status.go:96
↓ 5 callers
Function
addTestRoleToAppProject
()
internal/controller/testing.go:463
↓ 5 callers
Function
makeTestArgoCDProjectRoleReconciler
(client client.Client, sch *runtime.Scheme)
internal/controller/testing.go:84
↓ 5 callers
Function
makeTestRBACConfigMap_WithChangedPolicyCSV
()
internal/controller/testing.go:278
↓ 4 callers
Method
AddFinalizer
AddFinalizer adds the finalizer to the Role
api/v1alpha1/argocdrole_types.go:79
↓ 4 callers
Method
RemoveFinalizer
RemoveFinalizer removes the finalizer from the Role
api/v1alpha1/argocdrole_types.go:84
↓ 4 callers
Method
SetupWithManager
SetupWithManager sets up the controller with the Manager.
internal/controller/argocdrole_controller.go:181
↓ 4 callers
Function
addArgoCDPkgToScheme
()
internal/controller/testing.go:57
↓ 4 callers
Function
addFinalizerProjectRoleBinding
()
internal/controller/testing.go:442
↓ 4 callers
Function
addProjectRoleBinding
(roleBindingName string)
internal/controller/testing.go:434
↓ 4 callers
Function
buildPolicyStringRules
buildPolicyStringRules will build the policy string for Rules field of the given role.
internal/controller/configmap.go:49
↓ 4 callers
Function
getRBACPolicyCSV
(role *rbacoperatorv1alpha1.ArgoCDRole, rb *rbacoperatorv1alpha1.ArgoCDRoleBinding)
internal/controller/configmap.go:38
↓ 3 callers
Function
addFinalizerProjectRole
()
internal/controller/testing.go:421
↓ 3 callers
Function
buildPolicyStringSubjects
buildPolicyStringSubjects will build the policy string for Subjects field of the given role.
internal/controller/configmap.go:63
↓ 3 callers
Function
makeTestCMArgoCDRoleExpected
()
internal/controller/testing.go:291
↓ 2 callers
Method
DeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition.
api/v1alpha1/zz_generated.deepcopy.go:501
↓ 2 callers
Method
HasArgoCDProjectRoleBindingRef
()
api/v1alpha1/status.go:171
↓ 2 callers
Method
HasArgoCDRoleBindingRef
()
api/v1alpha1/status.go:134
↓ 2 callers
Function
addRoleBinding
(roleBindingName string)
internal/controller/testing.go:397
↓ 2 callers
Function
deleteProjectRoles
(rClient client.Client, appProjects []string, roleName string, namespace string)
internal/controller/argocdrbac_operator_finalizer.go:180
↓ 2 callers
Function
getFirstFoundEnvTestBinaryDir
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 callers
Function
getRoleInAppProject
(appProject *argocdv1alpha.AppProject, roleName string)
internal/controller/appproject.go:64
↓ 2 callers
Function
makeTestCM_ArgoCDRole_WithRoleBindingRoleSubject_Expected
()
internal/controller/testing.go:305
↓ 2 callers
Function
makeTestRoleBindingForBuiltInReadOnly
(opts ...argocdRoleBindingOpt)
internal/controller/testing.go:241
↓ 2 callers
Function
newAppProject
(name, namespace string)
internal/controller/appproject.go:29
↓ 2 callers
Function
removeRoleFromAppProject
(rClient client.Client, appProject *argocdv1alpha.AppProject, roleName string)
internal/controller/appproject.go:95
↓ 2 callers
Function
roleBindingDeletedAt
(now time.Time)
internal/controller/testing.go:409
↓ 2 callers
Function
setAppProjectName
(name string)
internal/controller/testing.go:478
↓ 2 callers
Function
warnError
(err error)
test/utils/utils.go:37
↓ 1 callers
Method
DeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDProjectRole.
api/v1alpha1/zz_generated.deepcopy.go:57
↓ 1 callers
Method
DeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDProjectRoleBinding.
api/v1alpha1/zz_generated.deepcopy.go:84
↓ 1 callers
Method
DeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDProjectRoleBindingList.
api/v1alpha1/zz_generated.deepcopy.go:116
↓ 1 callers
Method
DeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDProjectRoleList.
api/v1alpha1/zz_generated.deepcopy.go:198
↓ 1 callers
Method
DeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDRole.
api/v1alpha1/zz_generated.deepcopy.go:284
↓ 1 callers
Method
DeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDRoleBinding.
api/v1alpha1/zz_generated.deepcopy.go:311
↓ 1 callers
Method
DeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDRoleBindingList.
api/v1alpha1/zz_generated.deepcopy.go:343
↓ 1 callers
Method
DeepCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDRoleList.
api/v1alpha1/zz_generated.deepcopy.go:418
↓ 1 callers
Method
DeepCopyInto
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 callers
Method
DeepCopyInto
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 callers
Method
DeepCopyInto
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 callers
Method
DeepCopyInto
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 callers
Method
DeepCopyInto
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 callers
Method
DeepCopyInto
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 callers
Method
DeepCopyInto
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 callers
Method
DeepCopyInto
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 callers
Method
DeepCopyInto
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 callers
Method
DeepCopyInto
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 callers
Method
DeepCopyInto
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 callers
Method
DeepCopyInto
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 callers
Method
DeepCopyInto
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 callers
Method
DeepCopyInto
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 callers
Method
DeepCopyInto
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 callers
Method
DeepCopyInto
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 callers
Method
DeepCopyInto
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 callers
Method
DeepCopyInto
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 callers
Method
DeepCopyInto
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 callers
Method
DeepCopyInto
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 callers
Method
DeepCopyInto
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 callers
Method
DeepCopyInto
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 callers
Function
FetchObject
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 callers
Function
GetNonEmptyLines
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 callers
Function
GetProjectDir
GetProjectDir will return the directory where the project is
test/utils/utils.go:133
↓ 1 callers
Method
HasFinalizer
HasFinalizer returns true if the Role has the finalizer
api/v1alpha1/argocdprojectrole_types.go:76
↓ 1 callers
Method
HasFinalizer
HasFinalizer returns true if the Role has the finalizer
api/v1alpha1/argocdrolebinding_types.go:86
↓ 1 callers
Method
HasFinalizer
HasFinalizer returns true if the Role has the finalizer
api/v1alpha1/argocdprojectrolebinding_types.go:79
↓ 1 callers
Function
InstallCertManager
InstallCertManager installs the cert manager bundle.
test/utils/utils.go:88
↓ 1 callers
Function
InstallPrometheusOperator
InstallPrometheusOperator installs the prometheus Operator to be used to export the enabled metrics.
test/utils/utils.go:42
↓ 1 callers
Method
IsBeingDeleted
IsBeingDeleted returns true if a deletion timestamp is set
api/v1alpha1/argocdprojectrole_types.go:68
↓ 1 callers
Method
IsBeingDeleted
IsBeingDeleted returns true if a deletion timestamp is set
api/v1alpha1/argocdrole_types.go:66
↓ 1 callers
Method
IsBeingDeleted
IsBeingDeleted returns true if a deletion timestamp is set
api/v1alpha1/argocdrolebinding_types.go:78
↓ 1 callers
Method
IsBeingDeleted
IsBeingDeleted returns true if a deletion timestamp is set
api/v1alpha1/argocdprojectrolebinding_types.go:71
↓ 1 callers
Function
LoadImageToKindClusterWithName
LoadImageToKindCluster loads a local docker image to the kind cluster
test/utils/utils.go:107
next →
1–100 of 214, ranked by callers