Documentation ¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API. +groupName=superhero.comic.kooper
Index ¶
Constants ¶
const ( SpidermanKind = "Spiderman" SpidermanName = "spiderman" SpidermanNamePlural = "spidermans" SpidermanNameMin = "spd" SpidermanScope = apiextensionsv1beta1.NamespaceScoped )
Spiderman constants
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: superhero.GroupName, Version: version}
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 Spiderman ¶
type Spiderman struct { metav1.TypeMeta `json:",inline"` // Standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // Spec is the Spiderman spec. Spec SpidermanSpec `json:"spec,omitempty"` }
Spiderman is a superhero
func (*Spiderman) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Spiderman.
func (*Spiderman) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Spiderman) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SpidermanList ¶
type SpidermanList struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ListMeta `json:"metadata,omitempty"` Items []Spiderman `json:"items"` }
SpidermanList is a collection of spidermans.
func (*SpidermanList) DeepCopy ¶
func (in *SpidermanList) DeepCopy() *SpidermanList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpidermanList.
func (*SpidermanList) DeepCopyInto ¶
func (in *SpidermanList) DeepCopyInto(out *SpidermanList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SpidermanList) DeepCopyObject ¶
func (in *SpidermanList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SpidermanSpec ¶
SpidermanSpec contains the specification for Spiderman.
func (*SpidermanSpec) DeepCopy ¶
func (in *SpidermanSpec) DeepCopy() *SpidermanSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SpidermanSpec.
func (*SpidermanSpec) DeepCopyInto ¶
func (in *SpidermanSpec) DeepCopyInto(out *SpidermanSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.