v1beta1

package
v0.9.2-rc1 Latest Latest
Warning

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

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

Documentation

Overview

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

+kubebuilder:validation:Optional

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "logging.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
)
View Source
var (
	DefaultFluentbitImage = loggingv1beta1.ImageSpec{
		Repository: "rancher/mirrored-fluent-fluent-bit",
		Tag:        "1.9.5",
	}
	DefaultFluentdImage = loggingv1beta1.ImageSpec{
		Repository: "rancher/mirrored-banzaicloud-fluentd",
		Tag:        "v1.14.6-alpine-5",
	}
	DefaultConfigReloaderImage = loggingv1beta1.ImageSpec{
		Repository: "rancher/mirrored-jimmidyson-configmap-reload",
		Tag:        "v0.4.0",
	}
	DefaultContainerLogDir = "/var/lib/docker/containers"
	DefaultLivenessProbe   = corev1.Probe{
		InitialDelaySeconds: 30,
		PeriodSeconds:       15,
		ProbeHandler: corev1.ProbeHandler{
			TCPSocket: &corev1.TCPSocketAction{
				Port: intstr.FromInt(24240),
			},
		},
	}
)

Functions

This section is empty.

Types

type AKSSpec added in v0.6.0

type AKSSpec struct {
}

func (*AKSSpec) DeepCopy added in v0.6.0

func (in *AKSSpec) DeepCopy() *AKSSpec

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

func (*AKSSpec) DeepCopyInto added in v0.6.0

func (in *AKSSpec) DeepCopyInto(out *AKSSpec)

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

type ClusterConfigSpec added in v0.6.0

type ClusterConfigSpec struct {
	IndexRetention string `json:"indexRetention,omitempty"`
}

func (*ClusterConfigSpec) DeepCopy added in v0.6.0

func (in *ClusterConfigSpec) DeepCopy() *ClusterConfigSpec

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

func (*ClusterConfigSpec) DeepCopyInto added in v0.6.0

func (in *ClusterConfigSpec) DeepCopyInto(out *ClusterConfigSpec)

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

type CollectorConfig added in v0.8.3

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

	Spec   CollectorConfigSpec   `json:"spec,omitempty"`
	Status CollectorConfigStatus `json:"status,omitempty"`
}

CollectorConfig is the Schema for the logadapters API

func (*CollectorConfig) DeepCopy added in v0.8.3

func (in *CollectorConfig) DeepCopy() *CollectorConfig

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

func (*CollectorConfig) DeepCopyInto added in v0.8.3

func (in *CollectorConfig) DeepCopyInto(out *CollectorConfig)

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

func (*CollectorConfig) DeepCopyObject added in v0.8.3

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

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

type CollectorConfigList added in v0.8.3

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

CollectorConfigList contains a list of CollectorConfig

func (*CollectorConfigList) DeepCopy added in v0.8.3

func (in *CollectorConfigList) DeepCopy() *CollectorConfigList

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

func (*CollectorConfigList) DeepCopyInto added in v0.8.3

func (in *CollectorConfigList) DeepCopyInto(out *CollectorConfigList)

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

func (*CollectorConfigList) DeepCopyObject added in v0.8.3

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

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

type CollectorConfigSpec added in v0.8.3

type CollectorConfigSpec struct {
	// +kubebuilder:validation:Enum:=aks;eks;gke;k3s;rke;rke2;generic
	// +kubebuilder:validation:Required
	Provider LogProvider `json:"provider"`

	SELinuxEnabled bool     `json:"seLinuxEnabled,omitempty"`
	Selector       Selector `json:"selector,omitempty"`

	AKS  *AKSSpec  `json:"aks,omitempty"`
	EKS  *EKSSpec  `json:"eks,omitempty"`
	GKE  *GKESpec  `json:"gke,omitempty"`
	K3S  *K3SSpec  `json:"k3s,omitempty"`
	RKE  *RKESpec  `json:"rke,omitempty"`
	RKE2 *RKE2Spec `json:"rke2,omitempty"`
}

CollectorConfigSpec defines the desired state of CollectorConfig

