Documentation
¶
Index ¶
- type ControllerHelper
- func (ch *ControllerHelper) AddFinalizerIfNotPresent(instance crutils.Instance, unwrappedInstance client.Object) error
- func (ch *ControllerHelper) DeleteClusterRoleBindings(clusterRoleBindings []*rbacv1.ClusterRoleBinding) error
- func (ch *ControllerHelper) DeleteClusterRoles(clusterRoles []*rbacv1.ClusterRole) error
- func (ch *ControllerHelper) HasFinalizer(instance crutils.Instance) (bool, error)
- func (ch *ControllerHelper) ReconcileClusterRole(clusterRoles []*rbacv1.ClusterRole) error
- func (ch *ControllerHelper) ReconcileClusterRoleBinding(clusterRoleBindings []*rbacv1.ClusterRoleBinding) error
- func (ch *ControllerHelper) RemoveFinalizer(instance crutils.Instance, unwrappedInstance client.Object) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControllerHelper ¶
func NewControllerHelper ¶
func NewControllerHelper(client client.Client) *ControllerHelper
func (*ControllerHelper) AddFinalizerIfNotPresent ¶
func (*ControllerHelper) DeleteClusterRoleBindings ¶
func (ch *ControllerHelper) DeleteClusterRoleBindings(clusterRoleBindings []*rbacv1.ClusterRoleBinding) error
func (*ControllerHelper) DeleteClusterRoles ¶
func (ch *ControllerHelper) DeleteClusterRoles(clusterRoles []*rbacv1.ClusterRole) error
func (*ControllerHelper) HasFinalizer ¶
func (ch *ControllerHelper) HasFinalizer(instance crutils.Instance) (bool, error)
func (*ControllerHelper) ReconcileClusterRole ¶
func (ch *ControllerHelper) ReconcileClusterRole(clusterRoles []*rbacv1.ClusterRole) error
func (*ControllerHelper) ReconcileClusterRoleBinding ¶
func (ch *ControllerHelper) ReconcileClusterRoleBinding(clusterRoleBindings []*rbacv1.ClusterRoleBinding) error
func (*ControllerHelper) RemoveFinalizer ¶
Click to show internal directories.
Click to hide internal directories.