v1alpha1

package
v1.12.1 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

+kubebuilder:validation:Optional +groupName=scylla.scylladb.com

Index

Constants

View Source
const (
	AvailableCondition   = "Available"
	ProgressingCondition = "Progressing"
	DegradedCondition    = "Degraded"
)

Variables

View Source
var (
	GroupName    = "scylla.scylladb.com"
	GroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}

	// Install is a function which adds this version to a scheme
	Install = schemeBuilder.AddToScheme

	// SchemeGroupVersion generated code relies on this name
	// Deprecated
	SchemeGroupVersion = GroupVersion
	// AddToScheme exists solely to keep the old generators creating valid code
	// DEPRECATED
	AddToScheme = schemeBuilder.AddToScheme
)

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource generated code relies on this being here, but it logically belongs to the group DEPRECATED

Types

type Components added in v1.9.0

type Components struct {
	// prometheus holds configuration for the prometheus instance, if any.
	// +optional
	Prometheus *PrometheusSpec `json:"prometheus,omitempty"`

	// grafana holds configuration for the grafana instance, if any.
	// +optional
	Grafana *GrafanaSpec `json:"grafana,omitempty"`
}

Components holds the options to configure individual applications.

func (*Components) DeepCopy added in v1.9.0

func (in *Components) DeepCopy() *Components

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

func (*Components) DeepCopyInto added in v1.9.0

func (in *Components) DeepCopyInto(out *Components)

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

type DeviceDiscovery added in v1.9.0

type DeviceDiscovery struct {
	// nameRegex is a regular expression filtering devices by their name.
	// +optional
	NameRegex string `json:"nameRegex"`

	// modelRegex is a regular expression filtering devices by their model name.
	// +optional
	ModelRegex string `json:"modelRegex"`
}

DeviceDiscovery specifies options for device discovery.

func (*DeviceDiscovery) DeepCopy added in v1.9.0

func (in *DeviceDiscovery) DeepCopy() *DeviceDiscovery

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

func (*DeviceDiscovery) DeepCopyInto added in v1.9.0

func (in *DeviceDiscovery) DeepCopyInto(out *DeviceDiscovery)

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

type FilesystemConfiguration added in v1.9.0

type FilesystemConfiguration struct {
	// device is a path to the device where the desired filesystem should be created.
	Device string `json:"device"`

	// type is a desired filesystem type.
	Type FilesystemType `json:"type"`
}

FilesystemConfiguration specifies filesystem configuration options.

func (*FilesystemConfiguration) DeepCopy added in v1.9.0

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

func (*FilesystemConfiguration) DeepCopyInto added in v1.9.0

func (in *FilesystemConfiguration) DeepCopyInto(out *FilesystemConfiguration)

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

type FilesystemType added in v1.9.0

type FilesystemType string

FilesystemType is a type of filesystem.

const (
	// XFSFilesystem represents an XFS filesystem type.
	XFSFilesystem FilesystemType = "xfs"
)

type GrafanaAuthentication added in v1.9.0

type GrafanaAuthentication struct {
	// insecureEnableAnonymousAccess allows access to Grafana without authentication.
	// +optional
	InsecureEnableAnonymousAccess bool `json:"insecureEnableAnonymousAccess,omitempty"`
}

GrafanaAuthentication holds the options to configure Grafana authentication.

func (*GrafanaAuthentication) DeepCopy added in v1.9.0

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

func (*GrafanaAuthentication) DeepCopyInto added in v1.9.0

func (in *GrafanaAuthentication) DeepCopyInto(out *GrafanaAuthentication)

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

type GrafanaExposeOptions added in v1.9.0

type GrafanaExposeOptions struct {
	// webInterface specifies expose options for the user web interface.
	// +optional
	WebInterface *HTTPSExposeOptions `json:"webInterface,omitempty"`
}

GrafanaExposeOptions holds options related to exposing Grafana app.

func (*GrafanaExposeOptions) DeepCopy added in v1.9.0

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

func (*GrafanaExposeOptions) DeepCopyInto added in v1.9.0

func (in *GrafanaExposeOptions) DeepCopyInto(out *GrafanaExposeOptions)

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

type GrafanaSpec added in v1.9.0

