v1alpha1

package
v0.0.0-...-60d7572 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2020 License: Apache-2.0 Imports: 4 Imported by: 22

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the cache v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=cache.example.com

Package v1alpha1 contains API Schema definitions for the cache v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=cache.example.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: "cache.example.com", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
)

Functions

This section is empty.

Types

type Memcached

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

	Spec   MemcachedSpec   `json:"spec,omitempty"`
	Status MemcachedStatus `json:"status,omitempty"`
}

Memcached is the Schema for the memcacheds API +kubebuilder:subresource:status +kubebuilder:resource:path=memcacheds,scope=Namespaced +kubebuilder:storageversion

func (*Memcached) DeepCopy

func (in *Memcached) DeepCopy() *Memcached

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

func (*Memcached) DeepCopyInto

func (in *Memcached) DeepCopyInto(out *Memcached)

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

func (*Memcached) DeepCopyObject

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

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

type MemcachedList

type MemcachedList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Memcached `json:"items"`
}

MemcachedList contains a list of Memcached

func (*MemcachedList) DeepCopy

func (in *MemcachedList) DeepCopy() *MemcachedList

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

func (*MemcachedList) DeepCopyInto

func (in *MemcachedList) DeepCopyInto(out *MemcachedList)

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

func (*MemcachedList) DeepCopyObject

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

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

type MemcachedRS

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

	Spec   MemcachedRSSpec   `json:"spec,omitempty"`
	Status MemcachedRSStatus `json:"status,omitempty"`
}

MemcachedRS is the Schema for the memcachedrs API +kubebuilder:subresource:status +kubebuilder:resource:path=memcachedrs,scope=Namespaced +kubebuilder:storageversion

func (*MemcachedRS) DeepCopy

func (in *MemcachedRS) DeepCopy() *MemcachedRS

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

func (*MemcachedRS) DeepCopyInto

func (in *MemcachedRS) DeepCopyInto(out *MemcachedRS)

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

func (*MemcachedRS) DeepCopyObject

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

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

type MemcachedRSList

type MemcachedRSList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []MemcachedRS `json:"items"`
}

MemcachedRSList contains a list of MemcachedRS

func (*MemcachedRSList) DeepCopy

func (in *MemcachedRSList) DeepCopy() *MemcachedRSList

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

func (*MemcachedRSList) DeepCopyInto

func (in *MemcachedRSList) DeepCopyInto(out *MemcachedRSList)

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

func (*MemcachedRSList) DeepCopyObject

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

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

type MemcachedRSSpec

type MemcachedRSSpec struct {
	NumNodes int32 `json:"numNodes"`
}

MemcachedRSSpec defines the desired state of MemcachedRS

func (*MemcachedRSSpec) DeepCopy

func (in *MemcachedRSSpec) DeepCopy() *MemcachedRSSpec

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

func (*MemcachedRSSpec) DeepCopyInto

func (in *MemcachedRSSpec) DeepCopyInto(out *MemcachedRSSpec)

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

type MemcachedRSStatus

type MemcachedRSStatus struct {
	NodeList []string `json:"nodeList"`
	Test     bool     `json:"test"`
}

MemcachedRSStatus defines the observed state of MemcachedRS

func (*MemcachedRSStatus) DeepCopy

func (in *MemcachedRSStatus) DeepCopy() *MemcachedRSStatus

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

func (*MemcachedRSStatus) DeepCopyInto

func (in *MemcachedRSStatus) DeepCopyInto(out *MemcachedRSStatus)

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

type MemcachedSpec

type MemcachedSpec struct {
	// Size is the size of the memcached deployment
	Size int32 `json:"size"`
}

MemcachedSpec defines the desired state of Memcached

func (*MemcachedSpec) DeepCopy

func (in *MemcachedSpec) DeepCopy() *MemcachedSpec

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

func (*MemcachedSpec) DeepCopyInto

func (in *MemcachedSpec) DeepCopyInto(out *MemcachedSpec)

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

type MemcachedStatus

type MemcachedStatus struct {
	// Nodes are the names of the memcached pods
	Nodes []string `json:"nodes"`
}

MemcachedStatus defines the observed state of Memcached

func (*MemcachedStatus) DeepCopy

func (in *MemcachedStatus) DeepCopy() *MemcachedStatus

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

func (*MemcachedStatus) DeepCopyInto

func (in *MemcachedStatus) DeepCopyInto(out *MemcachedStatus)

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