func (*CollectorConfigSpec) DeepCopy added in v0.8.3

func (in *CollectorConfigSpec) DeepCopy() *CollectorConfigSpec

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

func (*CollectorConfigSpec) DeepCopyInto added in v0.8.3

func (in *CollectorConfigSpec) DeepCopyInto(out *CollectorConfigSpec)

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

type CollectorConfigStatus added in v0.8.3

type CollectorConfigStatus struct {
	Phase      string   `json:"phase,omitempty"`
	Message    string   `json:"message,omitempty"`
	Conditions []string `json:"conditions,omitempty"`
}

CollectorConfigStatus defines the observed state of CollectorConfig

func (*CollectorConfigStatus) DeepCopy added in v0.8.3

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

func (*CollectorConfigStatus) DeepCopyInto added in v0.8.3

func (in *CollectorConfigStatus) DeepCopyInto(out *CollectorConfigStatus)

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

type ContainerEngine added in v0.6.0

type ContainerEngine string
const (
	ContainerEngineSystemd ContainerEngine = "systemd"
	ContainerEngineOpenRC  ContainerEngine = "openrc"
)

type DataPrepper added in v0.6.0

type DataPrepper struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DataPrepperSpec   `json:"spec,omitempty"`
	Status            DataPrepperStatus `json:"status,omitempty"`
}

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

func (*DataPrepper) DeepCopy added in v0.6.0

func (in *DataPrepper) DeepCopy() *DataPrepper

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

func (*DataPrepper) DeepCopyInto added in v0.6.0

func (in *DataPrepper) DeepCopyInto(out *DataPrepper)

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

func (*DataPrepper) DeepCopyObject added in v0.6.0

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

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

type DataPrepperList added in v0.6.0

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

+kubebuilder:object:root=true

func (*DataPrepperList) DeepCopy added in v0.6.0

func (in *DataPrepperList) DeepCopy() *DataPrepperList

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

func (*DataPrepperList) DeepCopyInto added in v0.6.0

func (in *DataPrepperList) DeepCopyInto(out *DataPrepperList)

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

func (*DataPrepperList) DeepCopyObject added in v0.6.0

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

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

type DataPrepperSpec added in v0.6.0

type DataPrepperSpec struct {
	*opnimeta.ImageSpec `json:",inline,omitempty"`
	// +kubebuilder:default:=latest
	Version string `json:"version"`
	// +optional
	DefaultRepo   *string                   `json:"defaultRepo,omitempty"`
	Opensearch    *OpensearchSpec           `json:"opensearch,omitempty"`
	Username      string                    `json:"username"`
	PasswordFrom  *corev1.SecretKeySelector `json:"passwordFrom,omitempty"`
	ClusterID     string                    `json:"cluster,omitempty"`
	NodeSelector  map[string]string         `json:"nodeSelector,omitempty"`
	Tolerations   []corev1.Toleration       `json:"tolerations,omitempty"`
	EnableTracing bool                      `json:"enableTracing,omitempty"`
}

func (*DataPrepperSpec) DeepCopy added in v0.6.0

func (in *DataPrepperSpec) DeepCopy() *DataPrepperSpec

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

func (*DataPrepperSpec) DeepCopyInto added in v0.6.0

func (in *DataPrepperSpec) DeepCopyInto(out *DataPrepperSpec)

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

type DataPrepperState added in v0.6.0

type DataPrepperState string
const (
	DataPrepperStatePending DataPrepperState = "pending"
	DataPrepperStateReady   DataPrepperState = "ready"
	DataprepperStateError   DataPrepperState = "error"
)

type DataPrepperStatus added in v0.6.0

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

func (*DataPrepperStatus) DeepCopy added in v0.6.0

func (in *DataPrepperStatus) DeepCopy() *DataPrepperStatus

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

func (*DataPrepperStatus) DeepCopyInto added in v0.6.0

func (in *DataPrepperStatus) DeepCopyInto(out *DataPrepperStatus)

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

type EKSSpec added in v0.6.0

type EKSSpec struct {
}

