v1alpha1

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: May 24, 2018 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

+k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/kubernetes-sigs/kubebuilder/samples/memcached-api-server/pkg/apis/myapps +k8s:defaulter-gen=TypeMeta +groupName=myapps.memcached.example.com

Index

Constants

This section is empty.

Variables

This section is empty.

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 +k8s:openapi-gen=true +kubebuilder:resource:path=memcacheds

type MemcachedSpec

type MemcachedSpec struct {
	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
	// +kubebuilder:validation:Maximum=100
	// +kubebuilder:validation:Minimum=5
	Size int32 `json:"size"`
}

MemcachedSpec defines the desired state of Memcached

type MemcachedStatus

type MemcachedStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	Nodes []string `json:"nodes,omitempty"`
}

MemcachedStatus defines the observed state of Memcached

Jump to

Keyboard shortcuts

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