Documentation
¶
Overview ¶
api/v1/myapp_types.go
api/v1/groupversion_info.go
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme is used to add the SchemeBuilder to the scheme AddToScheme = SchemeBuilder.AddToScheme )
var GroupVersion = schema.GroupVersion{Group: "example.com", Version: "v1"}
GroupVersion is group version used to register these objects
Functions ¶
This section is empty.
Types ¶
type MyApp ¶
type MyApp struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec MyAppSpec `json:"spec,omitempty"`
Status MyAppStatus `json:"status,omitempty"`
}
MyApp is the Schema for the myapps API
func (*MyApp) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MyApp.
func (*MyApp) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MyApp) DeepCopyObject ¶
DeepCopyObject implements the runtime.Object interface.
type MyAppList ¶
type MyAppList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []MyApp `json:"items"`
}
MyAppList contains a list of MyApp
func (*MyAppList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MyAppList.
func (*MyAppList) DeepCopyInto ¶
func (*MyAppList) DeepCopyObject ¶
DeepCopyObject implements the runtime.Object interface.
type MyAppSpec ¶
MyAppSpec defines the desired state of MyApp
func (*MyAppSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MyAppSpec.
func (*MyAppSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MyAppStatus ¶
type MyAppStatus struct {
AvailableReplicas int32 `json:"availableReplicas"`
}
MyAppStatus defines the observed state of MyApp
func (*MyAppStatus) DeepCopy ¶
func (in *MyAppStatus) DeepCopy() *MyAppStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MyAppStatus.
func (*MyAppStatus) DeepCopyInto ¶
func (in *MyAppStatus) DeepCopyInto(out *MyAppStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.