v1beta1

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=core.opni.io

Index

Constants

View Source
const (
	AlertingDeployConfStandalone = "standalone"
	AlertingDeployConfCluster    = "ha"
)
View Source
const (
	InternalRevisionAnnotation      string = "internal.opni.io/revision"
	InternalSchemalessAnnotation    string = "internal.opni.io/schemaless"
	MonitoringClusterTargetRevision int64  = 1
)
View Source
const (
	IDLabel = "opni.io/multiclusterID"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "core.opni.io", 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

func CollectorCRD added in v0.10.0

func CollectorCRD() (*crd.CRD, error)

func GetMonitoringClusterRevision added in v0.12.0

func GetMonitoringClusterRevision(t interface {
	GetAnnotations() map[string]string
}) int64

func KeyringCRD added in v0.10.0

func KeyringCRD() (*crd.CRD, error)

func MonitoringClusterTargetRevisionString added in v0.12.0

func MonitoringClusterTargetRevisionString() string

func SetMonitoringClusterRevision added in v0.12.0

func SetMonitoringClusterRevision(t interface {
	GetAnnotations() map[string]string
	SetAnnotations(map[string]string)
}, rev int64)

Types

type AggregatorOTELConfigSpec added in v0.12.0

type AggregatorOTELConfigSpec struct {
	Processors AggregatorOTELProcessors `json:"processors,omitempty"`
	Exporters  AggregatorOTELExporters  `json:"exporters,omitempty"`
}

func NewDefaultAggregatorOTELConfigSpec added in v0.12.0

func NewDefaultAggregatorOTELConfigSpec() *AggregatorOTELConfigSpec

func (*AggregatorOTELConfigSpec) DeepCopy added in v0.12.0

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

func (*AggregatorOTELConfigSpec) DeepCopyInto added in v0.12.0

func (in *AggregatorOTELConfigSpec) DeepCopyInto(out *AggregatorOTELConfigSpec)

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

type AggregatorOTELExporters added in v0.12.0

type AggregatorOTELExporters struct {
	OTLPHTTP OTLPHTTPExporterConfig `json:"otlphttp,omitempty"`
}

func (*AggregatorOTELExporters) DeepCopy added in v0.12.0

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

func (*AggregatorOTELExporters) DeepCopyInto added in v0.12.0

func (in *AggregatorOTELExporters) DeepCopyInto(out *AggregatorOTELExporters)

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

type AggregatorOTELProcessors added in v0.12.0

type AggregatorOTELProcessors struct {
	Batch         BatchProcessorConfig         `json:"batch,omitempty"`
	MemoryLimiter MemoryLimiterProcessorConfig `json:"memoryLimiter,omitempty"`
}

func (*AggregatorOTELProcessors) DeepCopy added in v0.12.0

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

func (*AggregatorOTELProcessors) DeepCopyInto added in v0.12.0

func (in *AggregatorOTELProcessors) DeepCopyInto(out *AggregatorOTELProcessors)

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

type AlertManagerSpec added in v0.10.0

type AlertManagerSpec struct {
	Enable     bool                `json:"enable,omitempty"`
	Image      *opnimeta.ImageSpec `json:"image,omitempty"`
	LogLevel   string              `json:"logLevel,omitempty"`
	DeployConf string              `json:"deployConf,omitempty"`

	// Overrides for out-of-the box alerting specs
	ApplicationSpec AlertingApplicationSpec `json:"workloads,omitempty"`
}

func (*AlertManagerSpec) DeepCopy added in v0.10.0

func (in *AlertManagerSpec) DeepCopy() *AlertManagerSpec

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

func (*AlertManagerSpec) DeepCopyInto added in v0.10.0

func (in *AlertManagerSpec) DeepCopyInto(out *AlertManagerSpec)

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

type AlertManagerStatus added in v0.10.0

type AlertManagerStatus struct {
	Version    string   `json:"version,omitempty"`
	Ready      bool     `json:"ready,omitempty"`
	Conditions []string `json:"conditions,omitempty"`
}

func (*AlertManagerStatus) DeepCopy added in v0.10.0

func (in *AlertManagerStatus) DeepCopy() *AlertManagerStatus

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

func (*AlertManagerStatus) DeepCopyInto added in v0.10.0

func (in *AlertManagerStatus) DeepCopyInto(out *AlertManagerStatus)

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

type AlertingApplicationSpec added in v0.10.0

type AlertingApplicationSpec struct {
	Replicas                  *int32                            `json:"replicas,omitempty"`
	ExtraArgs                 []string                          `json:"extraArgs,omitempty"`
	ExtraVolumeSpec           []VolumeSpec                      `json:"extraVolumeSpec,omitempty"`
	ExtraEnvVars              []corev1.EnvVar                   `json:"extraEnvVars,omitempty"`
	SidecarContainers         []corev1.Container                `json:"sidecarContainers,omitempty"`
	ResourceRequirements      *corev1.ResourceRequirements      `json:"resourceLimits,omitempty"`
	UpdateStrategy            *appsv1.StatefulSetUpdateStrategy `json:"updateStrategy,omitempty"`
	SecurityContext           *corev1.SecurityContext           `json:"securityContext,omitempty"`
	*openv1.PersistenceConfig `json:",inline"`
	Affinity                  *corev1.Affinity `json:"affinity,omitempty"`
}

func (*AlertingApplicationSpec) DeepCopy added in v0.10.0

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

func (*AlertingApplicationSpec) DeepCopyInto added in v0.10.0

func (in *AlertingApplicationSpec) DeepCopyInto(out *AlertingApplicationSpec)

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

type AlertingCluster added in v0.10.0

type AlertingCluster struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AlertingClusterSpec   `json:"spec,omitempty"`
	Status            AlertingClusterStatus `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:subresource:status

func (*AlertingCluster) DeepCopy added in v0.10.0

func (in *AlertingCluster) DeepCopy() *AlertingCluster

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

func (*AlertingCluster) DeepCopyInto added in v0.10.0

func (in *AlertingCluster) DeepCopyInto(out *AlertingCluster)

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

func (*AlertingCluster) DeepCopyObject added in v0.10.0

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

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

type AlertingClusterList added in v0.10.0

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

+kubebuilder:object:root=true

func (*AlertingClusterList) DeepCopy added in v0.10.0

func (in *AlertingClusterList) DeepCopy() *AlertingClusterList

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

func (*AlertingClusterList) DeepCopyInto added in v0.10.0

func (in *AlertingClusterList) DeepCopyInto(out *AlertingClusterList)

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

func (*AlertingClusterList) DeepCopyObject added in v0.10.0

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

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

type AlertingClusterSpec added in v0.10.0

type AlertingClusterSpec struct {
	//+kubebuilder:validation:required
	Gateway      corev1.LocalObjectReference `json:"gateway,omitempty"`
	Alertmanager AlertManagerSpec            `json:"alertmanager,omitempty"`
}

func (*AlertingClusterSpec) DeepCopy added in v0.10.0

func (in *AlertingClusterSpec) DeepCopy() *AlertingClusterSpec

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

func (*AlertingClusterSpec) DeepCopyInto added in v0.10.0

func (in *AlertingClusterSpec) DeepCopyInto(out *AlertingClusterSpec)

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

type AlertingClusterStatus added in v0.10.0

type AlertingClusterStatus struct {
	Image           string             `json:"image,omitempty"`
	ImagePullPolicy corev1.PullPolicy  `json:"imagePullPolicy,omitempty"`
	Alertmanager    AlertManagerStatus `json:"alertmanager,omitempty"`
}

func (*AlertingClusterStatus) DeepCopy added in v0.10.0

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

func (*AlertingClusterStatus) DeepCopyInto added in v0.10.0

func (in *AlertingClusterStatus) DeepCopyInto(out *AlertingClusterStatus)

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

type AlertingSpec

type AlertingSpec struct {
	Enabled bool `json:"enabled,omitempty"`
	//+kubebuilder:default=9093
	WebPort int `json:"webPort,omitempty"`
	//+kubebuilder:default=9094
	ClusterPort int `json:"clusterPort,omitempty"`
	//+kubebuilder:default="ClusterIP"
	ServiceType corev1.ServiceType `json:"serviceType,omitempty"`
	//+kubebuilder:default="500Mi"
	Storage string `json:"storage,omitempty"`
	//+kubebuilder:default="500m"
	CPU string `json:"cpu,omitempty"`
	//+kubebuilder:default="200Mi"
	Memory string `json:"memory,omitempty"`
	//+kubebuilder:default=1
	Replicas int32 `json:"replicas,omitempty"`
	//+kubebuilder:default="1m0s"
	ClusterSettleTimeout string `json:"clusterSettleTimeout,omitempty"`
	//+kubebuilder:default="1m0s"
	ClusterPushPullInterval string `json:"clusterPushPullInterval,omitempty"`
	//+kubebuilder:default="200ms"
	ClusterGossipInterval string `json:"clusterGossipInterval,omitempty"`
	ConfigName            string `json:"configName,omitempty"`
	//+kubebuilder:default="/var/lib"
	DataMountPath       string                      `json:"dataMountPath,omitempty"`
	GatewayVolumeMounts []opnimeta.ExtraVolumeMount `json:"alertVolumeMounts,omitempty"`
	//! deprecated
	RawAlertManagerConfig string `json:"rawConfigMap,omitempty"`
	//! deprecated
	RawInternalRouting string `json:"rawInternalRouting,omitempty"`
}

v1beta2 spec

func (*AlertingSpec) DeepCopy

func (in *AlertingSpec) DeepCopy() *AlertingSpec

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

func (*AlertingSpec) DeepCopyInto

func (in *AlertingSpec) DeepCopyInto(out *AlertingSpec)

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

type AuthSpec

type AuthSpec struct {
	//+kubebuilder:validation:Required
	Provider cfgv1beta1.AuthProviderType `json:"provider,omitempty"`
	Openid   *OpenIDConfigSpec           `json:"openid,omitempty"`
	Noauth   *noauth.ServerConfig        `json:"noauth,omitempty"`
}

func (*AuthSpec) DeepCopy

func (in *AuthSpec) DeepCopy() *AuthSpec

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

func (*AuthSpec) DeepCopyInto

func (in *AuthSpec) DeepCopyInto(out *AuthSpec)

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

type BatchProcessorConfig added in v0.12.0

type BatchProcessorConfig struct {
	// Timeout sets the time after which a batch will be sent regardless of size.
	// When this is set to zero, batched data will be sent immediately.
	// +kubebuilder:default:=15
	TimeoutSeconds uint32 `json:"timeoutSeconds,omitempty"`

	// SendBatchSize is the size of a batch which after hit, will trigger it to be sent.
	// When this is set to zero, the batch size is ignored and data will be sent immediately
	// subject to only send_batch_max_size.
	// +kubebuilder:default:=1000
	SendBatchSize uint32 `json:"sendBatchSize,omitempty"`

	// SendBatchMaxSize is the maximum size of a batch. It must be larger than SendBatchSize.
	// Larger batches are split into smaller units.
	// Default value is 0, that means no maximum size.
	SendBatchMaxSize uint32 `json:"sendBatchMaxSize,omitempty"`
}

BatchProcessorConfig has the attributes that we want to make available from batchprocessor.Config. Also, we extend it with the JSON struct tags needed in order to kubebuilder and controller-gen work.

func (*BatchProcessorConfig) DeepCopy added in v0.12.0

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

func (*BatchProcessorConfig) DeepCopyInto added in v0.12.0

func (in *BatchProcessorConfig) DeepCopyInto(out *BatchProcessorConfig)

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

type BootstrapToken added in v0.8.1

type BootstrapToken struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              *opnicorev1.BootstrapToken `json:"spec,omitempty"`
}

+kubebuilder:object:root=true

func (*BootstrapToken) DeepCopy added in v0.8.1

func (in *BootstrapToken) DeepCopy() *BootstrapToken

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

func (*BootstrapToken) DeepCopyInto added in v0.8.1

func (in *BootstrapToken) DeepCopyInto(out *BootstrapToken)

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

func (*BootstrapToken) DeepCopyObject added in v0.8.1

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

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

type BootstrapTokenList added in v0.8.1

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

+kubebuilder:object:root=true

func (*BootstrapTokenList) DeepCopy added in v0.8.1

func (in *BootstrapTokenList) DeepCopy() *BootstrapTokenList

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

func (*BootstrapTokenList) DeepCopyInto added in v0.8.1

func (in *BootstrapTokenList) DeepCopyInto(out *BootstrapTokenList)

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

func (*BootstrapTokenList) DeepCopyObject added in v0.8.1

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

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

type Collector added in v0.8.3

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

	Spec   CollectorSpec   `json:"spec,omitempty"`
	Status CollectorStatus `json:"status,omitempty"`
}

Collector is the Schema for the logadapters API

func (*Collector) DeepCopy added in v0.8.3

func (in *Collector) DeepCopy() *Collector

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

func (*Collector) DeepCopyInto added in v0.8.3

func (in *Collector) DeepCopyInto(out *Collector)

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

func (*Collector) DeepCopyObject added in v0.8.3

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

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

type CollectorList added in v0.8.3

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

CollectorList contains a list of Collector

func (*CollectorList) DeepCopy added in v0.8.3

func (in *CollectorList) DeepCopy() *CollectorList

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

func (*CollectorList) DeepCopyInto added in v0.8.3

func (in *CollectorList) DeepCopyInto(out *CollectorList)

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

func (*CollectorList) DeepCopyObject added in v0.8.3

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

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

type CollectorSendingQueue added in v0.12.0

type CollectorSendingQueue struct {
	// Enabled indicates whether to not enqueue batches before sending to the consumerSender.
	// +kubebuilder:default:=true
	Enabled bool `json:"enabled,omitempty"`
	// NumConsumers is the number of consumers from the queue.
	// +kubebuilder:default:=4
	NumConsumers int `json:"numConsumers,omitempty"`
	// QueueSize is the maximum number of batches allowed in queue at a given time.
	// +kubebuilder:default:=100
	QueueSize int `json:"queueSize,omitempty"`
}

CollectorSendingQueue has the attributes that we want to make available from exporterhelper.QueueSettings. Also, we extend it with the JSON struct tags needed in order to kubebuilder and controller-gen work.

func (*CollectorSendingQueue) DeepCopy added in v0.12.0

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

func (*CollectorSendingQueue) DeepCopyInto added in v0.12.0

func (in *CollectorSendingQueue) DeepCopyInto(out *CollectorSendingQueue)

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

type CollectorSpec added in v0.8.3

type CollectorSpec struct {
	opnimeta.ImageSpec       `json:",inline,omitempty"`
	AgentEndpoint            string                       `json:"agentEndpoint,omitempty"`
	SystemNamespace          string                       `json:"systemNamespace,omitempty"`
	LoggingConfig            *corev1.LocalObjectReference `json:"loggingConfig,omitempty"`
	TracesConfig             *corev1.LocalObjectReference `json:"tracesConfig,omitempty"`
	MetricsConfig            *corev1.LocalObjectReference `json:"metricsConfig,omitempty"`
	ConfigReloader           *ConfigReloaderSpec          `json:"configReloader,omitempty"`
	LogLevel                 string                       `json:"logLevel,omitempty"`
	AggregatorOTELConfigSpec *AggregatorOTELConfigSpec    `json:"aggregatorOtelCollectorSpec,omitempty"`
	NodeOTELConfigSpec       *NodeOTELConfigSpec          `json:"nodeOtelCollectorSpec,omitempty"`
}

func (*CollectorSpec) DeepCopy added in v0.8.3

func (in *CollectorSpec) DeepCopy() *CollectorSpec

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

func (*CollectorSpec) DeepCopyInto added in v0.8.3

func (in *CollectorSpec) DeepCopyInto(out *CollectorSpec)

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

func (*CollectorSpec) IsEmpty added in v0.9.0

func (c *CollectorSpec) IsEmpty() bool

type CollectorState added in v0.8.3

type CollectorState string
const (
	CollectorStatePending CollectorState = "pending"
	CollectorStateReady   CollectorState = "ready"
	CollectorStateError   CollectorState = "error"
)

type CollectorStatus added in v0.8.3

type CollectorStatus struct {
	Conditions []string       `json:"conditions,omitempty"`
	State      CollectorState `json:"state,omitempty"`
}

CollectorStatus defines the observed state of Collector

func (*CollectorStatus) DeepCopy added in v0.8.3

func (in *CollectorStatus) DeepCopy() *CollectorStatus

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

func (*CollectorStatus) DeepCopyInto added in v0.8.3

func (in *CollectorStatus) DeepCopyInto(out *CollectorStatus)

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

type ConfigReloaderSpec added in v0.10.0

type ConfigReloaderSpec struct {
	opnimeta.ImageSpec `json:",inline,omitempty"`
}

func (*ConfigReloaderSpec) DeepCopy added in v0.10.0

func (in *ConfigReloaderSpec) DeepCopy() *ConfigReloaderSpec

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

func (*ConfigReloaderSpec) DeepCopyInto added in v0.10.0

func (in *ConfigReloaderSpec) DeepCopyInto(out *ConfigReloaderSpec)

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

type CortexSpec

type CortexSpec struct {
	Enabled         *bool                              `json:"enabled,omitempty"`
	CortexWorkloads *cortexops.CortexWorkloadsConfig   `json:"cortexWorkloads,omitempty"`
	CortexConfig    *cortexops.CortexApplicationConfig `json:"cortexConfig,omitempty"`
}

func (*CortexSpec) DeepCopy

func (in *CortexSpec) DeepCopy() *CortexSpec

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

func (*CortexSpec) DeepCopyInto

func (in *CortexSpec) DeepCopyInto(out *CortexSpec)

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

type CortexStatus

type CortexStatus struct {
	Version        string                    `json:"version,omitempty"`
	WorkloadsReady bool                      `json:"workloadsReady,omitempty"`
	Conditions     []string                  `json:"conditions,omitempty"`
	WorkloadStatus map[string]WorkloadStatus `json:"workloadStatus,omitempty"`
}

func (*CortexStatus) DeepCopy

func (in *CortexStatus) DeepCopy() *CortexStatus

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

func (*CortexStatus) DeepCopyInto

func (in *CortexStatus) DeepCopyInto(out *CortexStatus)

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

type FileStorageSpec

type FileStorageSpec struct {
	JetStreamPersistenceSpec `json:",inline"`
	Enabled                  *bool             `json:"enabled,omitempty"`
	Size                     resource.Quantity `json:"size,omitempty"`
}

func (*FileStorageSpec) DeepCopy

func (in *FileStorageSpec) DeepCopy() *FileStorageSpec

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

func (*FileStorageSpec) DeepCopyInto

func (in *FileStorageSpec) DeepCopyInto(out *FileStorageSpec)

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

type Gateway

type Gateway struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              GatewaySpec   `json:"spec,omitempty"`
	Status            GatewayStatus `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:subresource:status

func (*Gateway) DeepCopy

func (in *Gateway) DeepCopy() *Gateway

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

func (*Gateway) DeepCopyInto

func (in *Gateway) DeepCopyInto(out *Gateway)

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

func (*Gateway) DeepCopyObject

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

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

type GatewayList

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

+kubebuilder:object:root=true

func (*GatewayList) DeepCopy

func (in *GatewayList) DeepCopy() *GatewayList

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

func (*GatewayList) DeepCopyInto

func (in *GatewayList) DeepCopyInto(out *GatewayList)

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

func (*GatewayList) DeepCopyObject

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

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

type GatewaySpec

type GatewaySpec struct {
	Image *opnimeta.ImageSpec `json:"image,omitempty"`
	//+kubebuilder:validation:Required
	Auth     AuthSpec `json:"auth,omitempty"`
	Hostname string   `json:"hostname,omitempty"`

	AgentImageTagOverride string `json:"agentImageTagOverride,omitempty"`

	// Deprecated: this field is ignored.
	PluginSearchDirs []string `json:"pluginSearchDirs,omitempty"`

	Alerting AlertingSpec                `json:"alerting,omitempty"`
	NatsRef  corev1.LocalObjectReference `json:"natsCluster"`

	//+kubebuilder:default=LoadBalancer
	ServiceType        corev1.ServiceType        `json:"serviceType,omitempty"`
	ServiceAnnotations map[string]string         `json:"serviceAnnotations,omitempty"`
	Management         cfgv1beta1.ManagementSpec `json:"management,omitempty"`
	//+kubebuilder:default=jetstream
	//+kubebuilder:validation:Optional
	//+kubebuilder:validation:XValidation:rule="self == oldSelf",message="Value is immutable"
	StorageType cfgv1beta1.StorageType `json:"storageType,omitempty"`

	NodeSelector      map[string]string           `json:"nodeSelector,omitempty"`
	Tolerations       []corev1.Toleration         `json:"tolerations,omitempty"`
	Affinity          *corev1.Affinity            `json:"affinity,omitempty"`
	ExtraVolumeMounts []opnimeta.ExtraVolumeMount `json:"extraVolumeMounts,omitempty"`
	ExtraEnvVars      []corev1.EnvVar             `json:"extraEnvVars,omitempty"`
	Profiling         cfgv1beta1.ProfilingSpec    `json:"profiling,omitempty"`
}

func (*GatewaySpec) DeepCopy

func (in *GatewaySpec) DeepCopy() *GatewaySpec

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

func (*GatewaySpec) DeepCopyInto

func (in *GatewaySpec) DeepCopyInto(out *GatewaySpec)

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

func (*GatewaySpec) GetServiceType

func (g *GatewaySpec) GetServiceType() corev1.ServiceType

type GatewayStatus

type GatewayStatus struct {
	Image           string                      `json:"image,omitempty"`
	ImagePullPolicy corev1.PullPolicy           `json:"imagePullPolicy,omitempty"`
	ServiceName     string                      `json:"serviceName,omitempty"`
	LoadBalancer    *corev1.LoadBalancerIngress `json:"loadBalancer,omitempty"`
	Endpoints       []corev1.EndpointAddress    `json:"endpoints,omitempty"`
	Ready           bool                        `json:"ready,omitempty"`
	StorageType     cfgv1beta1.StorageType      `json:"storageType,omitempty"`
}

func (*GatewayStatus) DeepCopy

func (in *GatewayStatus) DeepCopy() *GatewayStatus

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

func (*GatewayStatus) DeepCopyInto

func (in *GatewayStatus) DeepCopyInto(out *GatewayStatus)

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

type GrafanaSpec

type GrafanaSpec struct {
	*cortexops.GrafanaConfig `json:",inline,omitempty"`
	// Contains any additional configuration or overrides for the Grafana
	// installation spec.
	grafanav1alpha1.GrafanaSpec `json:",inline,omitempty"`
}

func (*GrafanaSpec) DeepCopy

func (in *GrafanaSpec) DeepCopy() *GrafanaSpec

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

func (*GrafanaSpec) DeepCopyInto

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

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

type IndexUserState

type IndexUserState string
const (
	IndexUserStatePending IndexUserState = "pending"
	IndexUserStateCreated IndexUserState = "created"
	IndexUserStateError   IndexUserState = "error"
)

type JetStreamPersistenceSpec

type JetStreamPersistenceSpec struct {
	PVC      *PVCSource                   `json:"pvc,omitempty"`
	EmptyDir *corev1.EmptyDirVolumeSource `json:"emptyDir,omitempty"`
}

func (*JetStreamPersistenceSpec) DeepCopy

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

func (*JetStreamPersistenceSpec) DeepCopyInto

func (in *JetStreamPersistenceSpec) DeepCopyInto(out *JetStreamPersistenceSpec)

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

type JetStreamSpec

type JetStreamSpec struct {
	Enabled           *bool             `json:"enabled,omitempty"`
	MemoryStorageSize resource.Quantity `json:"memoryStorageSize,omitempty"`
	FileStorage       FileStorageSpec   `json:"fileStorage,omitempty"`
}

func (*JetStreamSpec) DeepCopy

func (in *JetStreamSpec) DeepCopy() *JetStreamSpec

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

func (*JetStreamSpec) DeepCopyInto

func (in *JetStreamSpec) DeepCopyInto(out *JetStreamSpec)

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

type Keyring added in v0.8.1

type Keyring struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Data              []byte `json:"data,omitempty"`
}

