v1alpha1

package
v0.0.0-...-6e10ded Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package v1alpha1 is the v1alpha1 version of the API. +groupName=kinky

Index

Constants

This section is empty.

Variables

View Source
var (
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: kinky.GroupName, Version: "v1alpha1"}

SchemeGroupVersion is groups version used to register these objects

Functions

func RegisterDeepCopies deprecated

func RegisterDeepCopies(scheme *runtime.Scheme) error

RegisterDeepCopies adds deep-copy functions to the given scheme. Public to allow building arbitrary schemes.

Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type Kinky

type Kinky struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec KinkySpec `json:"spec"`
}

Database describes a database.

func (*Kinky) DeepCopy

func (in *Kinky) DeepCopy() *Kinky

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kinky.

func (*Kinky) DeepCopyInto

func (in *Kinky) DeepCopyInto(out *Kinky)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Kinky) DeepCopyObject

func (in *Kinky) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type KinkyList

type KinkyList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []Kinky `json:"items"`
}

DatabaseList is a list of Database resources

func (*KinkyList) DeepCopy

func (in *KinkyList) DeepCopy() *KinkyList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KinkyList.

func (*KinkyList) DeepCopyInto

func (in *KinkyList) DeepCopyInto(out *KinkyList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*KinkyList) DeepCopyObject

func (in *KinkyList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type KinkySpec

type KinkySpec struct {
	Version string `json:"version"`
}

DatabaseSpec is the spec for a Foo resource

func (*KinkySpec) DeepCopy

func (in *KinkySpec) DeepCopy() *KinkySpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KinkySpec.

func (*KinkySpec) DeepCopyInto

func (in *KinkySpec) DeepCopyInto(out *KinkySpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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