v1

package
v0.0.0-...-b8f1b36 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the app v1 API group +k8s:deepcopy-gen=package,register +groupName=app.learn.com

Package v1 contains API Schema definitions for the app v1 API group +k8s:deepcopy-gen=package,register +groupName=app.learn.com

Index

Constants

This section is empty.

Variables

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

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

Functions

This section is empty.

Types

type Learn

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

	Spec   LearnSpec   `json:"spec,omitempty"`
	Status LearnStatus `json:"status,omitempty"`
}

Learn is the Schema for the learns API +kubebuilder:subresource:status +kubebuilder:resource:path=learns,scope=Namespaced

func (*Learn) DeepCopy

func (in *Learn) DeepCopy() *Learn

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

func (*Learn) DeepCopyInto

func (in *Learn) DeepCopyInto(out *Learn)

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

func (*Learn) DeepCopyObject

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

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

type LearnList

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

LearnList contains a list of Learn

func (*LearnList) DeepCopy

func (in *LearnList) DeepCopy() *LearnList

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

func (*LearnList) DeepCopyInto

func (in *LearnList) DeepCopyInto(out *LearnList)

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

func (*LearnList) DeepCopyObject

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

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

type LearnSpec

type LearnSpec struct {
	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
	// Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file
	// Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html
	Size int32 `json:"size"`
}

LearnSpec defines the desired state of Learn

func (*LearnSpec) DeepCopy

func (in *LearnSpec) DeepCopy() *LearnSpec

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

func (*LearnSpec) DeepCopyInto

func (in *LearnSpec) DeepCopyInto(out *LearnSpec)

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

type LearnStatus

type LearnStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file
	// Add custom validation using kubebuilder tags: https://book-v1.book.kubebuilder.io/beyond_basics/generating_crd.html
	PodNames  []string     `json:"podNames"`
	PodStatus v1.PodStatus `json:"podStatus"`
}

LearnStatus defines the observed state of Learn

func (*LearnStatus) DeepCopy

func (in *LearnStatus) DeepCopy() *LearnStatus

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

func (*LearnStatus) DeepCopyInto

func (in *LearnStatus) DeepCopyInto(out *LearnStatus)

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