Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeBuilder initializes a scheme builder SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme is a global function that registers this API group & version to a scheme AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: crdstart.GroupName, Version: crdstart.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 Dcreater ¶
type Dcreater struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DcreaterSpec `json:"spec"` }
+genclient +genclient:noStatus +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*Dcreater) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Dcreater.
func (*Dcreater) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Dcreater) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DcreaterList ¶
type DcreaterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Dcreater `json:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*DcreaterList) DeepCopy ¶
func (in *DcreaterList) DeepCopy() *DcreaterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DcreaterList.
func (*DcreaterList) DeepCopyInto ¶
func (in *DcreaterList) DeepCopyInto(out *DcreaterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DcreaterList) DeepCopyObject ¶
func (in *DcreaterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DcreaterSpec ¶
type DcreaterSpec struct { DeploymentName string `json:"deploymentName" yaml:"deploymentName"` Replicas *int32 `json:"replicas" yaml:"replicas"` }
func (*DcreaterSpec) DeepCopy ¶
func (in *DcreaterSpec) DeepCopy() *DcreaterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DcreaterSpec.
func (*DcreaterSpec) DeepCopyInto ¶
func (in *DcreaterSpec) DeepCopyInto(out *DcreaterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.