Documentation ¶
Overview ¶
+k8s:deepcopy-gen=package +groupName=sample.knative.dev
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: pub.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 Bar ¶
type Bar struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // Spec holds the desired state of the Bar (from the client). // +optional Spec BarSpec `json:"spec,omitempty"` // Status communicates the observed state of the Bar (from the controller). // +optional Status BarStatus `json:"status,omitempty"` }
Bar is for testing.
func (*Bar) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Bar.
func (*Bar) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Bar) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Bar) GetGroupVersionKind ¶
func (b *Bar) GetGroupVersionKind() schema.GroupVersionKind
GetGroupVersionKind implements kmeta.OwnerRefable
func (*Bar) SetDefaults ¶
SetDefaults implements apis.Defaultable
type BarList ¶
type BarList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Bar `json:"items"` }
BarList is a list of Bar resources
func (*BarList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BarList.
func (*BarList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BarList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BarSpec ¶
type BarSpec struct{}
BarSpec holds the desired state of the Bar (from the client).
func (*BarSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BarSpec.
func (*BarSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BarStatus ¶
BarStatus communicates the observed state of the Bar (from the controller).
func (*BarStatus) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BarStatus.
func (*BarStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BarStatus) InitializeConditions ¶
func (bs *BarStatus) InitializeConditions()