+kubebuilder:object:root=true

func (*Keyring) DeepCopy added in v0.8.1

func (in *Keyring) DeepCopy() *Keyring

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

func (*Keyring) DeepCopyInto added in v0.8.1

func (in *Keyring) DeepCopyInto(out *Keyring)

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

func (*Keyring) DeepCopyObject added in v0.8.1

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

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

type KeyringList added in v0.8.1

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

+kubebuilder:object:root=true

func (*KeyringList) DeepCopy added in v0.8.1

func (in *KeyringList) DeepCopy() *KeyringList

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

func (*KeyringList) DeepCopyInto added in v0.8.1

func (in *KeyringList) DeepCopyInto(out *KeyringList)

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

func (*KeyringList) DeepCopyObject added in v0.8.1

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

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

type LoggingCluster

type LoggingCluster struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              LoggingClusterSpec   `json:"spec,omitempty"`
	Status            LoggingClusterStatus `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Age",type=date,JSONPath=`.metadata.creationTimestamp` +kubebuilder:printcolumn:name="IndexUser",type=boolean,JSONPath=`.status.indexUserState`

func (*LoggingCluster) DeepCopy

func (in *LoggingCluster) DeepCopy() *LoggingCluster

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

func (*LoggingCluster) DeepCopyInto

func (in *LoggingCluster) DeepCopyInto(out *LoggingCluster)

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

func (*LoggingCluster) DeepCopyObject

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

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

type LoggingClusterList

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

+kubebuilder:object:root=true

func (*LoggingClusterList) DeepCopy

func (in *LoggingClusterList) DeepCopy() *LoggingClusterList

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

func (*LoggingClusterList) DeepCopyInto

func (in *LoggingClusterList) DeepCopyInto(out *LoggingClusterList)

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

func (*LoggingClusterList) DeepCopyObject

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

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

type LoggingClusterSpec

type LoggingClusterSpec struct {
	OpensearchClusterRef *opnimeta.OpensearchClusterRef `json:"opensearchCluster,omitempty"`
	// Deprecated: individual auth users are no longer requried
	IndexUserSecret *corev1.LocalObjectReference `json:"indexUser,omitempty"`
	FriendlyName    string                       `json:"friendlyName,omitempty"`
	LastSync        metav1.Time                  `json:"lastSync,omitempty"`
	Enabled         bool                         `json:"enabled,omitempty"`
}

func (*LoggingClusterSpec) DeepCopy

func (in *LoggingClusterSpec) DeepCopy() *LoggingClusterSpec

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

func (*LoggingClusterSpec) DeepCopyInto

func (in *LoggingClusterSpec) DeepCopyInto(out *LoggingClusterSpec)

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

type LoggingClusterState

type LoggingClusterState string
const (
	LoggingClusterStateCreated    LoggingClusterState = "created"
	LoggingClusterStateRegistered LoggingClusterState = "registered"
	LoggingClusterStateError      LoggingClusterState = "error"
)

type LoggingClusterStatus

type LoggingClusterStatus struct {
	Conditions     []string            `json:"conditions,omitempty"`
	State          LoggingClusterState `json:"state,omitempty"`
	IndexUserState IndexUserState      `json:"indexUserState,omitempty"`
	ReadRole       string              `json:"readRole,omitempty"`
}

func (*LoggingClusterStatus) DeepCopy

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

func (*LoggingClusterStatus) DeepCopyInto

func (in *LoggingClusterStatus) DeepCopyInto(out *LoggingClusterStatus)

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

type MemoryLimiterProcessorConfig added in v0.12.0

type MemoryLimiterProcessorConfig struct {
	// CheckInterval is the time between measurements of memory usage for the
	// purposes of avoiding going over the limits. Defaults to zero, so no
	// checks will be performed.
	// +kubebuilder:default:=1
	CheckIntervalSeconds uint32 `json:"checkIntervalSeconds,omitempty"`

	// MemoryLimitMiB is the maximum amount of memory, in MiB, targeted to be
	// allocated by the process.
	// +kubebuilder:default:=1000
	MemoryLimitMiB uint32 `json:"limitMib,omitempty"`

	// MemorySpikeLimitMiB is the maximum, in MiB, spike expected between the
	// measurements of memory usage.
	// +kubebuilder:default:=350
	MemorySpikeLimitMiB uint32 `json:"spikeLimitMib,omitempty"`

	// MemoryLimitPercentage is the maximum amount of memory, in %, targeted to be
	// allocated by the process. The fixed memory settings MemoryLimitMiB has a higher precedence.
	MemoryLimitPercentage uint32 `json:"limitPercentage,omitempty"`

	// MemorySpikePercentage is the maximum, in percents against the total memory,
	// spike expected between the measurements of memory usage.
	MemorySpikePercentage uint32 `json:"spikeLimitPercentage,omitempty"`
}

MemoryLimiterProcessorConfig has the attributes that we want to make available from memorylimiterexporter.Config. Also, we extend it with the JSON struct tags needed in order to kubebuilder and controller-gen work.

func (*MemoryLimiterProcessorConfig) DeepCopy added in v0.12.0

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

func (*MemoryLimiterProcessorConfig) DeepCopyInto added in v0.12.0

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

type MonitoringCluster

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

	//+kubebuilder:validation:Schemaless
	//+kubebuilder:pruning:PreserveUnknownFields
	//+kubebuilder:validation:Type=object
	Spec MonitoringClusterSpec `json:"spec,omitempty"`

	//+kubebuilder:validation:Schemaless
	//+kubebuilder:pruning:PreserveUnknownFields
	//+kubebuilder:validation:Type=object
	Status MonitoringClusterStatus `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:metadata:annotations=internal.opni.io/schemaless=true

