Documentation ¶
Index ¶
- func ClusterRoleBindingNeedsUpdate(desiredRoleBinding, existingRoleBinding *rbacv1.ClusterRoleBinding) bool
- func ClusterRoleNeedsUpdate(desiredClusterRole, existingClusterRole *rbacv1.ClusterRole) bool
- func CreateOrUpdateClusterRole(c base.K8sClientWithLogging, ctx context.Context, ...) error
- func CreateOrUpdateClusterRoleBinding(c base.K8sClientWithLogging, ctx context.Context, ...) error
- func CreateOrUpdateRole(c base.K8sClientWithLogging, ctx context.Context, namespace string, ...) error
- func CreateOrUpdateRoleBinding(c base.K8sClientWithLogging, ctx context.Context, namespace string, ...) error
- func DeleteClusterRole(c base.K8sClientWithLogging, ctx context.Context, clusterRole string) error
- func DeleteClusterRoleBinding(c base.K8sClientWithLogging, ctx context.Context, clusterRoleBinding string) error
- func DeleteRole(c base.K8sClientWithLogging, ctx context.Context, namespace string, ...) error
- func DeleteRoleBinding(c base.K8sClientWithLogging, ctx context.Context, namespace string, ...) error
- func RoleBindingNeedsUpdate(desiredRoleBinding, existingRoleBinding *rbacv1.RoleBinding) bool
- func RoleNeedsUpdate(desiredRole, existingRole *rbacv1.Role) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClusterRoleBindingNeedsUpdate ¶
func ClusterRoleBindingNeedsUpdate(desiredRoleBinding, existingRoleBinding *rbacv1.ClusterRoleBinding) bool
ClusterRoleBindingNeedsUpdate ClusterRoleBinding needs an update with the list of subjects has changed
func ClusterRoleNeedsUpdate ¶ added in v0.30.2
func ClusterRoleNeedsUpdate(desiredClusterRole, existingClusterRole *rbacv1.ClusterRole) bool
func CreateOrUpdateClusterRole ¶
func CreateOrUpdateClusterRole(c base.K8sClientWithLogging, ctx context.Context, clusterRole *rbacv1.ClusterRole) error
func CreateOrUpdateClusterRoleBinding ¶
func CreateOrUpdateClusterRoleBinding(c base.K8sClientWithLogging, ctx context.Context, clusterRoleBinding *rbacv1.ClusterRoleBinding) error
func CreateOrUpdateRole ¶
func CreateOrUpdateRoleBinding ¶
func CreateOrUpdateRoleBinding(c base.K8sClientWithLogging, ctx context.Context, namespace string, roleBinding *rbacv1.RoleBinding) error
func DeleteClusterRole ¶
func DeleteRole ¶
func DeleteRoleBinding ¶
func RoleBindingNeedsUpdate ¶
func RoleBindingNeedsUpdate(desiredRoleBinding, existingRoleBinding *rbacv1.RoleBinding) bool
RoleBindingNeedsUpdate RoleBinding needs an update with the list of subjects has changed
func RoleNeedsUpdate ¶
RoleNeedsUpdate Role needs an update if the rules have changed
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.