func (*EKSSpec) DeepCopy added in v0.6.0

func (in *EKSSpec) DeepCopy() *EKSSpec

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

func (*EKSSpec) DeepCopyInto added in v0.6.0

func (in *EKSSpec) DeepCopyInto(out *EKSSpec)

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

type FluentConfigSpec added in v0.6.0

type FluentConfigSpec struct {
	Fluentbit *loggingv1beta1.FluentbitSpec `json:"fluentbit,omitempty"`
	Fluentd   *loggingv1beta1.FluentdSpec   `json:"fluentd,omitempty"`
}

func (*FluentConfigSpec) DeepCopy added in v0.6.0

func (in *FluentConfigSpec) DeepCopy() *FluentConfigSpec

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

func (*FluentConfigSpec) DeepCopyInto added in v0.6.0

func (in *FluentConfigSpec) DeepCopyInto(out *FluentConfigSpec)

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

type GKESpec added in v0.6.0

type GKESpec struct {
}

func (*GKESpec) DeepCopy added in v0.6.0

func (in *GKESpec) DeepCopy() *GKESpec

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

func (*GKESpec) DeepCopyInto added in v0.6.0

func (in *GKESpec) DeepCopyInto(out *GKESpec)

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

type K3SSpec added in v0.6.0

type K3SSpec struct {
	ContainerEngine ContainerEngine `json:"containerEngine,omitempty"`
	LogPath         string          `json:"logPath,omitempty"`
}

func (*K3SSpec) DeepCopy added in v0.6.0

func (in *K3SSpec) DeepCopy() *K3SSpec

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

func (*K3SSpec) DeepCopyInto added in v0.6.0

func (in *K3SSpec) DeepCopyInto(out *K3SSpec)

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

type LogAdapter added in v0.6.0

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

	Spec   LogAdapterSpec   `json:"spec,omitempty"`
	Status LogAdapterStatus `json:"status,omitempty"`
}

LogAdapter is the Schema for the logadapters API

func (*LogAdapter) DeepCopy added in v0.6.0

func (in *LogAdapter) DeepCopy() *LogAdapter

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

func (*LogAdapter) DeepCopyInto added in v0.6.0

func (in *LogAdapter) DeepCopyInto(out *LogAdapter)

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

func (*LogAdapter) DeepCopyObject added in v0.6.0

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

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

func (*LogAdapter) Default added in v0.6.0

func (r *LogAdapter) Default()

Default implements webhook.Defaulter so a webhook will be registered for the type

func (*LogAdapter) SetupWebhookWithManager added in v0.6.0

func (r *LogAdapter) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*LogAdapter) ValidateCreate added in v0.6.0

func (r *LogAdapter) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*LogAdapter) ValidateDelete added in v0.6.0

func (r *LogAdapter) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*LogAdapter) ValidateUpdate added in v0.6.0

func (r *LogAdapter) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type LogAdapterList added in v0.6.0

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

LogAdapterList contains a list of LogAdapter

func (*LogAdapterList) DeepCopy added in v0.6.0

func (in *LogAdapterList) DeepCopy() *LogAdapterList

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

func (*LogAdapterList) DeepCopyInto added in v0.6.0

func (in *LogAdapterList) DeepCopyInto(out *LogAdapterList)

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

func (*LogAdapterList) DeepCopyObject added in v0.6.0

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

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

type LogAdapterSpec added in v0.6.0

type LogAdapterSpec struct {
	// +kubebuilder:validation:Enum:=aks;eks;gke;k3s;rke;rke2;generic
	// +kubebuilder:validation:Required
	Provider LogProvider `json:"provider"`

	OpniCluster      *OpniClusterNameSpec `json:"opniCluster,omitempty"`
	ControlNamespace *string              `json:"controlNamespace,omitempty"`

	ContainerLogDir string `json:"containerLogDir,omitempty"`
	SELinuxEnabled  bool   `json:"seLinuxEnabled,omitempty"`

	AKS  *AKSSpec  `json:"aks,omitempty"`
	EKS  *EKSSpec  `json:"eks,omitempty"`
	GKE  *GKESpec  `json:"gke,omitempty"`
	K3S  *K3SSpec  `json:"k3s,omitempty"`
	RKE  *RKESpec  `json:"rke,omitempty"`
	RKE2 *RKE2Spec `json:"rke2,omitempty"`

	FluentConfig     *FluentConfigSpec `json:"fluentConfig,omitempty"`
	RootFluentConfig *FluentConfigSpec `json:"rootFluentConfig,omitempty"`
}

