Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the app v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=app.example.com
Package v1alpha1 contains API Schema definitions for the app v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=app.example.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "app.example.com", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
Functions ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
func RegisterDefaults ¶
RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.
Types ¶
type PodSet ¶
type PodSet struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PodSetSpec `json:"spec,omitempty"` Status PodSetStatus `json:"status,omitempty"` }
PodSet is the Schema for the podsets API +k8s:openapi-gen=true
func (*PodSet) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSet.
func (*PodSet) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PodSet) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PodSetList ¶
type PodSetList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []PodSet `json:"items"` }
PodSetList contains a list of PodSet
func (*PodSetList) DeepCopy ¶
func (in *PodSetList) DeepCopy() *PodSetList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSetList.
func (*PodSetList) DeepCopyInto ¶
func (in *PodSetList) DeepCopyInto(out *PodSetList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PodSetList) DeepCopyObject ¶
func (in *PodSetList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PodSetSpec ¶
type PodSetSpec struct {
Replicas int32 `json:"replicas"`
}
PodSetSpec defines the desired state of PodSet
func (*PodSetSpec) DeepCopy ¶
func (in *PodSetSpec) DeepCopy() *PodSetSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSetSpec.
func (*PodSetSpec) DeepCopyInto ¶
func (in *PodSetSpec) DeepCopyInto(out *PodSetSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PodSetStatus ¶
type PodSetStatus struct {
PodNames []string `json:"podNames"`
}
PodSetStatus defines the observed state of PodSet
func (*PodSetStatus) DeepCopy ¶
func (in *PodSetStatus) DeepCopy() *PodSetStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodSetStatus.
func (*PodSetStatus) DeepCopyInto ¶
func (in *PodSetStatus) DeepCopyInto(out *PodSetStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.