Documentation ¶
Index ¶
- Variables
- func NewClusterRoleBindingPatcher(upd, orig *ClusterRoleBinding) lifecycle.Persister
- func NewClusterRolePatcher(upd, orig *ClusterRole) lifecycle.Persister
- func NewRoleBindingPatcher(upd, orig *RoleBinding) lifecycle.Persister
- func NewRolePatcher(upd, orig *Role) lifecycle.Persister
- type ClusterRole
- type ClusterRoleBinding
- type Role
- type RoleBinding
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 ¶
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
func (rb *ClusterRoleBinding) Copy() *ClusterRoleBinding
type Role ¶
func NewRoleFromObject ¶
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
Click to show internal directories.
Click to hide internal directories.