LogAdapterSpec defines the desired state of LogAdapter

func (*LogAdapterSpec) DeepCopy added in v0.6.0

func (in *LogAdapterSpec) DeepCopy() *LogAdapterSpec

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

func (*LogAdapterSpec) DeepCopyInto added in v0.6.0

func (in *LogAdapterSpec) DeepCopyInto(out *LogAdapterSpec)

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

type LogAdapterStatus added in v0.6.0

type LogAdapterStatus struct {
	Phase      string   `json:"phase,omitempty"`
	Message    string   `json:"message,omitempty"`
	Conditions []string `json:"conditions,omitempty"`
}

LogAdapterStatus defines the observed state of LogAdapter

func (*LogAdapterStatus) DeepCopy added in v0.6.0

func (in *LogAdapterStatus) DeepCopy() *LogAdapterStatus

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

func (*LogAdapterStatus) DeepCopyInto added in v0.6.0

func (in *LogAdapterStatus) DeepCopyInto(out *LogAdapterStatus)

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

type LogProvider added in v0.6.0

type LogProvider string
const (
	LogProviderAKS     LogProvider = "aks"
	LogProviderEKS     LogProvider = "eks"
	LogProviderGKE     LogProvider = "gke"
	LogProviderK3S     LogProvider = "k3s"
	LogProviderRKE     LogProvider = "rke"
	LogProviderRKE2    LogProvider = "rke2"
	LogProviderGeneric LogProvider = "generic"
)

func (LogProvider) ApplyDefaults added in v0.6.0

func (p LogProvider) ApplyDefaults(a *LogAdapter)

ApplyDefaults will configure the default provider-specific settings, and apply any defaults for the Fluentbit or Fluentd specs if needed. This function will ensure the corresponding provider-specific spec field is not nil. When this function is called, a.Spec.Fluentbit and a.Spec.Fluentd are guaranteed not to be nil.

type LoggingClusterBinding added in v0.6.0

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

	Spec   LoggingClusterBindingSpec   `json:"spec,omitempty"`
	Status LoggingClusterBindingStatus `json:"status,omitempty"`
}

func (*LoggingClusterBinding) DeepCopy added in v0.6.0

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

func (*LoggingClusterBinding) DeepCopyInto added in v0.6.0

func (in *LoggingClusterBinding) DeepCopyInto(out *LoggingClusterBinding)

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

func (*LoggingClusterBinding) DeepCopyObject added in v0.6.0

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

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

type LoggingClusterBindingList added in v0.6.0

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

LoggingClusterBindingList contains a list of LoggingClusterBinding

func (*LoggingClusterBindingList) DeepCopy added in v0.6.0

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

func (*LoggingClusterBindingList) DeepCopyInto added in v0.6.0

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

func (*LoggingClusterBindingList) DeepCopyObject added in v0.6.0

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

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

type LoggingClusterBindingSpec added in v0.6.0

type LoggingClusterBindingSpec struct {
	MulticlusterUser     *MulticlusterUserRef           `json:"user,omitempty"`
	LoggingCluster       *LoggingClusterRef             `json:"loggingCluster,omitempty"`
	OpensearchClusterRef *opnimeta.OpensearchClusterRef `json:"opensearchClusterRef"`
}

func (*LoggingClusterBindingSpec) DeepCopy added in v0.6.0

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

func (*LoggingClusterBindingSpec) DeepCopyInto added in v0.6.0

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

type LoggingClusterBindingState added in v0.6.0

