crd

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2019 License: Apache-2.0 Imports: 14 Imported by: 29

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Crd

type Crd struct {
	GroupName     string
	Plural        string
	Group         string
	Version       string
	KindName      string
	ShortName     string
	ClusterScoped bool
	Type          runtime.Object
}

func NewCrd

func NewCrd(GroupName string,
	Plural string,
	Group string,
	Version string,
	KindName string,
	ShortName string,
	ClusterScoped bool,
	Type runtime.Object) Crd

func (Crd) AddToScheme

func (d Crd) AddToScheme(s *runtime.Scheme) error

func (Crd) FullName

func (d Crd) FullName() string

func (Crd) Kind

func (d Crd) Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

func (Crd) KubeResource

func (d Crd) KubeResource(resource resources.InputResource) *v1.Resource

func (Crd) Register

func (d Crd) Register(apiexts apiexts.Interface) error

func (Crd) Resource

func (d Crd) Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

func (Crd) SchemeBuilder

func (d Crd) SchemeBuilder() runtime.SchemeBuilder

func (Crd) SchemeGroupVersion

func (d Crd) SchemeGroupVersion() schema.GroupVersion

SchemeGroupVersion is group version used to register these objects

func (Crd) TypeMeta

func (d Crd) TypeMeta() metav1.TypeMeta

Directories

Path Synopsis
client
clientset/versioned
This package has the automatically generated clientset.
This package has the automatically generated clientset.
clientset/versioned/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
clientset/versioned/typed/solo.io/v1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
clientset/versioned/typed/solo.io/v1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
solo.io
v1
Package v1 is the v1 version of the API.
Package v1 is the v1 version of the API.

Jump to

Keyboard shortcuts

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