authzrolebinding

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAuthzRoleBindingCmd added in v1.1.0

func NewAuthzRoleBindingCmd(f client.NewClientFunc) *cobra.Command

Types

type AuthzRoleBinding

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

AuthzRoleBinding implements authz role binding operations

func New

New creates a new authz role binding implementation

func (*AuthzRoleBinding) Delete

func (r *AuthzRoleBinding) Delete(params DeleteParams) error

Delete deletes a single authz role binding

func (*AuthzRoleBinding) Get

func (r *AuthzRoleBinding) Get(params GetParams) error

Get retrieves a single authz role binding and outputs it as YAML

func (*AuthzRoleBinding) List

func (r *AuthzRoleBinding) List(params ListParams) error

List lists all authz role bindings in a namespace

type DeleteParams

type DeleteParams struct {
	Namespace string
	Name      string
}

DeleteParams defines parameters for deleting a single authz role binding

func (DeleteParams) GetNamespace

func (p DeleteParams) GetNamespace() string

GetNamespace returns the namespace

type GetParams

type GetParams struct {
	Namespace string
	Name      string
}

GetParams defines parameters for getting a single authz role binding

func (GetParams) GetNamespace

func (p GetParams) GetNamespace() string

GetNamespace returns the namespace

type ListParams

type ListParams struct {
	Namespace string
}

ListParams defines parameters for listing authz role bindings

func (ListParams) GetNamespace

func (p ListParams) GetNamespace() string

GetNamespace returns the namespace

Jump to

Keyboard shortcuts

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