Documentation ¶
Overview ¶
Package v1beta1 contains API Schema definitions for the redhat v1beta1 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: "v1beta1"} // 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 FruitsCatalogG1 ¶
type FruitsCatalogG1 struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec FruitsCatalogG1Spec `json:"spec,omitempty"` Status FruitsCatalogG1Status `json:"status,omitempty"` }
FruitsCatalogG1 is the Schema for the fruitscatalogg1s API
func (*FruitsCatalogG1) DeepCopy ¶
func (in *FruitsCatalogG1) DeepCopy() *FruitsCatalogG1
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FruitsCatalogG1.
func (*FruitsCatalogG1) DeepCopyInto ¶
func (in *FruitsCatalogG1) DeepCopyInto(out *FruitsCatalogG1)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FruitsCatalogG1) DeepCopyObject ¶
func (in *FruitsCatalogG1) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FruitsCatalogG1List ¶
type FruitsCatalogG1List struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []FruitsCatalogG1 `json:"items"` }
FruitsCatalogG1List contains a list of FruitsCatalogG1
func (*FruitsCatalogG1List) DeepCopy ¶
func (in *FruitsCatalogG1List) DeepCopy() *FruitsCatalogG1List
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FruitsCatalogG1List.
func (*FruitsCatalogG1List) DeepCopyInto ¶
func (in *FruitsCatalogG1List) DeepCopyInto(out *FruitsCatalogG1List)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FruitsCatalogG1List) DeepCopyObject ¶
func (in *FruitsCatalogG1List) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FruitsCatalogG1Spec ¶
type FruitsCatalogG1Spec struct { // +kubebuilder:default:=fruits-catalog AppName string `json:"appName,omitempty"` // +kubebuilder:validation:Optional WebApp WebAppSpec `json:"webapp,omitempty"` MongoDB MongoDBSpec `json:"mongodb,omitempty"` }
FruitsCatalogG1Spec defines the desired state of FruitsCatalogG1
func (*FruitsCatalogG1Spec) DeepCopy ¶
func (in *FruitsCatalogG1Spec) DeepCopy() *FruitsCatalogG1Spec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FruitsCatalogG1Spec.
func (*FruitsCatalogG1Spec) DeepCopyInto ¶
func (in *FruitsCatalogG1Spec) DeepCopyInto(out *FruitsCatalogG1Spec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FruitsCatalogG1Status ¶
type FruitsCatalogG1Status struct { WebApp string `json:"webapp"` MongoDB string `json:"mongodb"` Secret string `json:"secret"` Route string `json:"route"` }
FruitsCatalogG1Status defines the observed state of FruitsCatalogG1
func (*FruitsCatalogG1Status) DeepCopy ¶
func (in *FruitsCatalogG1Status) DeepCopy() *FruitsCatalogG1Status
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FruitsCatalogG1Status.
func (*FruitsCatalogG1Status) DeepCopyInto ¶
func (in *FruitsCatalogG1Status) DeepCopyInto(out *FruitsCatalogG1Status)
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.