func (*MonitoringCluster) DeepCopy

func (in *MonitoringCluster) DeepCopy() *MonitoringCluster

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

func (*MonitoringCluster) DeepCopyInto

func (in *MonitoringCluster) DeepCopyInto(out *MonitoringCluster)

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

func (*MonitoringCluster) DeepCopyObject

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

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

type MonitoringClusterList

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

+kubebuilder:object:root=true

func (*MonitoringClusterList) DeepCopy

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

func (*MonitoringClusterList) DeepCopyInto

func (in *MonitoringClusterList) DeepCopyInto(out *MonitoringClusterList)

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

func (*MonitoringClusterList) DeepCopyObject

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

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

type MonitoringClusterSpec

type MonitoringClusterSpec struct {
	Gateway corev1.LocalObjectReference `json:"gateway,omitempty"`
	Cortex  CortexSpec                  `json:"cortex,omitempty"`
	Grafana GrafanaSpec                 `json:"grafana,omitempty"`
}

func (*MonitoringClusterSpec) DeepCopy

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

func (*MonitoringClusterSpec) DeepCopyInto

func (in *MonitoringClusterSpec) DeepCopyInto(out *MonitoringClusterSpec)

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

type MonitoringClusterStatus

type MonitoringClusterStatus struct {
	Image           string            `json:"image,omitempty"`
	ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy,omitempty"`
	Cortex          CortexStatus      `json:"cortex,omitempty"`
}

