crd

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: May 26, 2019 License: Apache-2.0 Imports: 14 Imported by: 51

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CRD

type CRD struct {
	GVK          schema.GroupVersionKind
	PluralName   string
	NonNamespace bool
}

func FromGV

func FromGV(gv schema.GroupVersion, kind string) CRD

func NamespacedType

func NamespacedType(name string) CRD

func NamespacedTypes

func NamespacedTypes(names ...string) (ret []CRD)

func NonNamespacedType

func NonNamespacedType(name string) CRD

func NonNamespacedTypes

func NonNamespacedTypes(names ...string) (ret []CRD)

func (CRD) ToCustomResourceDefinition

func (c CRD) ToCustomResourceDefinition() apiext.CustomResourceDefinition

type Factory

type Factory struct {
	CRDClient clientset.Interface
	// contains filtered or unexported fields
}

func NewFactoryFromClient

func NewFactoryFromClient(config *rest.Config) (*Factory, error)

func NewFactoryFromClientGetter

func NewFactoryFromClientGetter(client clientset.Interface) *Factory

func (*Factory) BatchCreateCRDs

func (f *Factory) BatchCreateCRDs(ctx context.Context, crds ...CRD)

func (*Factory) BatchWait

func (f *Factory) BatchWait() error

func (*Factory) CreateCRDs

Jump to

Keyboard shortcuts

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