package
0.0.0-20241202183904-81cd6e70c15e
Repository: https://github.com/openshift/elasticsearch-operator.git
Documentation: pkg.go.dev

# Functions

CreateOrUpdateClusterRole attempts first to get the given clusterrole.
CreateOrUpdateClusterRoleBinding attempts first to get the given clusterrolebinding.
CreateOrUpdateRole attempts first to get the given role.
CreateOrUpdateRoleBinding attempts first to get the given rolebinding.
DeleteClusterRole attempts to delete a k8s cluster role if existing or returns an error.
DeleteClusterRoleBinding attempts to delete a k8s cluster role binding if existing or returns an error.
NewClusterRole returns a new clusterrole.
NewClusterRoleBinding returns a new clusterrolebinding.
NewPolicyRule returns a new policyrule.
NewPolicyRules returns a slice of policyrule objects.
NewRole returns a new k8s role.
NewRoleBinding returns a new role binding.
NewSubject returns a new subject.
NewSubjects returns a slice of subject objects.