Help us shape the future of Go! Take the 2026 Go Developer Survey

rolebinding

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2025 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