v1alpha1

package
v0.0.0-...-ad98188 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 30, 2021 License: EPL-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the galasa v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=galasa.dev

Package v1alpha1 contains API Schema definitions for the galasa v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=galasa.dev

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: "galasa.dev", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
)

Functions

This section is empty.

Types

type ApiServer

type ApiServer struct {
	Resources corev1.ResourceRequirements `json:"resources,omitempty"`
	// +kubebuilder:default=1
	Replicas *int32 `json:"replicas,omitempty"`
	// +kubebuilder:default="docker.galasa.dev/galasa-boot-embedded-amd64"
	ApiServerImageName    string            `json:"apiServerImageName,omitempty"`
	ApiServerImageVersion string            `json:"apiServerImageVersion,omitempty"`
	NodeSelector          map[string]string `json:"nodeSelector,omitempty"`
	// +kubebuilder:default="200Mi"
	Storage string `json:"storage"`
}

func (*ApiServer) DeepCopy

func (in *ApiServer) DeepCopy() *ApiServer

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApiServer.

func (*ApiServer) DeepCopyInto

func (in *ApiServer) DeepCopyInto(out *ApiServer)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type EngineController

type EngineController struct {
	Resources corev1.ResourceRequirements `json:"resources,omitempty"`
	// +kubebuilder:default=1
	Replicas *int32 `json:"replicas,omitempty"`
	// +kubebuilder:default="docker.galasa.dev/galasa-boot-embedded-amd64"
	ControllerImageName    string            `json:"controllerImageName,omitempty"`
	ControllerImageVersion string            `json:"controllerImageVersion,omitempty"`
	NodeSelector           map[string]string `json:"nodeSelector,omitempty"`
}

func (*EngineController) DeepCopy

func (in *EngineController) DeepCopy() *EngineController

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EngineController.

func (*EngineController) DeepCopyInto

func (in *EngineController) DeepCopyInto(out *EngineController)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GalasaEcosystem

type GalasaEcosystem struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   GalasaEcosystemSpec   `json:"spec,omitempty"`
	Status GalasaEcosystemStatus `json:"status,omitempty"`
}

kubebuilder:object:root=true kubebuilder:subresource:status +kubebuilder:printcolumn:JSONPath=".status.EcosystemReady",name=READY,type=boolean +kubebuilder:printcolumn:JSONPath=".status.BootstrapURL",name=BOOTSTRAPURL,type=string +kubebuilder:printcolumn:JSONPath=".status.GrafanaURL",name=GRAFANAURL,type=string +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*GalasaEcosystem) DeepCopy

func (in *GalasaEcosystem) DeepCopy() *GalasaEcosystem

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GalasaEcosystem.

func (*GalasaEcosystem) DeepCopyInto

func (in *GalasaEcosystem) DeepCopyInto(out *GalasaEcosystem)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GalasaEcosystem) DeepCopyObject

func (in *GalasaEcosystem) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type GalasaEcosystemList

type GalasaEcosystemList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []GalasaEcosystem `json:"items"`
}

GalasaEcosystemList contains a list of GalasaEcosystem

func (*GalasaEcosystemList) DeepCopy

func (in *GalasaEcosystemList) DeepCopy() *GalasaEcosystemList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GalasaEcosystemList.

func (*GalasaEcosystemList) DeepCopyInto

func (in *GalasaEcosystemList) DeepCopyInto(out *GalasaEcosystemList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GalasaEcosystemList) DeepCopyObject