type GrafanaSpec struct {
	// placement describes restrictions for the nodes Grafana is scheduled on.
	// +optional
	Placement *PlacementSpec `json:"placement,omitempty"`

	// resources the Grafana container will use.
	Resources corev1.ResourceRequirements `json:"resources"`

	// exposeOptions specifies options for exposing Grafana UI.
	// +optional
	ExposeOptions *GrafanaExposeOptions `json:"exposeOptions,omitempty"`

	// servingCertSecretName is the name of the secret holding a serving cert-key pair.
	// If not specified, the operator will create a self-signed CA that creates
	// the default serving cert-key pair.
	// +optional
	ServingCertSecretName string `json:"servingCertSecretName,omitempty"`

	// authentication hold the authentication options for accessing Grafana.
	// +optional
	Authentication GrafanaAuthentication `json:"authentication,omitempty"`
}

GrafanaSpec holds the options to configure Grafana.

func (*GrafanaSpec) DeepCopy added in v1.9.0

func (in *GrafanaSpec) DeepCopy() *GrafanaSpec

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

func (*GrafanaSpec) DeepCopyInto added in v1.9.0

func (in *GrafanaSpec) DeepCopyInto(out *GrafanaSpec)

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

type HTTPSExposeOptions added in v1.9.0

type HTTPSExposeOptions struct {
	// ingress is an Ingress configuration options.
	// +optional
	Ingress *IngressOptions `json:"ingress,omitempty"`
}

HTTPSExposeOptions holds options related to exposing HTTPS backend.

func (*HTTPSExposeOptions) DeepCopy added in v1.9.0

func (in *HTTPSExposeOptions) DeepCopy() *HTTPSExposeOptions

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

func (*HTTPSExposeOptions) DeepCopyInto added in v1.9.0

func (in *HTTPSExposeOptions) DeepCopyInto(out *HTTPSExposeOptions)

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

type IngressOptions added in v1.9.0

type IngressOptions struct {
	// disabled controls if Ingress object creation is disabled.
	// +optional
	Disabled *bool `json:"disabled,omitempty"`

	// ingressClassName specifies Ingress class name.
	IngressClassName string `json:"ingressClassName,omitempty"`

	// annotations specifies custom annotations merged into every Ingress object.
	// +optional
	Annotations map[string]string `json:"annotations,omitempty"`

	// dnsDomains is a list of DNS domains this ingress is reachable by.
	// +optional
	DNSDomains []string `json:"dnsDomains,omitempty"`
}

IngressOptions defines configuration options for Ingress objects.

func (*IngressOptions) DeepCopy added in v1.9.0

func (in *IngressOptions) DeepCopy() *IngressOptions

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

func (*IngressOptions) DeepCopyInto added in v1.9.0

func (in *IngressOptions) DeepCopyInto(out *IngressOptions)

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

type LocalDiskSetup added in v1.9.0

type LocalDiskSetup struct {
	// loops is a list of loop device configurations.
	LoopDevices []LoopDeviceConfiguration `json:"loopDevices"`

	// raids is a list of raid configurations.
	RAIDs []RAIDConfiguration `json:"raids"`

	// filesystems is a list of filesystem configurations.
	Filesystems []FilesystemConfiguration `json:"filesystems"`

	// mounts is a list of mount configuration.
	Mounts []MountConfiguration `json:"mounts"`
}

LocalDiskSetup specifies configuration of local disk setup.

func (*LocalDiskSetup) DeepCopy added in v1.9.0

func (in *LocalDiskSetup) DeepCopy() *LocalDiskSetup

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

func (*LocalDiskSetup) DeepCopyInto added in v1.9.0

func (in *LocalDiskSetup) DeepCopyInto(out *LocalDiskSetup)

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

type LoopDeviceConfiguration added in v1.12.0

type LoopDeviceConfiguration struct {
	// name specifies the name of the symlink that will point to actual loop device, created under `/dev/loops/`.
	Name string `json:"name"`

	// imagePath specifies path on host where backing image file for loop device should be located.
	ImagePath string `json:"imagePath"`

	// size specifies the size of the loop device.
	Size resource.Quantity `json:"size"`
}

LoopDeviceConfiguration specifies loop device configuration options.

func (*LoopDeviceConfiguration) DeepCopy added in v1.12.0

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

func (*LoopDeviceConfiguration) DeepCopyInto added in v1.12.0

func (in *LoopDeviceConfiguration) DeepCopyInto(out *LoopDeviceConfiguration)

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

type MountConfiguration added in v1.9.0

