v1alpha1

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2019 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Overview

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

Package v1alpha1 contains API Schema definitions for the app v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=app.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: "app.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 PodSet

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

	Spec   PodSetSpec   `json:"spec,omitempty"`
	Status PodSetStatus `json:"status,omitempty"`
}

PodSet is the Schema for the podsets API +k8s:openapi-gen=true

func (*PodSet) DeepCopy

func (in *PodSet) DeepCopy() *PodSet

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

func (*PodSet) DeepCopyInto

func (in *PodSet) DeepCopyInto(out *PodSet)

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

func (*PodSet) DeepCopyObject

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

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

type PodSetList

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

PodSetList contains a list of PodSet

func (*PodSetList) DeepCopy

func (in *PodSetList) DeepCopy() *PodSetList

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

func (*PodSetList) DeepCopyInto

func (in *PodSetList) DeepCopyInto(out *PodSetList)

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

func (*PodSetList) DeepCopyObject

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

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

type PodSetSpec

type PodSetSpec struct {
	Replicas int32 `json:"replicas"`
}

PodSetSpec defines the desired state of PodSet

func (*PodSetSpec) DeepCopy

func (in *PodSetSpec) DeepCopy() *PodSetSpec

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

func (*PodSetSpec) DeepCopyInto

func (in *PodSetSpec) DeepCopyInto(out *PodSetSpec)

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

type PodSetStatus

type PodSetStatus struct {
	PodNames []string `json:"podNames"`
}

PodSetStatus defines the observed state of PodSet

func (*PodSetStatus) DeepCopy

func (in *PodSetStatus) DeepCopy() *PodSetStatus

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

func (*PodSetStatus) DeepCopyInto

func (in *PodSetStatus) DeepCopyInto(out *PodSetStatus)

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