v1beta1

package
v1.6.20 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CustomResourceDefinitionKind = resource.Kind{
	Group:   "apiextensions.k8s.io",
	Version: "v1beta1",
	Kind:    "CustomResourceDefinition",
	Scoped:  false,
}
View Source
var CustomResourceDefinitionResource = resource.Type{
	Kind: CustomResourceDefinitionKind,
	Name: "customresourcedefinitions",
}

Functions

This section is empty.

Types

type Client

type Client interface {
	CustomResourceDefinitionsClient
}

func NewClient

func NewClient(resources resource.Client, filter resource.Filter) Client

type CustomResourceDefinition

type CustomResourceDefinition struct {
	*resource.Resource
	Object *apiextensionsv1beta1.CustomResourceDefinition
}

func NewCustomResourceDefinition

func NewCustomResourceDefinition(customResourceDefinition *apiextensionsv1beta1.CustomResourceDefinition, client resource.Client) *CustomResourceDefinition

func (*CustomResourceDefinition) Delete

type CustomResourceDefinitionsClient

type CustomResourceDefinitionsClient interface {
	CustomResourceDefinitions() CustomResourceDefinitionsReader
}

func NewCustomResourceDefinitionsClient

func NewCustomResourceDefinitionsClient(resources resource.Client, filter resource.Filter) CustomResourceDefinitionsClient

type CustomResourceDefinitionsReader

type CustomResourceDefinitionsReader interface {
	Get(ctx context.Context, name string) (*CustomResourceDefinition, error)
	List(ctx context.Context) ([]*CustomResourceDefinition, error)
}

func NewCustomResourceDefinitionsReader

func NewCustomResourceDefinitionsReader(client resource.Client, filter resource.Filter) CustomResourceDefinitionsReader

Jump to

Keyboard shortcuts

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