type MountConfiguration struct {
	// device is path to a device that should be mounted.
	Device string `json:"device"`

	// mountPoint is a path where the device should be mounted at.
	MountPoint string `json:"mountPoint"`

	// fsType specifies the filesystem on the device.
	FSType string `json:"fsType"`

	// unsupportedOptions is a list of mount options used during device mounting.
	// unsupported in this field name means that we won't support all the available options passed down using this field.
	// +optional
	UnsupportedOptions []string `json:"unsupportedOptions"`
}

MountConfiguration specifies mount configuration options.

func (*MountConfiguration) DeepCopy added in v1.9.0

func (in *MountConfiguration) DeepCopy() *MountConfiguration

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

func (*MountConfiguration) DeepCopyInto added in v1.9.0

func (in *MountConfiguration) DeepCopyInto(out *MountConfiguration)

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

type NodeConfig

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

	Spec   NodeConfigSpec   `json:"spec,omitempty"`
	Status NodeConfigStatus `json:"status,omitempty"`
}

func (*NodeConfig) DeepCopy

func (in *NodeConfig) DeepCopy() *NodeConfig

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

func (*NodeConfig) DeepCopyInto

func (in *NodeConfig) DeepCopyInto(out *NodeConfig)

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

func (*NodeConfig) DeepCopyObject

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

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

type NodeConfigCondition