type LoggingClusterBindingState string
const (
	LoggingClusterBindingStateError   LoggingClusterBindingState = "Error"
	LoggingClusterBindingStateWorking LoggingClusterBindingState = "Working"
	LoggingClusterBindingStateReady   LoggingClusterBindingState = "Ready"
)

type LoggingClusterBindingStatus added in v0.6.0

type LoggingClusterBindingStatus struct {
	Conditions []string                   `json:"conditions,omitempty"`
	State      LoggingClusterBindingState `json:"state,omitempty"`
	Username   string                     `json:"username,omitempty"`
	Rolename   string                     `json:"rolename,omitempty"`
}

func (*LoggingClusterBindingStatus) DeepCopy added in v0.6.0

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

func (*LoggingClusterBindingStatus) DeepCopyInto added in v0.6.0

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

type LoggingClusterObjectRef added in v0.6.0

type LoggingClusterObjectRef struct {
	Name      string `json:"name,omitempty"`
	Namespace string `json:"namespace,omitempty"`
}

func (*LoggingClusterObjectRef) DeepCopy added in v0.6.0

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

func (*LoggingClusterObjectRef) DeepCopyInto added in v0.6.0

func (in *LoggingClusterObjectRef) DeepCopyInto(out *LoggingClusterObjectRef)

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

func (*LoggingClusterObjectRef) ObjectKeyFromRef added in v0.6.0

func (l *LoggingClusterObjectRef) ObjectKeyFromRef() types.NamespacedName

type LoggingClusterRef added in v0.6.0

type LoggingClusterRef struct {
	ID                   string                   `json:"id,omitempty"`
	LoggingClusterObject *LoggingClusterObjectRef `json:"loggingClusterName,omitempty"`
}

func (*LoggingClusterRef) DeepCopy added in v0.6.0

func (in *LoggingClusterRef) DeepCopy() *LoggingClusterRef

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

func (*LoggingClusterRef) DeepCopyInto added in v0.6.0

func (in *LoggingClusterRef) DeepCopyInto(out *LoggingClusterRef)

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

type MulticlusterRoleBinding added in v0.6.0

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

	Spec   MulticlusterRoleBindingSpec   `json:"spec,omitempty"`
	Status MulticlusterRoleBindingStatus `json:"status,omitempty"`
}

func (*MulticlusterRoleBinding) DeepCopy added in v0.6.0

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

func (*MulticlusterRoleBinding) DeepCopyInto added in v0.6.0

func (in *MulticlusterRoleBinding) DeepCopyInto(out *MulticlusterRoleBinding)

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

func (*MulticlusterRoleBinding) DeepCopyObject added in v0.6.0

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

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

type MulticlusterRoleBindingList added in v0.6.0

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

MulticlusterRoleBindingList contains a list of MulticlusterRoleBinding

func (*MulticlusterRoleBindingList) DeepCopy added in v0.6.0

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

func (*MulticlusterRoleBindingList) DeepCopyInto added in v0.6.0

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

func (*MulticlusterRoleBindingList) DeepCopyObject added in v0.6.0

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

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

type MulticlusterRoleBindingSpec added in v0.6.0

type MulticlusterRoleBindingSpec struct {
	OpensearchCluster     *opnimeta.OpensearchClusterRef `json:"opensearch,omitempty"`
	OpensearchConfig      *ClusterConfigSpec             `json:"opensearchConfig,omitempty"`
	OpensearchExternalURL string                         `json:"opensearchExternalURL,omitempty"`
}

func (*MulticlusterRoleBindingSpec) DeepCopy added in v0.6.0

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

func (*MulticlusterRoleBindingSpec) DeepCopyInto added in v0.6.0

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

type MulticlusterRoleBindingState added in v0.6.0

type MulticlusterRoleBindingState string
const (
	MulticlusterRoleBindingStateError   MulticlusterRoleBindingState = "Error"
	MulticlusterRoleBindingStateWorking MulticlusterRoleBindingState = "Working"
	MulticlusterRoleBindingStateReady   MulticlusterRoleBindingState = "Ready"
)

type MulticlusterRoleBindingStatus added in v0.6.0

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

