Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CurrentClusterRole ¶
func CurrentClusterRole(ctx context.Context, cli client.Client, name string) (*rbacv1.ClusterRole, error)
CurrentClusterRole returns the current ClusterRole for the provided name.
func EnsureClusterRole ¶
func EnsureClusterRole(ctx context.Context, cli client.Client, name string, Sesame *operatorv1alpha1.Sesame) (*rbacv1.ClusterRole, error)
EnsureClusterRole ensures a ClusterRole resource exists with the provided name and sesame namespace/name for the owning sesame labels.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.