clusterrolebindings

package
v1.3.8 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(ctx context.Context, opts CreateOptions) error

func Delete

func Delete(ctx context.Context, opts DeleteOpts) (err error)

func List

func List(ctx context.Context, restConfig *rest.Config) ([]unstructured.Unstructured, error)

Types

type CreateOptions

type CreateOptions struct {
	RESTConfig       *rest.Config
	Name             string
	SubjectName      string
	SubjectNamespace string
}

type DeleteOpts

type DeleteOpts struct {
	RESTConfig *rest.Config
	Name       string
}

Jump to

Keyboard shortcuts

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