v1

package
Version: v0.0.0-...-f5289f7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateOrPatchRole

func CreateOrPatchRole(ctx context.Context, c kubernetes.Interface, meta metav1.ObjectMeta, transform func(*rbac.Role) *rbac.Role, opts metav1.PatchOptions) (*rbac.Role, kutil.VerbType, error)

func PatchRole

func PatchRole(ctx context.Context, c kubernetes.Interface, cur *rbac.Role, transform func(*rbac.Role) *rbac.Role, opts metav1.PatchOptions) (*rbac.Role, kutil.VerbType, error)

func PatchRoleObject

func PatchRoleObject(ctx context.Context, c kubernetes.Interface, cur, mod *rbac.Role, opts metav1.PatchOptions) (*rbac.Role, kutil.VerbType, error)

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 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 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL