rbacv1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2021 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RoleBindingKind = rbacv1.SchemeGroupVersion.WithKind("RoleBinding")
)
View Source
var (
	RoleKind = rbacv1.SchemeGroupVersion.WithKind("Role")
)

Functions

func NewRoleBindingPatcher

func NewRoleBindingPatcher(upd, orig *RoleBinding) lifecycle.Persister

func NewRolePatcher

func NewRolePatcher(upd, orig *Role) lifecycle.Persister

Types

type Role

type Role struct {
	*helper.NamespaceScopedAPIObject

	Key    client.ObjectKey
	Object *rbacv1.Role
}

func NewRole

func NewRole(key client.ObjectKey) *Role

func NewRoleFromObject

func NewRoleFromObject(obj *rbacv1.Role) *Role

func (*Role) Copy

func (r *Role) Copy() *Role

type RoleBinding

type RoleBinding struct {
	*helper.NamespaceScopedAPIObject

	Key    client.ObjectKey
	Object *rbacv1.RoleBinding
}

func NewRoleBinding

func NewRoleBinding(key client.ObjectKey) *RoleBinding

func NewRoleBindingFromObject

func NewRoleBindingFromObject(obj *rbacv1.RoleBinding) *RoleBinding

func (*RoleBinding) Copy

func (rb *RoleBinding) Copy() *RoleBinding

Jump to

Keyboard shortcuts

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