Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the kojedz.in v1alpha1 API group +kubebuilder:object:generate=true +groupName=kojedz.in
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "kojedz.in", 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 Database ¶
type Database struct { Host string `json:"host"` Port int32 `json:"port"` Name string `json:"name"` User string `json:"user"` Password string `json:"password"` }
Database specifies database connection parameters
func (*Database) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Database.
func (*Database) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Deployment ¶
type Deployment struct { Image string `json:"image,omitempty"` Replicas *int32 `json:"replicas,omitempty"` }
Deployment base parameters
func (*Deployment) DeepCopy ¶
func (in *Deployment) DeepCopy() *Deployment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Deployment.
func (*Deployment) DeepCopyInto ¶
func (in *Deployment) DeepCopyInto(out *Deployment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExternalMQTT ¶
type ExternalMQTT struct { // Hostname of MQTT broker Hostname string `json:"hostname"` // Port of MQTT broker, defaults to 1883 Port int `json:"port,omitempty"` }
ExternalMQTT represents an external MQTT instance to be used
func (*ExternalMQTT) DeepCopy ¶
func (in *ExternalMQTT) DeepCopy() *ExternalMQTT
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalMQTT.
func (*ExternalMQTT) DeepCopyInto ¶
func (in *ExternalMQTT) DeepCopyInto(out *ExternalMQTT)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExternalMemcached ¶
type ExternalMemcached struct { // Hostname of memcached Hostname string `json:"hostname"` // Port of memcached, defaults to 11211 Port int `json:"port,omitempty"` }
ExternalMemcached represents an external memcached instance to be used
func (*ExternalMemcached) DeepCopy ¶
func (in *ExternalMemcached) DeepCopy() *ExternalMemcached
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExternalMemcached.
func (*ExternalMemcached) DeepCopyInto ¶
func (in *ExternalMemcached) DeepCopyInto(out *ExternalMemcached)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Graphite ¶
type Graphite struct { // Hostname specifies the hostname for Graphite/Carbon line receiver Hostname string `json:"host"` // Port Specifies the port for Graphite/Carbon line receiver Port uint16 `json:"port,omitempty"` // MetricPathTemplate is used to construct Graphite metric paths. // During interpolation, `SensorID` and `Metric` fields are available. MetricPathTemplate string `json:"metricPathTemplate,omitempty"` }
Graphite parameters
func (*Graphite) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Graphite.
func (*Graphite) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Ingress ¶
type Ingress struct { // HostNames is a list of DNS domain names which will point // to a ThermoCenter installation // +listType=atomic HostNames []string `json:"hostNames"` // TLS specifies whether to generate tls section in Kubernetes Ingress resource TLS bool `json:"tls,omitempty"` // Extra annotations to add to Kubernetes Ingress resource Annotations map[string]string `json:"annotations,omitempty"` }
Ingress parameters
func (*Ingress) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ingress.
func (*Ingress) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ThermoCenter ¶
type ThermoCenter struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ThermoCenterSpec `json:"spec,omitempty"` Status ThermoCenterStatus `json:"status,omitempty"` }
ThermoCenter is the Schema for the thermocenters API
func (*ThermoCenter) DeepCopy ¶
func (in *ThermoCenter) DeepCopy() *ThermoCenter
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThermoCenter.
func (*ThermoCenter) DeepCopyInto ¶
func (in *ThermoCenter) DeepCopyInto(out *ThermoCenter)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ThermoCenter) DeepCopyObject ¶
func (in *ThermoCenter) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ThermoCenterList ¶
type ThermoCenterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ThermoCenter `json:"items"` }
ThermoCenterList contains a list of ThermoCenter
func (*ThermoCenterList) DeepCopy ¶
func (in *ThermoCenterList) DeepCopy() *ThermoCenterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThermoCenterList.
func (*ThermoCenterList) DeepCopyInto ¶
func (in *ThermoCenterList) DeepCopyInto(out *ThermoCenterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ThermoCenterList) DeepCopyObject ¶
func (in *ThermoCenterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ThermoCenterSpec ¶
type ThermoCenterSpec struct { // Ingress represents Ingress parameters Ingress Ingress `json:"ingress"` // ExternalMemcached points to an external memcached instance ExternalMemcached *ExternalMemcached `json:"externalMemcached,omitempty"` // ExternalMQTT points to an external mqtt instance ExternalMQTT *ExternalMQTT `json:"externalMQTT,omitempty"` // Version defines the desired version. If empty, uses 'latest' tag for all images Version *string `json:"version,omitempty"` // Desired replicas of all components, defaults to 1 Replicas int32 `json:"replicas"` // Postgresql access configuration Database *Database `json:"database,omitempty"` // Deployment specifications, on production deployments these are typically not specified UI *Deployment `json:"ui,omitempty"` API *Deployment `json:"api,omitempty"` WS *Deployment `json:"ws,omitempty"` GRPC *Deployment `json:"grpc,omitempty"` Receiver *Deployment `json:"receiver,omitempty"` // Graphite parameter specification Graphite Graphite `json:"graphite,omitempty"` }
ThermoCenterSpec defines the desired state of ThermoCenter
func (*ThermoCenterSpec) DeepCopy ¶
func (in *ThermoCenterSpec) DeepCopy() *ThermoCenterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThermoCenterSpec.
func (*ThermoCenterSpec) DeepCopyInto ¶
func (in *ThermoCenterSpec) DeepCopyInto(out *ThermoCenterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ThermoCenterStatus ¶
type ThermoCenterStatus struct { DatabaseVersion string `json:"databaseVersion"` Status string `json:"status"` }
ThermoCenterStatus defines the observed state of ThermoCenter
func (*ThermoCenterStatus) DeepCopy ¶
func (in *ThermoCenterStatus) DeepCopy() *ThermoCenterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ThermoCenterStatus.
func (*ThermoCenterStatus) DeepCopyInto ¶
func (in *ThermoCenterStatus) DeepCopyInto(out *ThermoCenterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.