func (in *GalasaEcosystemList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type GalasaEcosystemSpec

type GalasaEcosystemSpec struct {
	Config           map[string]string `json:"config,omitempty"`
	StorageClassName *string           `json:"storageClassName,omitempty"`
	GalasaVersion    string            `json:"galasaVersion"`
	// The valid options are "Always", "Never" or "IfNotPresent"
	// +kubebuilder:default="IfNotPresent"
	ImagePullPolicy  string               `json:"imagePullPolicy,omitempty"`
	MavenRepository  string               `json:"mavenRepository"`
	ExternalHostname string               `json:"externalhostname"`
	IngressClass     string               `json:"ingressClass,omitempty"`
	IngressHostname  string               `json:"ingressHostname,omitempty"`
	Propertystore    PropertyStoreCluster `json:"propertystore"`
	APIServer        ApiServer            `json:"apiserver"`
	RasSpec          RasSpec              `json:"rasSpec"`
	EngineController EngineController     `json:"engineController"`
	EngineResmon     ResourceMonitor      `json:"engineResmon"`
	Simbank          Simbank              `json:"simbank"`
	Monitoring       Monitoring           `json:"monitoring"`
	// +kubebuilder:default="busybox"
	BusyBoxImageName string `json:"busyboxImageName,omitempty"`
	// +kubebuilder:default="latest"
	BusyBoxImageVersion string `json:"busyboxImageVersion,omitempty"`
}

GalasaEcosystemSpec defines the desired state of GalasaEcosystem

func (*GalasaEcosystemSpec) DeepCopy

func (in *GalasaEcosystemSpec) DeepCopy() *GalasaEcosystemSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GalasaEcosystemSpec.

func (*GalasaEcosystemSpec) DeepCopyInto

func (in *GalasaEcosystemSpec) DeepCopyInto(out *GalasaEcosystemSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GalasaEcosystemStatus

type GalasaEcosystemStatus struct {
	CPSReadyReplicas              int32  `json:"CPSReadyReplicas"`
	APIReadyReplicas              int32  `json:"APIReadyReplicas"`
	RASReadyReplicas              int32  `json:"RASReadyReplicas"`
	BootstrapURL                  string `json:"BootstrapURL"`
	GrafanaURL                    string `json:"GrafanaURL"`
	EngineControllerReadyReplicas int32  `json:"EngineControllerReadyReplicas"`
	ResmonReadyReplicas           int32  `json:"ResmonReadyReplicas"`
	MonitoringReadyReplicas       int32  `json:"MonitoringReadyReplicas"`
	EcosystemReady                bool   `json:"EcosystemReady"`
}

GalasaEcosystemStatus defines the observed state of GalasaEcosystem

func (*GalasaEcosystemStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GalasaEcosystemStatus.

func (*GalasaEcosystemStatus) DeepCopyInto

func (in *GalasaEcosystemStatus) DeepCopyInto(out *GalasaEcosystemStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Monitoring

type Monitoring struct {
	// +kubebuilder:default=1
	MetricsReplicas *int32 `json:"metricsReplicas,omitempty"`
	// +kubebuilder:default="docker.galasa.dev/galasa-boot-embedded-amd64"
	MetricsImageName    string `json:"metricsImageName,omitempty"`
	MetricsImageVersion string `json:"metricsImageVersion,omitempty"`

	// +kubebuilder:default=1
	PrometheusReplicas *int32 `json:"prometheusReplicas,omitempty"`
	// +kubebuilder:default="prom/prometheus"
	PrometheusImageName string `json:"prometheusImageName,omitempty"`
	// +kubebuilder:default="v2.10.0"
	PrometheusImageVersion string `json:"prometheusImageVersion,omitempty"`
	// +kubebuilder:default="200Mi"
	PrometheusStorage string `json:"prometheusStorage"`

	// +kubebuilder:default=1
	GrafanaReplicas *int32 `json:"grafanaReplicas,omitempty"`
	// +kubebuilder:default="grafana/grafana"
	GrafanaImageName string `json:"grafanaImageName,omitempty"`
	// +kubebuilder:default="latest"
	GrafanaImageVersion string `json:"grafanaImageVersion,omitempty"`
	// +kubebuilder:default="200Mi"
	GrafanaStorage string `json:"grafanaStorage"`

	NodeSelector map[string]string `json:"nodeSelector,omitempty"`
}

func (*Monitoring) DeepCopy

func (in *Monitoring) DeepCopy() *Monitoring

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Monitoring.

func (*Monitoring) DeepCopyInto

func (in *Monitoring) DeepCopyInto(out *Monitoring)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PropertyStoreCluster

type PropertyStoreCluster struct {
	Resources corev1.ResourceRequirements `json:"resources,omitempty"`
	// +kubebuilder:default=1
	PropertyClusterSize int32 `json:"clusterSize,omitempty"`
	// +kubebuilder:default="quay.io/coreos/etcd"
	PropertyStoreImageName string `json:"propertyStoreImageName,omitempty"`
	// +kubebuilder:default="v3.4.3"
	PropertyStoreImageVersion string            `json:"propertyStoreImageVersion,omitempty"`
	InitProps                 map[string]string `json:"InitProps,omitempty"`
	NodeSelector              map[string]string `json:"nodeSelector,omitempty"`
	// +kubebuilder:default="1Gi"
	Storage string `json:"storage"`
}

PropertyStoreCluster spec for the CPS cluster

func (*PropertyStoreCluster) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PropertyStoreCluster.

func (*PropertyStoreCluster) DeepCopyInto

func (in *PropertyStoreCluster) DeepCopyInto(out *PropertyStoreCluster)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type RasSpec

type RasSpec struct {
	Resources corev1.ResourceRequirements `json:"resources,omitempty"`
	// +kubebuilder:default=1
	Replicas *int32 `json:"replicas,omitempty"`
	// +kubebuilder:default="couchdb"
	RasImageName string `json:"rasImageName,omitempty"`
	// +kubebuilder:default="2.3.1"
	RasImageVersion string            `json:"rasImageImageVersion,omitempty"`
	NodeSelector    map[string]string `json:"nodeSelector,omitempty"`
	// +kubebuilder:default="1Gi"
	Storage string `json:"storage"`
}

Config for the RasSpec

func (*RasSpec) DeepCopy

func (in *RasSpec) DeepCopy() *RasSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RasSpec.

func (*RasSpec) DeepCopyInto

func (in *RasSpec) DeepCopyInto(out *RasSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ResourceMonitor

type ResourceMonitor struct {
	Resources corev1.ResourceRequirements `json:"resources,omitempty"`
	// +kubebuilder:default=1
	Replicas *int32 `json:"replicas,omitempty"`
	// +kubebuilder:default="docker.galasa.dev/galasa-boot-embedded-amd64"
	ResourceMonitorImageName    string            `json:"resourceMonitorImageName,omitempty"`
	ResourceMonitorImageVersion string            `json:"resourceMonitorImageVersion,omitempty"`
	NodeSelector                map[string]string `json:"nodeSelector,omitempty"`
}

func (*ResourceMonitor) DeepCopy

func (in *ResourceMonitor) DeepCopy() *ResourceMonitor

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceMonitor.

func (*ResourceMonitor) DeepCopyInto

func (in *ResourceMonitor) DeepCopyInto(out *ResourceMonitor)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Simbank

type Simbank struct {
	Resources corev1.ResourceRequirements `json:"resources,omitempty"`
	// +kubebuilder:default=1
	Replicas *int32 `json:"replicas,omitempty"`
	// +kubebuilder:default="docker.galasa.dev/galasa-boot-embedded-amd64"
	SimbankImageName    string            `json:"simbankImageName,omitempty"`
	SimbankImageVersion string            `json:"simbankImageVersion,omitempty"`
	NodeSelector        map[string]string `json:"nodeSelector,omitempty"`
}

func (*Simbank) DeepCopy

func (in *Simbank) DeepCopy() *Simbank

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Simbank.

func (*Simbank) DeepCopyInto

func (in *Simbank) DeepCopyInto(out *Simbank)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL