v1alpha1

package
v0.0.0-...-ced5576 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

+k8s:deepcopy-gen=package +groupName=podspec.mattmoor.io

Index

Constants

This section is empty.

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: podspec.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 PodSpecable

type PodSpecable corev1.PodTemplateSpec

PodSpecable is implemented by types containing a PodTemplateSpec in the manner of ReplicaSet, Deployment, DaemonSet, StatefulSet.

func (*PodSpecable) DeepCopy

func (in *PodSpecable) DeepCopy() *PodSpecable

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

func (*PodSpecable) DeepCopyInto

func (in *PodSpecable) DeepCopyInto(out *PodSpecable)

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

func (*PodSpecable) GetFullType

func (_ *PodSpecable) GetFullType() duck.Populatable

GetFullType implements duck.Implementable

type WithPod

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

	Spec WithPodSpec `json:"spec,omitempty"`
}

func (*WithPod) DeepCopy

func (in *WithPod) DeepCopy() *WithPod

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

func (*WithPod) DeepCopyInto

func (in *WithPod) DeepCopyInto(out *WithPod)

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

func (*WithPod) DeepCopyObject

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

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

func (*WithPod) GetGroupVersionKind

func (t *WithPod) GetGroupVersionKind() schema.GroupVersionKind

func (*WithPod) GetListType

func (r *WithPod) GetListType() runtime.Object

GetListType implements apis.Listable

func (*WithPod) Populate

func (t *WithPod) Populate()

Populate implements duck.Populatable

type WithPodList

type WithPodList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

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

WithPodList is a list of WithPod resources

func (*WithPodList) DeepCopy

func (in *WithPodList) DeepCopy() *WithPodList

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

func (*WithPodList) DeepCopyInto

func (in *WithPodList) DeepCopyInto(out *WithPodList)

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

func (*WithPodList) DeepCopyObject

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

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

type WithPodSpec

type WithPodSpec struct {
	Template PodSpecable `json:"template,omitempty"`
}

func (*WithPodSpec) DeepCopy

func (in *WithPodSpec) DeepCopy() *WithPodSpec

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

func (*WithPodSpec) DeepCopyInto

func (in *WithPodSpec) DeepCopyInto(out *WithPodSpec)

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