Documentation ¶
Overview ¶
+k8s:deepcopy-gen=package +groupName=podspec.mattmoor.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: podspec.GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WithPod.
func (*WithPod) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WithPod) DeepCopyObject ¶
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 ¶
GetListType implements apis.Listable
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.