func (*MulticlusterRoleBindingStatus) DeepCopy added in v0.6.0

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

func (*MulticlusterRoleBindingStatus) DeepCopyInto added in v0.6.0

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

type MulticlusterUser added in v0.6.0

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

	Spec   MulticlusterUserSpec   `json:"spec,omitempty"`
	Status MulticlusterUserStatus `json:"status,omitempty"`
}

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

func (*MulticlusterUser) DeepCopy added in v0.6.0

func (in *MulticlusterUser) DeepCopy() *MulticlusterUser

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

func (*MulticlusterUser) DeepCopyInto added in v0.6.0

func (in *MulticlusterUser) DeepCopyInto(out *MulticlusterUser)

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

func (*MulticlusterUser) DeepCopyObject added in v0.6.0

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

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

type MulticlusterUserList added in v0.6.0

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

MulticlusterUserList contains a list of MulticlusterUser

func (*MulticlusterUserList) DeepCopy added in v0.6.0

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

func (*MulticlusterUserList) DeepCopyInto added in v0.6.0

func (in *MulticlusterUserList) DeepCopyInto(out *MulticlusterUserList)

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

func (*MulticlusterUserList) DeepCopyObject added in v0.6.0

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

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

type MulticlusterUserRef added in v0.6.0

type MulticlusterUserRef struct {
	Name      string `json:"name,omitempty"`
	Namespace string `json:"namespace,omitempty"`
}

func (*MulticlusterUserRef) DeepCopy added in v0.6.0

func (in *MulticlusterUserRef) DeepCopy() *MulticlusterUserRef

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

func (*MulticlusterUserRef) DeepCopyInto added in v0.6.0

func (in *MulticlusterUserRef) DeepCopyInto(out *MulticlusterUserRef)

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

func (*MulticlusterUserRef) ObjectKeyFromRef added in v0.6.0

func (m *MulticlusterUserRef) ObjectKeyFromRef() types.NamespacedName

type MulticlusterUserSpec added in v0.6.0

type MulticlusterUserSpec struct {
	Password             string                         `json:"password,omitempty"`
	OpensearchClusterRef *opnimeta.OpensearchClusterRef `json:"opensearchClusterRef"`
}

func (*MulticlusterUserSpec) DeepCopy added in v0.6.0

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

func (*MulticlusterUserSpec) DeepCopyInto added in v0.6.0

func (in *MulticlusterUserSpec) DeepCopyInto(out *MulticlusterUserSpec)

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

type MulticlusterUserState added in v0.6.0

type MulticlusterUserState string
const (
	MulticlusterUserStateError   MulticlusterUserState = "Error"
	MulticlusterUserStatePending MulticlusterUserState = "Pending"
	MulticlusterUserStateCreated MulticlusterUserState = "Created"
)

type MulticlusterUserStatus added in v0.6.0

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

func (*MulticlusterUserStatus) DeepCopy added in v0.6.0

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

func (*MulticlusterUserStatus) DeepCopyInto added in v0.6.0

func (in *MulticlusterUserStatus) DeepCopyInto(out *MulticlusterUserStatus)

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

type OpensearchSettings added in v0.6.0

type OpensearchSettings struct {
	ImageOverride *string                   `json:"imageOverride,omitempty"`
	NodePools     []opsterv1.NodePool       `json:"nodePools,omitempty"`
	Dashboards    opsterv1.DashboardsConfig `json:"dashboards,omitempty"`
	Security      *opsterv1.Security        `json:"security,omitempty"`
}

func (*OpensearchSettings) DeepCopy added in v0.6.0

func (in *OpensearchSettings) DeepCopy() *OpensearchSettings

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

func (*OpensearchSettings) DeepCopyInto added in v0.6.0

func (in *OpensearchSettings) DeepCopyInto(out *OpensearchSettings)

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

type OpensearchSpec added in v0.6.0

type OpensearchSpec struct {
	Endpoint                 string `json:"endpoint,omitempty"`
	InsecureDisableSSLVerify bool   `json:"insecureDisableSSLVerify,omitempty"`
}

func (*OpensearchSpec) DeepCopy added in v0.6.0

