rolebinding

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RoleBinding

type RoleBinding struct {
	// contains filtered or unexported fields
}

RoleBinding -

func NewRoleBinding

func NewRoleBinding(
	roleBinding *rbacv1.RoleBinding,
	timeout time.Duration,
) *RoleBinding

NewRoleBinding returns an initialized RoleBinding

func (*RoleBinding) CreateOrPatch

func (r *RoleBinding) CreateOrPatch(
	ctx context.Context,
	h *helper.Helper,
) (ctrl.Result, error)

CreateOrPatch - creates or patches a role binding, reconciles after Xs if object won't exist.

func (*RoleBinding) Delete

func (r *RoleBinding) Delete(
	ctx context.Context,
	h *helper.Helper,
) error

Delete - delete a RoleBinding

Jump to

Keyboard shortcuts

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