Documentation ¶
Index ¶
- Variables
- func AddCrd(resource Crd) error
- type Crd
- func (d Crd) AddToScheme(s *runtime.Scheme) error
- func (d Crd) GroupVersion() schema.GroupVersion
- func (d Crd) GroupVersionKind() schema.GroupVersionKind
- func (d Crd) Kind(kind string) schema.GroupKind
- func (d Crd) KubeResource(resource resources.InputResource) *v1.Resource
- func (d Crd) Register(apiexts apiexts.Interface) error
- func (d Crd) Resource(resource string) schema.GroupResource
- func (d Crd) SchemeBuilder() runtime.SchemeBuilder
- func (d Crd) TypeMeta() metav1.TypeMeta
- type CrdMeta
- type MultiVersionCrd
- type Version
Constants ¶
This section is empty.
Variables ¶
View Source
var ( VersionExistsError = func(version string) error { return errors.Errorf("tried adding version %s, but it already exists") } NotFoundError = func(id string) error { return errors.Errorf("could not find the combined crd for %v", id) } InvalidGVKError = func(gvk schema.GroupVersionKind) error { return errors.Errorf("the following gvk %v does not correspond to a crd in the combined crd object", gvk) } )
Functions ¶
Types ¶
type Crd ¶
func (Crd) GroupVersion ¶ added in v0.10.1
func (d Crd) GroupVersion() schema.GroupVersion
GroupVersion is group version used to register these objects
func (Crd) GroupVersionKind ¶ added in v0.10.1
func (d Crd) GroupVersionKind() schema.GroupVersionKind
GroupVersionKing is the unique id of this crd
func (Crd) KubeResource ¶
func (d Crd) KubeResource(resource resources.InputResource) *v1.Resource
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
type CrdMeta ¶ added in v0.10.1
type MultiVersionCrd ¶ added in v0.10.1
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. |
Click to show internal directories.
Click to hide internal directories.