Documentation ¶
Index ¶
- func CreateOrPatchClusterRole(ctx context.Context, c kubernetes.Interface, meta metav1.ObjectMeta, ...) (*rbac.ClusterRole, kutil.VerbType, error)
- func CreateOrPatchClusterRoleBinding(ctx context.Context, c kubernetes.Interface, meta metav1.ObjectMeta, ...) (*rbac.ClusterRoleBinding, kutil.VerbType, error)
- func CreateOrPatchRole(ctx context.Context, c kubernetes.Interface, meta metav1.ObjectMeta, ...) (*rbac.Role, kutil.VerbType, error)
- func CreateOrPatchRoleBinding(ctx context.Context, c kubernetes.Interface, meta metav1.ObjectMeta, ...) (*rbac.RoleBinding, kutil.VerbType, error)
- func PatchClusterRole(ctx context.Context, c kubernetes.Interface, cur *rbac.ClusterRole, ...) (*rbac.ClusterRole, kutil.VerbType, error)
- func PatchClusterRoleBinding(ctx context.Context, c kubernetes.Interface, cur *rbac.ClusterRoleBinding, ...) (*rbac.ClusterRoleBinding, kutil.VerbType, error)
- func PatchClusterRoleBindingObject(ctx context.Context, c kubernetes.Interface, cur, mod *rbac.ClusterRoleBinding, ...) (*rbac.ClusterRoleBinding, kutil.VerbType, error)
- func PatchClusterRoleObject(ctx context.Context, c kubernetes.Interface, cur, mod *rbac.ClusterRole, ...) (*rbac.ClusterRole, kutil.VerbType, error)
- func PatchRole(ctx context.Context, c kubernetes.Interface, cur *rbac.Role, ...) (*rbac.Role, kutil.VerbType, error)
- func PatchRoleBinding(ctx context.Context, c kubernetes.Interface, cur *rbac.RoleBinding, ...) (*rbac.RoleBinding, kutil.VerbType, error)
- func PatchRoleBindingObject(ctx context.Context, c kubernetes.Interface, cur, mod *rbac.RoleBinding, ...) (*rbac.RoleBinding, kutil.VerbType, error)
- func PatchRoleObject(ctx context.Context, c kubernetes.Interface, cur, mod *rbac.Role, ...) (*rbac.Role, kutil.VerbType, error)
- func RemoveSubjects(subjects []rbac.Subject, rm ...rbac.Subject) []rbac.Subject
- func TryUpdateClusterRole(ctx context.Context, c kubernetes.Interface, meta metav1.ObjectMeta, ...) (result *rbac.ClusterRole, err error)
- func TryUpdateClusterRoleBinding(ctx context.Context, c kubernetes.Interface, meta metav1.ObjectMeta, ...) (result *rbac.ClusterRoleBinding, err error)
- func TryUpdateRole(ctx context.Context, c kubernetes.Interface, meta metav1.ObjectMeta, ...) (result *rbac.Role, err error)
- func TryUpdateRoleBinding(ctx context.Context, c kubernetes.Interface, meta metav1.ObjectMeta, ...) (result *rbac.RoleBinding, err error)
- func UpsertSubjects(subjects []rbac.Subject, upsert ...rbac.Subject) []rbac.Subject
- func WaitUntillRoleBindingDeleted(ctx context.Context, c kubernetes.Interface, meta metav1.ObjectMeta) error
- func WaitUntillRoleDeleted(ctx context.Context, c kubernetes.Interface, meta metav1.ObjectMeta) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateOrPatchClusterRole ¶
func CreateOrPatchClusterRole(ctx context.Context, c kubernetes.Interface, meta metav1.ObjectMeta, transform func(*rbac.ClusterRole) *rbac.ClusterRole, opts metav1.PatchOptions) (*rbac.ClusterRole, kutil.VerbType, error)
func CreateOrPatchClusterRoleBinding ¶
func CreateOrPatchClusterRoleBinding(ctx context.Context, c kubernetes.Interface, meta metav1.ObjectMeta, transform func(*rbac.ClusterRoleBinding) *rbac.ClusterRoleBinding, opts metav1.PatchOptions) (*rbac.ClusterRoleBinding, kutil.VerbType, error)
func CreateOrPatchRole ¶
func CreateOrPatchRoleBinding ¶
func CreateOrPatchRoleBinding(ctx context.Context, c kubernetes.Interface, meta metav1.ObjectMeta, transform func(*rbac.RoleBinding) *rbac.RoleBinding, opts metav1.PatchOptions) (*rbac.RoleBinding, kutil.VerbType, error)
func PatchClusterRole ¶
func PatchClusterRole(ctx context.Context, c kubernetes.Interface, cur *rbac.ClusterRole, transform func(*rbac.ClusterRole) *rbac.ClusterRole, opts metav1.PatchOptions) (*rbac.ClusterRole, kutil.VerbType, error)
func PatchClusterRoleBinding ¶
func PatchClusterRoleBinding(ctx context.Context, c kubernetes.Interface, cur *rbac.ClusterRoleBinding, transform func(*rbac.ClusterRoleBinding) *rbac.ClusterRoleBinding, opts metav1.PatchOptions) (*rbac.ClusterRoleBinding, kutil.VerbType, error)
func PatchClusterRoleBindingObject ¶
func PatchClusterRoleBindingObject(ctx context.Context, c kubernetes.Interface, cur, mod *rbac.ClusterRoleBinding, opts metav1.PatchOptions) (*rbac.ClusterRoleBinding, kutil.VerbType, error)
func PatchClusterRoleObject ¶
func PatchClusterRoleObject(ctx context.Context, c kubernetes.Interface, cur, mod *rbac.ClusterRole, opts metav1.PatchOptions) (*rbac.ClusterRole, kutil.VerbType, error)
func PatchRoleBinding ¶
func PatchRoleBinding(ctx context.Context, c kubernetes.Interface, cur *rbac.RoleBinding, transform func(*rbac.RoleBinding) *rbac.RoleBinding, opts metav1.PatchOptions) (*rbac.RoleBinding, kutil.VerbType, error)
func PatchRoleBindingObject ¶
func PatchRoleBindingObject(ctx context.Context, c kubernetes.Interface, cur, mod *rbac.RoleBinding, opts metav1.PatchOptions) (*rbac.RoleBinding, kutil.VerbType, error)
func PatchRoleObject ¶
func RemoveSubjects ¶ added in v0.25.21
func TryUpdateClusterRole ¶
func TryUpdateClusterRole(ctx context.Context, c kubernetes.Interface, meta metav1.ObjectMeta, transform func(*rbac.ClusterRole) *rbac.ClusterRole, opts metav1.UpdateOptions) (result *rbac.ClusterRole, err error)
func TryUpdateClusterRoleBinding ¶
func TryUpdateClusterRoleBinding(ctx context.Context, c kubernetes.Interface, meta metav1.ObjectMeta, transform func(*rbac.ClusterRoleBinding) *rbac.ClusterRoleBinding, opts metav1.UpdateOptions) (result *rbac.ClusterRoleBinding, err error)
func TryUpdateRole ¶
func TryUpdateRole(ctx context.Context, c kubernetes.Interface, meta metav1.ObjectMeta, transform func(*rbac.Role) *rbac.Role, opts metav1.UpdateOptions) (result *rbac.Role, err error)
func TryUpdateRoleBinding ¶
func TryUpdateRoleBinding(ctx context.Context, c kubernetes.Interface, meta metav1.ObjectMeta, transform func(*rbac.RoleBinding) *rbac.RoleBinding, opts metav1.UpdateOptions) (result *rbac.RoleBinding, err error)
func UpsertSubjects ¶ added in v0.25.21
func WaitUntillRoleBindingDeleted ¶
func WaitUntillRoleBindingDeleted(ctx context.Context, c kubernetes.Interface, meta metav1.ObjectMeta) error
func WaitUntillRoleDeleted ¶
func WaitUntillRoleDeleted(ctx context.Context, c kubernetes.Interface, meta metav1.ObjectMeta) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.