v1alpha1

package
v0.0.0-...-f96b104 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeBuilder initializes a scheme builder
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	// AddToScheme is a global function that registers this API group & version to a scheme
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: demo.GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type PodSet

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

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

PodSet is a specification for a PodSet resource

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"`

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

PodSetList is a list of PodSet resources

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 is the spec for a PodSet resource

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 {
	AvailableReplicas int32 `json:"availableReplicas"`
}

PodSetStatus is the status for a PodSet resource

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