Documentation ¶
Index ¶
- Constants
- type NamespaceScopeReconciler
- func (r *NamespaceScopeReconciler) CreateRole(fromNs, toNs string) error
- func (r *NamespaceScopeReconciler) CreateUpdateRoleBinding(saNames []string, fromNs, toNs string) error
- func (r *NamespaceScopeReconciler) DeleteRbacFromUnmanagedNamespace(instance *operatorv1.NamespaceScope) error
- func (r *NamespaceScopeReconciler) DeleteRole(fromNs, toNs string) error
- func (r *NamespaceScopeReconciler) DeleteRoleBinding(fromNs, toNs string) error
- func (r *NamespaceScopeReconciler) GetServiceAccountFromNamespace(labels map[string]string, namespace string) ([]string, error)
- func (r *NamespaceScopeReconciler) InitConfigMap(instance *operatorv1.NamespaceScope) error
- func (r *NamespaceScopeReconciler) PushRbacToNamespace(instance *operatorv1.NamespaceScope) error
- func (r *NamespaceScopeReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error)
- func (r *NamespaceScopeReconciler) RestartPods(labels map[string]string, namespace string) error
- func (r *NamespaceScopeReconciler) SetupWithManager(mgr ctrl.Manager) error
- func (r *NamespaceScopeReconciler) UpdateConfigMap(instance *operatorv1.NamespaceScope) error
- func (r *NamespaceScopeReconciler) UpdateRoleBinding(newRoleBinding *rbacv1.RoleBinding) error
Constants ¶
View Source
const ( NamespaceScopeManagedRoleName = "namespacescope-managed-role-from-" NamespaceScopeManagedRoleBindingName = "namespacescope-managed-rolebinding-from-" NamespaceScopeConfigmapName = "namespace-scope" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NamespaceScopeReconciler ¶
NamespaceScopeReconciler reconciles a NamespaceScope object
func (*NamespaceScopeReconciler) CreateRole ¶
func (r *NamespaceScopeReconciler) CreateRole(fromNs, toNs string) error
func (*NamespaceScopeReconciler) CreateUpdateRoleBinding ¶
func (r *NamespaceScopeReconciler) CreateUpdateRoleBinding(saNames []string, fromNs, toNs string) error
func (*NamespaceScopeReconciler) DeleteRbacFromUnmanagedNamespace ¶
func (r *NamespaceScopeReconciler) DeleteRbacFromUnmanagedNamespace(instance *operatorv1.NamespaceScope) error
func (*NamespaceScopeReconciler) DeleteRole ¶
func (r *NamespaceScopeReconciler) DeleteRole(fromNs, toNs string) error
func (*NamespaceScopeReconciler) DeleteRoleBinding ¶
func (r *NamespaceScopeReconciler) DeleteRoleBinding(fromNs, toNs string) error
func (*NamespaceScopeReconciler) GetServiceAccountFromNamespace ¶
func (*NamespaceScopeReconciler) InitConfigMap ¶
func (r *NamespaceScopeReconciler) InitConfigMap(instance *operatorv1.NamespaceScope) error
func (*NamespaceScopeReconciler) PushRbacToNamespace ¶
func (r *NamespaceScopeReconciler) PushRbacToNamespace(instance *operatorv1.NamespaceScope) error
func (*NamespaceScopeReconciler) RestartPods ¶
func (r *NamespaceScopeReconciler) RestartPods(labels map[string]string, namespace string) error
Restart pods in specific namespace with the matching labels
func (*NamespaceScopeReconciler) SetupWithManager ¶
func (r *NamespaceScopeReconciler) SetupWithManager(mgr ctrl.Manager) error
func (*NamespaceScopeReconciler) UpdateConfigMap ¶
func (r *NamespaceScopeReconciler) UpdateConfigMap(instance *operatorv1.NamespaceScope) error
func (*NamespaceScopeReconciler) UpdateRoleBinding ¶
func (r *NamespaceScopeReconciler) UpdateRoleBinding(newRoleBinding *rbacv1.RoleBinding) error
Click to show internal directories.
Click to hide internal directories.