authzrole

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 NewAuthzRoleCmd added in v1.1.0

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

Types

type AuthzRole

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

AuthzRole implements authz role operations

func New

func New(c client.Interface) *AuthzRole

New creates a new authz role implementation

func (*AuthzRole) Delete

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

Delete deletes a single authz role

func (*AuthzRole) Get

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

Get retrieves a single authz role and outputs it as YAML

func (*AuthzRole) List

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

List lists all authz roles in a namespace

type DeleteParams

type DeleteParams struct {
	Namespace string
	Name      string
}

DeleteParams defines parameters for deleting a single authz role

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

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 roles

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