Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the nullapp v1alpha1 API group +kubebuilder:object:generate=true +groupName=nullapp.io.nullcloud
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "nullapp.io.nullcloud", Version: "v1alpha1"} // 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 MicroserviceSpec ¶
type MicroserviceSpec struct { Name string `json:"name,omitempty"` Image string `json:"image,omitempty"` Cpu string `json:"cpu,omitempty"` Memory string `json:"memory,omitempty"` Storage string `json:"storage,omitempty"` Routes []RouteSpec `json:"routes,omitempty"` }
func (*MicroserviceSpec) DeepCopy ¶
func (in *MicroserviceSpec) DeepCopy() *MicroserviceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MicroserviceSpec.
func (*MicroserviceSpec) DeepCopyInto ¶
func (in *MicroserviceSpec) DeepCopyInto(out *MicroserviceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NullApplication ¶
type NullApplication struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec NullApplicationSpec `json:"spec,omitempty"` Status NullApplicationStatus `json:"status,omitempty"` }
NullApplication is the Schema for the nullapplications API
func (*NullApplication) DeepCopy ¶
func (in *NullApplication) DeepCopy() *NullApplication
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NullApplication.
func (*NullApplication) DeepCopyInto ¶
func (in *NullApplication) DeepCopyInto(out *NullApplication)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NullApplication) DeepCopyObject ¶
func (in *NullApplication) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NullApplicationList ¶
type NullApplicationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []NullApplication `json:"items"` }
NullApplicationList contains a list of NullApplication
func (*NullApplicationList) DeepCopy ¶
func (in *NullApplicationList) DeepCopy() *NullApplicationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NullApplicationList.
func (*NullApplicationList) DeepCopyInto ¶
func (in *NullApplicationList) DeepCopyInto(out *NullApplicationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NullApplicationList) DeepCopyObject ¶
func (in *NullApplicationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NullApplicationSpec ¶
type NullApplicationSpec struct { // AppName is the name of the application AppName string `json:"appName,omitempty"` AppVersion string `json:"appVersion,omitempty"` // Commit hash? Apps []MicroserviceSpec `json:"apps,omitempty"` }
NullApplicationSpec defines the desired state of NullApplication
func (*NullApplicationSpec) DeepCopy ¶
func (in *NullApplicationSpec) DeepCopy() *NullApplicationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NullApplicationSpec.
func (*NullApplicationSpec) DeepCopyInto ¶
func (in *NullApplicationSpec) DeepCopyInto(out *NullApplicationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NullApplicationStatus ¶
type NullApplicationStatus struct { }
NullApplicationStatus defines the observed state of NullApplication
func (*NullApplicationStatus) DeepCopy ¶
func (in *NullApplicationStatus) DeepCopy() *NullApplicationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NullApplicationStatus.
func (*NullApplicationStatus) DeepCopyInto ¶
func (in *NullApplicationStatus) DeepCopyInto(out *NullApplicationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RouteSpec ¶
type RouteSpec struct { Path string `json:"path,omitempty"` Type string `json:"type,omitempty"` Public bool `json:"public,omitempty"` }
func (*RouteSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteSpec.
func (*RouteSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.