func (*MonitoringClusterStatus) DeepCopy

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

func (*MonitoringClusterStatus) DeepCopyInto

func (in *MonitoringClusterStatus) DeepCopyInto(out *MonitoringClusterStatus)

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

type NatsAuthMethod

type NatsAuthMethod string

+kubebuilder:validation:Enum=password;nkey

const (
	NatsAuthPassword NatsAuthMethod = "password"
	NatsAuthNkey     NatsAuthMethod = "nkey"
)

type NatsCluster

type NatsCluster struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              NatsSpec   `json:"spec,omitempty"`
	Status            NatsStatus `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:subresource:status

func (*NatsCluster) DeepCopy

func (in *NatsCluster) DeepCopy() *NatsCluster

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

func (*NatsCluster) DeepCopyInto

func (in *NatsCluster) DeepCopyInto(out *NatsCluster)

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

func (*NatsCluster) DeepCopyObject

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

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

type NatsClusterList

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

+kubebuilder:object:root=true

func (*NatsClusterList) DeepCopy

func (in *NatsClusterList) DeepCopy() *NatsClusterList

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

func (*NatsClusterList) DeepCopyInto

func (in *NatsClusterList) DeepCopyInto(out *NatsClusterList)

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

func (*NatsClusterList) DeepCopyObject

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

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

type NatsClusterState

type NatsClusterState string
const (
	NatsClusterStateError   NatsClusterState = "Error"
	NatsClusterStateWorking NatsClusterState = "Working"
	NatsClusterStateReady   NatsClusterState = "Ready"
)

type NatsSpec

type NatsSpec struct {
	// +kubebuilder:validation:Required
	// +kubebuilder:default:=password
	AuthMethod NatsAuthMethod `json:"authMethod,omitempty"`
	// Username to use for authentication, if username auth is specified in
	// AuthMethod. If empty, defaults to "nats-user". If AuthMethod is "nkey",
	// this field is ignored.
	Username string `json:"username,omitempty"`
	// Number of nats server replicas. If not set, defaults to 3.
	Replicas *int32 `json:"replicas,omitempty"`
	// A secret containing a "password" item.	This secret must already exist
	// if specified.
	PasswordFrom *corev1.SecretKeySelector `json:"passwordFrom,omitempty"`
	NodeSelector map[string]string         `json:"nodeSelector,omitempty"`
	Tolerations  []corev1.Toleration       `json:"tolerations,omitempty"`
	JetStream    JetStreamSpec             `json:"jetStream,omitempty"`
}

func (*NatsSpec) DeepCopy

func (in *NatsSpec) DeepCopy() *NatsSpec

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

func (*NatsSpec) DeepCopyInto

func (in *NatsSpec) DeepCopyInto(out *NatsSpec)

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

type NatsStatus

type NatsStatus struct {
	State            NatsClusterState          `json:"state,omitempty"`
	Replicas         int32                     `json:"replicas,omitempty"`
	AuthSecretKeyRef *corev1.SecretKeySelector `json:"authSecretKeyRef,omitempty"`
	NKeyUser         string                    `json:"nkeyUser,omitempty"`
}

func (*NatsStatus) DeepCopy

func (in *NatsStatus) DeepCopy() *NatsStatus

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

func (*NatsStatus) DeepCopyInto

func (in *NatsStatus) DeepCopyInto(out *NatsStatus)

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

type NodeOTELConfigSpec added in v0.12.0

type NodeOTELConfigSpec struct {
	Processors NodeOTELProcessors `json:"processors,omitempty"`
	Exporters  NodeOTELExporters  `json:"exporters,omitempty"`
}

func NewDefaultNodeOTELConfigSpec added in v0.12.0

func NewDefaultNodeOTELConfigSpec() *NodeOTELConfigSpec

func (*NodeOTELConfigSpec) DeepCopy added in v0.12.0

func (in *NodeOTELConfigSpec) DeepCopy() *NodeOTELConfigSpec

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

func (*NodeOTELConfigSpec) DeepCopyInto added in v0.12.0

func (in *NodeOTELConfigSpec) DeepCopyInto(out *NodeOTELConfigSpec)

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

type NodeOTELExporters added in v0.12.0

type NodeOTELExporters struct {
	OTLP OTLPExporterConfig `json:"otlp,omitempty"`
}

func (*NodeOTELExporters) DeepCopy added in v0.12.0

func (in *NodeOTELExporters) DeepCopy() *NodeOTELExporters

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

func (*NodeOTELExporters) DeepCopyInto added in v0.12.0

func (in *NodeOTELExporters) DeepCopyInto(out *NodeOTELExporters)

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

type NodeOTELProcessors added in v0.12.0

type NodeOTELProcessors struct {
	MemoryLimiter MemoryLimiterProcessorConfig `json:"memoryLimiter,omitempty"`
}

func (*NodeOTELProcessors) DeepCopy added in v0.12.0

func (in *NodeOTELProcessors) DeepCopy() *NodeOTELProcessors

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

func (*NodeOTELProcessors) DeepCopyInto added in v0.12.0

func (in *NodeOTELProcessors) DeepCopyInto(out *NodeOTELProcessors)

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

type OTLPExporterConfig added in v0.12.0

type OTLPExporterConfig struct {
	SendingQueue CollectorSendingQueue `json:"sendingQueue,omitempty"`
}

OTLPExporterConfig has the attributes that we want to make available from otlpexporter.Config. Also, we extend it with the JSON struct tags needed in order to kubebuilder and controller-gen work.

func (*OTLPExporterConfig) DeepCopy added in v0.12.0

func (in *OTLPExporterConfig) DeepCopy() *OTLPExporterConfig

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

func (*OTLPExporterConfig) DeepCopyInto added in v0.12.0

func (in *OTLPExporterConfig) DeepCopyInto(out *OTLPExporterConfig)

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

type OTLPHTTPExporterConfig added in v0.12.0

type OTLPHTTPExporterConfig struct {
	SendingQueue CollectorSendingQueue `json:"sendingQueue,omitempty"`
}

OTLPHTTPExporterConfig has the attributes that we want to make available from otlphttpexporter.Config. Also, we extend it with the JSON struct tags needed in order to kubebuilder and controller-gen work.

func (*OTLPHTTPExporterConfig) DeepCopy added in v0.12.0

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

func (*OTLPHTTPExporterConfig) DeepCopyInto added in v0.12.0

func (in *OTLPHTTPExporterConfig) DeepCopyInto(out *OTLPHTTPExporterConfig)

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

type OpenIDConfigSpec

type OpenIDConfigSpec struct {
	openid.OpenidConfig `json:",inline,omitempty,squash"`
	ClientID            string   `json:"clientID,omitempty"`
	ClientSecret        string   `json:"clientSecret,omitempty"`
	Scopes              []string `json:"scopes,omitempty"`
	AllowedDomains      []string `json:"allowedDomains,omitempty"`
	RoleAttributePath   string   `json:"roleAttributePath,omitempty"`

	InsecureSkipVerify *bool `json:"insecureSkipVerify,omitempty"`

	// extra options from grafana config
	AllowSignUp         *bool  `json:"allowSignUp,omitempty"`
	RoleAttributeStrict *bool  `json:"roleAttributeStrict,omitempty"`
	EmailAttributePath  string `json:"emailAttributePath,omitempty"`
	TLSClientCert       string `json:"tlsClientCert,omitempty"`
	TLSClientKey        string `json:"tlsClientKey,omitempty"`
	TLSClientCA         string `json:"tlsClientCA,omitempty"`
}

func (*OpenIDConfigSpec) DeepCopy

func (in *OpenIDConfigSpec) DeepCopy() *OpenIDConfigSpec

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

func (*OpenIDConfigSpec) DeepCopyInto

func (in *OpenIDConfigSpec) DeepCopyInto(out *OpenIDConfigSpec)

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

type PVCSource

type PVCSource struct {
	StorageClassName *string                             `json:"storageClass,omitempty"`
	AccessModes      []corev1.PersistentVolumeAccessMode `json:"accessModes,omitempty"`
}

func (*PVCSource) DeepCopy

func (in *PVCSource) DeepCopy() *PVCSource

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

func (*PVCSource) DeepCopyInto

func (in *PVCSource) DeepCopyInto(out *PVCSource)

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

type VolumeSpec added in v0.10.0

type VolumeSpec struct {
	corev1.Volume      `json:"volume,omitempty"`
	corev1.VolumeMount `json:"volumeMounts,omitempty"`
}

func (*VolumeSpec) DeepCopy added in v0.10.0

func (in *VolumeSpec) DeepCopy() *VolumeSpec

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

func (*VolumeSpec) DeepCopyInto added in v0.10.0

func (in *VolumeSpec) DeepCopyInto(out *VolumeSpec)

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

type WorkloadStatus

type WorkloadStatus struct {
	Ready   bool   `json:"ready,omitempty"`
	Message string `json:"conditions,omitempty"`
}

func (*WorkloadStatus) DeepCopy

func (in *WorkloadStatus) DeepCopy() *WorkloadStatus

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

func (*WorkloadStatus) DeepCopyInto

func (in *WorkloadStatus) DeepCopyInto(out *WorkloadStatus)

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