Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the ahora v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=ahora.dev
Package v1alpha1 contains API Schema definitions for the ahora v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=ahora.dev
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "ahora.dev", 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
Types ¶
type SPA ¶
type SPA struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SPASpec `json:"spec,omitempty"` Status SPAStatus `json:"status,omitempty"` }
SPA is the Schema for the spas API +k8s:openapi-gen=true +kubebuilder:subresource:status +kubebuilder:resource:path=spas,scope=Namespaced
func (*SPA) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SPA.
func (*SPA) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SPA) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SPAList ¶
type SPAList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SPA `json:"items"` }
SPAList contains a list of SPA
func (*SPAList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SPAList.
func (*SPAList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SPAList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SPASpec ¶
type SPASpec struct { Replicas *int32 `json:"replicas"` SPAArchiveURL string `json:"SPAArchiveURL"` Hosts []string `json:"hosts,omitempty" protobuf:"bytes,1,rep,name=hosts"` TLS []v1beta1.IngressTLS `json:"tls"` Paths []v1beta1.HTTPIngressPath `json:"paths" protobuf:"bytes,1,rep,name=paths"` Resources corev1.ResourceRequirements `json:"resources,omitempty" protobuf:"bytes,8,opt,name=resources"` LivenessProbe *corev1.Probe `json:"livenessProbe,omitempty" protobuf:"bytes,10,opt,name=livenessProbe"` ReadinessProbe *corev1.Probe `json:"readinessProbe,omitempty" protobuf:"bytes,11,opt,name=readinessProbe"` }
SPASpec defines the desired state of SPA +k8s:openapi-gen=true
func (*SPASpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SPASpec.
func (*SPASpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SPAStatus ¶
type SPAStatus struct { }
SPAStatus defines the observed state of SPA +k8s:openapi-gen=true
func (*SPAStatus) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SPAStatus.
func (*SPAStatus) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.