Documentation
¶
Overview ¶
Package v1 contains API Schema definitions for the webservice v1 API group +kubebuilder:object:generate=true +groupName=webservice.my.domain
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "webservice.my.domain", 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 WebApp ¶
type WebApp struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec WebAppSpec `json:"spec,omitempty"`
Status WebAppStatus `json:"status,omitempty"`
}
WebApp is the Schema for the webapps API
func (*WebApp) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebApp.
func (*WebApp) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WebApp) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WebAppList ¶
type WebAppList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []WebApp `json:"items"`
}
WebAppList contains a list of WebApp
func (*WebAppList) DeepCopy ¶
func (in *WebAppList) DeepCopy() *WebAppList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebAppList.
func (*WebAppList) DeepCopyInto ¶
func (in *WebAppList) DeepCopyInto(out *WebAppList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WebAppList) DeepCopyObject ¶
func (in *WebAppList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WebAppSpec ¶
type WebAppSpec struct {
//+required
//+kubebuilder:validation:Minimum=0
Replicas *int32 `json:"replicas,omitempty"`
//+required
Host string `json:"host,omitempty"`
//+required
Image string `json:"image,omitempty"`
//+required
Issuer string `json:"issuer,omitempty"`
//+optional
//+kubebuilder:default=80
//+kubebuilder:validation:Minimum=0
ContainerPort int32 `json:"containerPort"`
//+optional
Resources corev1.ResourceRequirements `json:"resources"`
}
WebAppSpec defines the desired state of WebApp
func (*WebAppSpec) DeepCopy ¶
func (in *WebAppSpec) DeepCopy() *WebAppSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebAppSpec.
func (*WebAppSpec) DeepCopyInto ¶
func (in *WebAppSpec) DeepCopyInto(out *WebAppSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WebAppStatus ¶
type WebAppStatus struct {
Host string `json:"host"`
Replicas int32 `json:"replicas"`
CertificateStatus string `json:"certificateStatus"`
}
WebAppStatus defines the observed state of WebApp
func (*WebAppStatus) DeepCopy ¶
func (in *WebAppStatus) DeepCopy() *WebAppStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebAppStatus.
func (*WebAppStatus) DeepCopyInto ¶
func (in *WebAppStatus) DeepCopyInto(out *WebAppStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.