Documentation
¶
Overview ¶
Package v1 contains API Schema definitions for the blog v1 API group +kubebuilder:object:generate=true +groupName=blog.example.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "blog.example.com", Version: "v1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type Ghost ¶
type Ghost struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec GhostSpec `json:"spec,omitempty"`
Status GhostStatus `json:"status,omitempty"`
}
Ghost is the Schema for the ghosts API
func (*Ghost) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ghost.
func (*Ghost) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Ghost) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GhostList ¶
type GhostList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Ghost `json:"items"`
}
GhostList contains a list of Ghost
func (*GhostList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GhostList.
func (*GhostList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GhostList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GhostSpec ¶
type GhostSpec struct {
//+kubebuilder:validation:Pattern=`^[-a-z0-9]*$`
ImageTag string `json:"imageTag"`
}
GhostSpec defines the desired state of Ghost
func (*GhostSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GhostSpec.
func (*GhostSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GhostStatus ¶
GhostStatus defines the observed state of Ghost
func (*GhostStatus) DeepCopy ¶
func (in *GhostStatus) DeepCopy() *GhostStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GhostStatus.
func (*GhostStatus) DeepCopyInto ¶
func (in *GhostStatus) DeepCopyInto(out *GhostStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.