func (in *OpensearchSpec) DeepCopy() *OpensearchSpec

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

func (*OpensearchSpec) DeepCopyInto added in v0.6.0

func (in *OpensearchSpec) DeepCopyInto(out *OpensearchSpec)

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

type OpniClusterNameSpec added in v0.6.0

type OpniClusterNameSpec struct {
	Name      string `json:"name,omitempty"`
	Namespace string `json:"namespace,omitempty"`
}

func (*OpniClusterNameSpec) DeepCopy added in v0.6.0

func (in *OpniClusterNameSpec) DeepCopy() *OpniClusterNameSpec

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

func (*OpniClusterNameSpec) DeepCopyInto added in v0.6.0

func (in *OpniClusterNameSpec) DeepCopyInto(out *OpniClusterNameSpec)

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

type OpniOpensearch added in v0.6.0

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

	Spec   OpniOpensearchSpec   `json:"spec,omitempty"`
	Status OpniOpensearchStatus `json:"status,omitempty"`
}

func (*OpniOpensearch) DeepCopy added in v0.6.0

func (in *OpniOpensearch) DeepCopy() *OpniOpensearch

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

func (*OpniOpensearch) DeepCopyInto added in v0.6.0

func (in *OpniOpensearch) DeepCopyInto(out *OpniOpensearch)

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

func (*OpniOpensearch) DeepCopyObject added in v0.6.0

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

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

type OpniOpensearchList added in v0.6.0

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

OpniOpensearchList contains a list of OpniOpensearch

func (*OpniOpensearchList) DeepCopy added in v0.6.0

func (in *OpniOpensearchList) DeepCopy() *OpniOpensearchList

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

func (*OpniOpensearchList) DeepCopyInto added in v0.6.0

func (in *OpniOpensearchList) DeepCopyInto(out *OpniOpensearchList)

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

func (*OpniOpensearchList) DeepCopyObject added in v0.6.0

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

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

type OpniOpensearchSpec added in v0.6.0

type OpniOpensearchSpec struct {
	*ClusterConfigSpec `json:",inline"`
	OpensearchSettings `json:"opensearch,omitempty"`
	ExternalURL        string                       `json:"externalURL,omitempty"`
	ImageRepo          string                       `json:"imageRepo"`
	OpensearchVersion  string                       `json:"opensearchVersion,omitempty"`
	Version            string                       `json:"version,omitempty"`
	NatsRef            *corev1.LocalObjectReference `json:"natsCluster"`
}

func (*OpniOpensearchSpec) DeepCopy added in v0.6.0

func (in *OpniOpensearchSpec) DeepCopy() *OpniOpensearchSpec

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

func (*OpniOpensearchSpec) DeepCopyInto added in v0.6.0

func (in *OpniOpensearchSpec) DeepCopyInto(out *OpniOpensearchSpec)

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

type OpniOpensearchState added in v0.6.0

type OpniOpensearchState string
const (
	OpniOpensearchStateError   OpniOpensearchState = "Error"
	OpniOpensearchStateWorking OpniOpensearchState = "Working"
	OpniOpensearchStateReady   OpniOpensearchState = "Ready"
)

type OpniOpensearchStatus added in v0.6.0

type OpniOpensearchStatus struct {
	Conditions        []string            `json:"conditions,omitempty"`
	State             OpniOpensearchState `json:"state,omitempty"`
	OpensearchVersion *string             `json:"opensearchVersion,omitempty"`
	Version           *string             `json:"version,omitempty"`
	PasswordGenerated bool                `json:"passwordGenerated,omitempty"`
}

func (*OpniOpensearchStatus) DeepCopy added in v0.6.0

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

func (*OpniOpensearchStatus) DeepCopyInto added in v0.6.0

func (in *OpniOpensearchStatus) DeepCopyInto(out *OpniOpensearchStatus)

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

type Preprocessor added in v0.9.0

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

	Spec   PreprocessorSpec   `json:"spec,omitempty"`
	Status PreprocessorStatus `json:"status,omitempty"`
}

