Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the redhat.com v1alpha1 API group +kubebuilder:object:generate=true +groupName=redhat.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "redhat.com", 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 FruitsCatalogG ¶
type FruitsCatalogG struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec FruitsCatalogGSpec `json:"spec,omitempty"` Status FruitsCatalogGStatus `json:"status,omitempty"` }
FruitsCatalogG is the Schema for the fruitscataloggs API
func (*FruitsCatalogG) DeepCopy ¶
func (in *FruitsCatalogG) DeepCopy() *FruitsCatalogG
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FruitsCatalogG.
func (*FruitsCatalogG) DeepCopyInto ¶
func (in *FruitsCatalogG) DeepCopyInto(out *FruitsCatalogG)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FruitsCatalogG) DeepCopyObject ¶
func (in *FruitsCatalogG) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FruitsCatalogGList ¶
type FruitsCatalogGList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []FruitsCatalogG `json:"items"` }
FruitsCatalogGList contains a list of FruitsCatalogG
func (*FruitsCatalogGList) DeepCopy ¶
func (in *FruitsCatalogGList) DeepCopy() *FruitsCatalogGList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FruitsCatalogGList.
func (*FruitsCatalogGList) DeepCopyInto ¶
func (in *FruitsCatalogGList) DeepCopyInto(out *FruitsCatalogGList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FruitsCatalogGList) DeepCopyObject ¶
func (in *FruitsCatalogGList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FruitsCatalogGSpec ¶
type FruitsCatalogGSpec struct { // +kubebuilder:default:=fruits-catalog AppName string `json:"appName,omitempty"` // +kubebuilder:validation:Optional WebApp WebAppSpec `json:"webapp,omitempty"` MongoDB MongoDBSpec `json:"mongodb,omitempty"` }
FruitsCatalogGSpec defines the desired state of FruitsCatalogG
func (*FruitsCatalogGSpec) DeepCopy ¶
func (in *FruitsCatalogGSpec) DeepCopy() *FruitsCatalogGSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FruitsCatalogGSpec.
func (*FruitsCatalogGSpec) DeepCopyInto ¶
func (in *FruitsCatalogGSpec) DeepCopyInto(out *FruitsCatalogGSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FruitsCatalogGStatus ¶
type FruitsCatalogGStatus struct { WebApp string `json:"webapp"` MongoDB string `json:"mongodb"` Secret string `json:"secret"` Route string `json:"route"` }
FruitsCatalogGStatus defines the observed state of FruitsCatalogG
func (*FruitsCatalogGStatus) DeepCopy ¶
func (in *FruitsCatalogGStatus) DeepCopy() *FruitsCatalogGStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FruitsCatalogGStatus.
func (*FruitsCatalogGStatus) DeepCopyInto ¶
func (in *FruitsCatalogGStatus) DeepCopyInto(out *FruitsCatalogGStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IngressSpec ¶
type IngressSpec struct { // +kubebuilder:default:=true Enabled bool `json:"enabled,omitempty" default:"true"` }
IngressSpec defines the desired state of WebApp Ingress +k8s:openapi-gen=true
func (*IngressSpec) DeepCopy ¶
func (in *IngressSpec) DeepCopy() *IngressSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressSpec.
func (*IngressSpec) DeepCopyInto ¶
func (in *IngressSpec) DeepCopyInto(out *IngressSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MongoDBSpec ¶
type MongoDBSpec struct { // +kubebuilder:default:=true Install bool `json:"install,omitempty"` // +kubebuilder:default:="centos/mongodb-34-centos7:latest" Image string `json:"image,omitempty"` URI string `json:"uri,omitempty"` Database string `json:"database,omitempty"` // +kubebuilder:default:=true Persistent bool `json:"persistent,omitempty"` // +kubebuilder:default:="2Gi" VolumeSize string `json:"volumeSize,omitempty"` // +kubebuilder:default:="myusername" Username string `json:"username,omitempty"` // +kubebuilder:default:="mypassword" Password string `json:"password,omitempty"` SecretRef SecretRefSpec `json:"secretRef,omitempty"` }
MongoDBSpec defines the desired state of MongoDB +k8s:openapi-gen=true
func (*MongoDBSpec) DeepCopy ¶
func (in *MongoDBSpec) DeepCopy() *MongoDBSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MongoDBSpec.
func (*MongoDBSpec) DeepCopyInto ¶
func (in *MongoDBSpec) DeepCopyInto(out *MongoDBSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretRefSpec ¶
type SecretRefSpec struct { Secret string `json:"secret"` UsernameKey string `json:"usernameKey"` PasswordKey string `json:"passwordKey"` }
SecretRefSpec defines a reference to a Secret +k8s:openapi-gen=true
func (*SecretRefSpec) DeepCopy ¶
func (in *SecretRefSpec) DeepCopy() *SecretRefSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretRefSpec.
func (*SecretRefSpec) DeepCopyInto ¶
func (in *SecretRefSpec) DeepCopyInto(out *SecretRefSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WebAppSpec ¶
type WebAppSpec struct { ReplicaCount int32 `json:"replicaCount,omitempty"` // +kubebuilder:default:="quay.io/lbroudoux/fruits-catalog:latest" Image string `json:"image,omitempty"` Ingress IngressSpec `json:"ingress,omitempty"` }
WebAppSpec defines the desired state of WebApp +k8s:openapi-gen=true
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.