type NodeConfigCondition struct {
	// type is the type of the NodeConfig condition.
	Type NodeConfigConditionType `json:"type"`

	// status represents the state of the condition, one of True, False, or Unknown.
	Status corev1.ConditionStatus `json:"status"`

	// observedGeneration represents the .metadata.generation that the condition was set based upon.
	// For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
	// with respect to the current state of the instance.
	// +optional
	// +kubebuilder:validation:Minimum=0
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`

	// lastTransitionTime is last time the condition transitioned from one status to another.
	LastTransitionTime metav1.Time `json:"lastTransitionTime"`

	// reason is the reason for condition's last transition.
	Reason string `json:"reason"`

	// message is a human-readable message indicating details about the transition.
	Message string `json:"message"`
}

func (*NodeConfigCondition) DeepCopy

func (in *NodeConfigCondition) DeepCopy() *NodeConfigCondition

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

func (*NodeConfigCondition) DeepCopyInto

func (in *NodeConfigCondition) DeepCopyInto(out *NodeConfigCondition)

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

type NodeConfigConditionType

type NodeConfigConditionType string
const (
	// Reconciled indicates that the NodeConfig is fully deployed and available.
	NodeConfigReconciledConditionType NodeConfigConditionType = "Reconciled"
)

type NodeConfigList

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

func (*NodeConfigList) DeepCopy

func (in *NodeConfigList) DeepCopy() *NodeConfigList

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

func (*NodeConfigList) DeepCopyInto

func (in *NodeConfigList) DeepCopyInto(out *NodeConfigList)

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

func (*NodeConfigList) DeepCopyObject

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

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

type NodeConfigNodeStatus

type NodeConfigNodeStatus struct {
	Name            string   `json:"name"`
	TunedNode       bool     `json:"tunedNode"`
	TunedContainers []string `json:"tunedContainers"`
}

func (*NodeConfigNodeStatus) DeepCopy

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

func (*NodeConfigNodeStatus) DeepCopyInto

func (in *NodeConfigNodeStatus) DeepCopyInto(out *NodeConfigNodeStatus)

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

type NodeConfigPlacement

type NodeConfigPlacement struct {
	// affinity is a group of affinity scheduling rules for NodeConfig Pods.
	Affinity corev1.Affinity `json:"affinity"`

	// tolerations is a group of tolerations NodeConfig Pods are going to have.
	Tolerations []corev1.Toleration `json:"tolerations"`

	// nodeSelector is a selector which must be true for the NodeConfig Pod to fit on a node.
	// Selector which must match a node's labels for the pod to be scheduled on that node.
	// +kubebuilder:validation:Required
	NodeSelector map[string]string `json:"nodeSelector"`
}

func (*NodeConfigPlacement) DeepCopy

func (in *NodeConfigPlacement) DeepCopy() *NodeConfigPlacement

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

func (*NodeConfigPlacement) DeepCopyInto

func (in *NodeConfigPlacement) DeepCopyInto(out *NodeConfigPlacement)

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

type NodeConfigSpec

type NodeConfigSpec struct {
	// placement contains scheduling rules for NodeConfig Pods.
	// +kubebuilder:validation:Required
	Placement NodeConfigPlacement `json:"placement"`

	// disableOptimizations controls if nodes matching placement requirements
	// are going to be optimized. Turning off optimizations on already optimized
	// Nodes does not revert changes.
	DisableOptimizations bool `json:"disableOptimizations"`

	// localDiskSetup contains options of automatic local disk setup.
	// +optional
	LocalDiskSetup *LocalDiskSetup `json:"localDiskSetup"`
}

func (*NodeConfigSpec) DeepCopy

func (in *NodeConfigSpec) DeepCopy() *NodeConfigSpec

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

func (*NodeConfigSpec) DeepCopyInto

func (in *NodeConfigSpec) DeepCopyInto(out *NodeConfigSpec)

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

type NodeConfigStatus

type NodeConfigStatus struct {
	// observedGeneration indicates the most recent generation observed by the controller.
	ObservedGeneration int64 `json:"observedGeneration"`

	// conditions represents the latest available observations of current state.
	// +optional
	Conditions []NodeConfigCondition `json:"conditions"`

	// nodeStatuses hold the status for each tuned node.
	NodeStatuses []NodeConfigNodeStatus `json:"nodeStatuses"`
}

func (*NodeConfigStatus) DeepCopy

func (in *NodeConfigStatus) DeepCopy() *NodeConfigStatus

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

func (*NodeConfigStatus) DeepCopyInto

func (in *NodeConfigStatus) DeepCopyInto(out *NodeConfigStatus)

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

type PlacementSpec added in v1.9.0

type PlacementSpec struct {
	// nodeAffinity describes node affinity scheduling rules for the pod.
	// +optional
	NodeAffinity *corev1.NodeAffinity `json:"nodeAffinity,omitempty"`

	// podAffinity describes pod affinity scheduling rules.
	// +optional
	PodAffinity *corev1.PodAffinity `json:"podAffinity,omitempty"`

	// podAntiAffinity describes pod anti-affinity scheduling rules.
	// +optional
	PodAntiAffinity *corev1.PodAntiAffinity `json:"podAntiAffinity,omitempty"`

	// tolerations allow the pod to tolerate any taint that matches the triple <key,value,effect>
	// using the matching operator.
	// +optional
	Tolerations []corev1.Toleration `json:"tolerations,omitempty"`
}

PlacementSpec defines pod placement. TODO: move this to corev1.Affinity in v1alpha2

func (*PlacementSpec) DeepCopy added in v1.9.0

func (in *PlacementSpec) DeepCopy() *PlacementSpec

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

func (*PlacementSpec) DeepCopyInto added in v1.9.0

func (in *PlacementSpec) DeepCopyInto(out *PlacementSpec)

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

type PrometheusExposeOptions added in v1.9.0

type PrometheusExposeOptions struct {
	// webInterface specifies expose options for the user web interface.
	// +optional
	WebInterface *HTTPSExposeOptions `json:"webInterface,omitempty"`
}

PrometheusExposeOptions holds options related to exposing Prometheus app.

func (*PrometheusExposeOptions) DeepCopy added in v1.9.0

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

func (*PrometheusExposeOptions) DeepCopyInto added in v1.9.0

func (in *PrometheusExposeOptions) DeepCopyInto(out *PrometheusExposeOptions)

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

type PrometheusSpec added in v1.9.0

type PrometheusSpec struct {
	// placement describes restrictions for the nodes Prometheus is scheduled on.
	// +optional
	Placement *PlacementSpec `json:"placement,omitempty"`

	// resources the Prometheus container will use.
	Resources corev1.ResourceRequirements `json:"resources"`

	// exposeOptions specifies options for exposing Prometheus UI.
	// +optional
	ExposeOptions *PrometheusExposeOptions `json:"exposeOptions,omitempty"`

	// storage describes the underlying storage that Prometheus will consume.
	// +optional
	Storage *Storage `json:"storage"`
}

PrometheusSpec holds the spec prometheus options.

func (*PrometheusSpec) DeepCopy added in v1.9.0

func (in *PrometheusSpec) DeepCopy() *PrometheusSpec

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

func (*PrometheusSpec) DeepCopyInto added in v1.9.0

func (in *PrometheusSpec) DeepCopyInto(out *PrometheusSpec)

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

type RAID0Options added in v1.9.0

type RAID0Options struct {
	// devices defines which devices constitute the raid array.
	Devices DeviceDiscovery `json:"devices"`
}

RAID0Options specifies raid0 options.

func (*RAID0Options) DeepCopy added in v1.9.0

func (in *RAID0Options) DeepCopy() *RAID0Options

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

func (*RAID0Options) DeepCopyInto added in v1.9.0

func (in *RAID0Options) DeepCopyInto(out *RAID0Options)

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

type RAIDConfiguration added in v1.9.0

type RAIDConfiguration struct {
	// name specifies the name of the raid device to be created under in `/dev/md/`.
	Name string `json:"name"`

	// type is a type of raid array.
	Type RAIDType `json:"type"`

	// RAID0 specifies RAID0 options.
	// +optional
	RAID0 *RAID0Options `json:"RAID0,omitempty"`
}

RAIDConfiguration is a configuration of a raid array.

func (*RAIDConfiguration) DeepCopy added in v1.9.0

func (in *RAIDConfiguration) DeepCopy() *RAIDConfiguration

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

func (*RAIDConfiguration) DeepCopyInto added in v1.9.0

func (in *RAIDConfiguration) DeepCopyInto(out *RAIDConfiguration)

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

type RAIDType added in v1.9.0

type RAIDType string

RAIDType is a raid array type.

const (
	// RAID0Type represents RAID0 array type.
	RAID0Type RAIDType = "RAID0"
)

type ScyllaDBMonitoring added in v1.9.0

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

	// spec defines the desired state of this ScyllaDBMonitoring.
	Spec ScyllaDBMonitoringSpec `json:"spec,omitempty"`

	// status is the current status of this ScyllaDBMonitoring.
	Status ScyllaDBMonitoringStatus `json:"status,omitempty"`
}

ScyllaDBMonitoring defines a monitoring instance for ScyllaDB clusters.

func (*ScyllaDBMonitoring) DeepCopy added in v1.9.0

func (in *ScyllaDBMonitoring) DeepCopy() *ScyllaDBMonitoring

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

func (*ScyllaDBMonitoring) DeepCopyInto added in v1.9.0

func (in *ScyllaDBMonitoring) DeepCopyInto(out *ScyllaDBMonitoring)

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

func (*ScyllaDBMonitoring) DeepCopyObject added in v1.9.0

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

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

type ScyllaDBMonitoringList added in v1.9.0

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

ScyllaDBMonitoringList holds a list of ScyllaDBMonitoring.

func (*ScyllaDBMonitoringList) DeepCopy added in v1.9.0

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

func (*ScyllaDBMonitoringList) DeepCopyInto added in v1.9.0

func (in *ScyllaDBMonitoringList) DeepCopyInto(out *ScyllaDBMonitoringList)

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

func (*ScyllaDBMonitoringList) DeepCopyObject added in v1.9.0

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

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

type ScyllaDBMonitoringSpec added in v1.9.0

type ScyllaDBMonitoringSpec struct {
	// endpointsSelector select which Endpoints should be scraped.
	// For local ScyllaDB clusters or datacenters, this is the same selector as if you were trying to select member Services.
	// For remote ScyllaDB clusters, this can select any endpoints that are created manually or for a Service without selectors.
	// +kubebuilder:validation:Required
	EndpointsSelector metav1.LabelSelector `json:"endpointsSelector"`

	// components hold additional config for the monitoring components in use.
	Components *Components `json:"components"`

	// type determines the platform type of the monitoring setup.
	// +kubebuilder:default:="SaaS"
	// +optional
	Type *ScyllaDBMonitoringType `json:"type,omitempty"`
}

ScyllaDBMonitoringSpec defines the desired state of ScyllaDBMonitoring.

func (*ScyllaDBMonitoringSpec) DeepCopy added in v1.9.0

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

func (*ScyllaDBMonitoringSpec) DeepCopyInto added in v1.9.0

func (in *ScyllaDBMonitoringSpec) DeepCopyInto(out *ScyllaDBMonitoringSpec)

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

type ScyllaDBMonitoringStatus added in v1.9.0

type ScyllaDBMonitoringStatus struct {
	// observedGeneration is the most recent generation observed for this ScyllaDBMonitoring. It corresponds to the
	// ScyllaDBMonitoring's generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration *int64 `json:"observedGeneration,omitempty"`

	// conditions hold conditions describing ScyllaDBMonitoring state.
	// To determine whether a cluster rollout is finished, look for Available=True,Progressing=False,Degraded=False.
	Conditions []metav1.Condition `json:"conditions,omitempty"`
}

ScyllaDBMonitoringStatus defines the observed state of ScyllaDBMonitoring.

func (*ScyllaDBMonitoringStatus) DeepCopy added in v1.9.0

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

func (*ScyllaDBMonitoringStatus) DeepCopyInto added in v1.9.0

func (in *ScyllaDBMonitoringStatus) DeepCopyInto(out *ScyllaDBMonitoringStatus)

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

type ScyllaDBMonitoringType added in v1.9.0

type ScyllaDBMonitoringType string

ScyllaDBMonitoringType describes the platform type of the monitoring setup. +kubebuilder:validation:Enum="SaaS";"Platform"

const (
	// ScyllaDBMonitoringTypePlatform defines ScyllaDB monitoring setup that includes a view of the infrastructure.
	ScyllaDBMonitoringTypePlatform ScyllaDBMonitoringType = "Platform"

	// ScyllaDBMonitoringTypeSAAS defines ScyllaDB monitoring setup focused only on the ScyllaDB service.
	ScyllaDBMonitoringTypeSAAS ScyllaDBMonitoringType = "SaaS"
)

type ScyllaOperatorConfig

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

	// spec defines the desired state of the operator.
	Spec ScyllaOperatorConfigSpec `json:"spec,omitempty"`

	// status defines the observed state of the operator.
	Status ScyllaOperatorConfigStatus `json:"status,omitempty"`
}

ScyllaOperatorConfig describes the Scylla Operator configuration.

func (*ScyllaOperatorConfig) DeepCopy

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

func (*ScyllaOperatorConfig) DeepCopyInto

func (in *ScyllaOperatorConfig) DeepCopyInto(out *ScyllaOperatorConfig)

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

func (*ScyllaOperatorConfig) DeepCopyObject

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

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

type ScyllaOperatorConfigList

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

func (*ScyllaOperatorConfigList) DeepCopy

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

func (*ScyllaOperatorConfigList) DeepCopyInto

func (in *ScyllaOperatorConfigList) DeepCopyInto(out *ScyllaOperatorConfigList)

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

func (*ScyllaOperatorConfigList) DeepCopyObject

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

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

type ScyllaOperatorConfigSpec

type ScyllaOperatorConfigSpec struct {
	// scyllaUtilsImage is a Scylla image used for running scylla utilities.
	// +kubebuilder:validation:MinLength=1
	ScyllaUtilsImage string `json:"scyllaUtilsImage"`
}

func (*ScyllaOperatorConfigSpec) DeepCopy

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

func (*ScyllaOperatorConfigSpec) DeepCopyInto

func (in *ScyllaOperatorConfigSpec) DeepCopyInto(out *ScyllaOperatorConfigSpec)

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

type ScyllaOperatorConfigStatus

type ScyllaOperatorConfigStatus struct {
}

func (*ScyllaOperatorConfigStatus) DeepCopy

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

func (*ScyllaOperatorConfigStatus) DeepCopyInto

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

type Storage added in v1.9.0

type Storage struct {
	// Map of string keys and values that can be used to organize and categorize
	// (scope and select) objects. May match selectors of replication controllers
	// and services.
	// More info: http://kubernetes.io/docs/user-guide/labels
	// +optional
	Labels map[string]string `json:"labels,omitempty"`

	// Annotations is an unstructured key value map stored with a resource that may be
	// set by external tools to store and retrieve arbitrary metadata. They are not
	// queryable and should be preserved when modifying objects.
	// More info: http://kubernetes.io/docs/user-guide/annotations
	// +optional
	Annotations map[string]string `json:"annotations,omitempty"`

	// volumeClaimTemplates is a PVC template defining storage to be used by Prometheus.
	// +optional
	VolumeClaimTemplate corev1.PersistentVolumeClaimTemplate `json:"volumeClaimTemplate,omitempty"`
}

Storage holds the storage options.

func (*Storage) DeepCopy added in v1.9.0

func (in *Storage) DeepCopy() *Storage

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

func (*Storage) DeepCopyInto added in v1.9.0

func (in *Storage) DeepCopyInto(out *Storage)

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