rbacv1

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: May 10, 2022 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ClusterRoleBindingKind = rbacv1.SchemeGroupVersion.WithKind("ClusterRoleBinding")
)
View Source
var (
	ClusterRoleKind = rbacv1.SchemeGroupVersion.WithKind("ClusterRole")
)
View Source
var (
	RoleBindingKind = rbacv1.SchemeGroupVersion.WithKind("RoleBinding")
)
View Source
var (
	RoleKind = rbacv1.SchemeGroupVersion.WithKind("Role")
)

Functions

func NewClusterRoleBindingPatcher added in v0.6.3

func NewClusterRoleBindingPatcher(upd, orig *ClusterRoleBinding) lifecycle.Persister

func NewClusterRolePatcher added in v0.6.3

func NewClusterRolePatcher(upd, orig *ClusterRole) lifecycle.Persister

func NewRoleBindingPatcher

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

func NewRolePatcher

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

Types

type ClusterRole added in v0.6.3

type ClusterRole struct {
	*helper.ClusterScopedAPIObject

	Name   string
	Object *rbacv1.ClusterRole
}

func NewClusterRole added in v0.6.3

func NewClusterRole(name string) *ClusterRole

func NewClusterRoleFromObject added in v0.6.3

func NewClusterRoleFromObject(obj *rbacv1.ClusterRole) *ClusterRole

func (*ClusterRole) Copy added in v0.6.3

func (r *ClusterRole) Copy() *ClusterRole

type ClusterRoleBinding added in v0.6.3

type ClusterRoleBinding struct {
	*helper.ClusterScopedAPIObject

	Name   string
	Object *rbacv1.ClusterRoleBinding
}

func NewClusterRoleBinding added in v0.6.3

func NewClusterRoleBinding(name string) *ClusterRoleBinding

func NewClusterRoleBindingFromObject added in v0.6.3

func NewClusterRoleBindingFromObject(obj *rbacv1.ClusterRoleBinding) *ClusterRoleBinding

func (*ClusterRoleBinding) Copy added in v0.6.3

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