Preprocessor is the Schema for the logadapters API

func (*Preprocessor) DeepCopy added in v0.9.0

func (in *Preprocessor) DeepCopy() *Preprocessor

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

func (*Preprocessor) DeepCopyInto added in v0.9.0

func (in *Preprocessor) DeepCopyInto(out *Preprocessor)

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

func (*Preprocessor) DeepCopyObject added in v0.9.0

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

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

type PreprocessorList added in v0.9.0

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

PreprocessorList contains a list of Preprocessor

func (*PreprocessorList) DeepCopy added in v0.9.0

func (in *PreprocessorList) DeepCopy() *PreprocessorList

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

func (*PreprocessorList) DeepCopyInto added in v0.9.0

func (in *PreprocessorList) DeepCopyInto(out *PreprocessorList)

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

func (*PreprocessorList) DeepCopyObject added in v0.9.0

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

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

type PreprocessorSpec added in v0.9.0

type PreprocessorSpec struct {
	opnimeta.ImageSpec `json:",inline,omitempty"`
	Replicas           *int32                         `json:"replicas,omitempty"`
	WriteIndex         string                         `json:"writeIndex,omitempty"`
	OpensearchCluster  *opnimeta.OpensearchClusterRef `json:"opensearch,omitempty"`
}

func (*PreprocessorSpec) DeepCopy added in v0.9.0

func (in *PreprocessorSpec) DeepCopy() *PreprocessorSpec

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

func (*PreprocessorSpec) DeepCopyInto added in v0.9.0

func (in *PreprocessorSpec) DeepCopyInto(out *PreprocessorSpec)

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

type PreprocessorState added in v0.9.0

type PreprocessorState string
const (
	PreprocessorStatePending PreprocessorState = "pending"
	PreprocessorStateReady   PreprocessorState = "ready"
	PreprocessorStateError   PreprocessorState = "error"
)

type PreprocessorStatus added in v0.9.0

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

PreprocessorStatus defines the observed state of Preprocessor

func (*PreprocessorStatus) DeepCopy added in v0.9.0

func (in *PreprocessorStatus) DeepCopy() *PreprocessorStatus

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

func (*PreprocessorStatus) DeepCopyInto added in v0.9.0

func (in *PreprocessorStatus) DeepCopyInto(out *PreprocessorStatus)

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

type RKE2Spec added in v0.6.0

type RKE2Spec struct {
	LogPath string `json:"logPath,omitempty"`
}

func (*RKE2Spec) DeepCopy added in v0.6.0

func (in *RKE2Spec) DeepCopy() *RKE2Spec

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

func (*RKE2Spec) DeepCopyInto added in v0.6.0

func (in *RKE2Spec) DeepCopyInto(out *RKE2Spec)

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

type RKESpec added in v0.6.0

type RKESpec struct {
	LogLevel opnimeta.LogLevel `json:"logLevel,omitempty"`
}

func (*RKESpec) DeepCopy added in v0.6.0

func (in *RKESpec) DeepCopy() *RKESpec

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

func (*RKESpec) DeepCopyInto added in v0.6.0

func (in *RKESpec) DeepCopyInto(out *RKESpec)

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

type Selector added in v0.8.3

type Selector struct {
	Include []SelectorConfig `json:"include,omitempty"`
	Exclude []SelectorConfig `json:"exclude,omitempty"`
}

func (*Selector) DeepCopy added in v0.8.3

func (in *Selector) DeepCopy() *Selector

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

func (*Selector) DeepCopyInto added in v0.8.3

func (in *Selector) DeepCopyInto(out *Selector)

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

type SelectorConfig added in v0.8.3

type SelectorConfig struct {
	Namespace string   `json:"namespace,omitempty"`
	PodNames  []string `json:"podNames,omitempty"`
}

func (*SelectorConfig) DeepCopy added in v0.8.3

func (in *SelectorConfig) DeepCopy() *SelectorConfig

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

func (*SelectorConfig) DeepCopyInto added in v0.8.3

func (in *SelectorConfig) DeepCopyInto(out *SelectorConfig)

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