v1beta2

package
v0.6.0-rc4 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2022 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Overview

+kubebuilder:validation:Optional

Package v1beta1 contains API Schema definitions for the opni.io v1beta1 API group +kubebuilder:object:generate=true +groupName=opni.io

+kubebuilder:validation:Optional

+kubebuilder:validation:Optional

Index

Constants

View Source
const (
	IDLabel = "opni.io/multiclusterID"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "opni.io", Version: "v1beta2"}

	// 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.7.4",
	}
	DefaultFluentdImage = loggingv1beta1.ImageSpec{
		Repository: "quay.io/dbason/banzaicloud-fluentd",
		Tag:        "alpine-1.13-2",
	}
	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

type AKSSpec struct {
}

func (*AKSSpec) DeepCopy

func (in *AKSSpec) DeepCopy() *AKSSpec

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

func (*AKSSpec) DeepCopyInto

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

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

type AlertingSpec added in v0.5.4

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="alertmanager-config"
	ConfigName          string                      `json:"configName,omitempty"`
	GatewayVolumeMounts []opnimeta.ExtraVolumeMount `json:"alertVolumeMounts,omitempty"`
	RawConfigMap        string                      `json:"rawConfigMap,omitempty"`
}

func (*AlertingSpec) DeepCopy added in v0.5.4

func (in *AlertingSpec) DeepCopy() *AlertingSpec

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

func (*AlertingSpec) DeepCopyInto added in v0.5.4

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 added in v0.4.1

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 added in v0.4.1

func (in *AuthSpec) DeepCopy() *AuthSpec

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

func (*AuthSpec) DeepCopyInto added in v0.4.1

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

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

type AuthStatus

type AuthStatus struct {
	NKeyUser                   string                    `json:"nKeyUser,omitempty"`
	NatsAuthSecretKeyRef       *corev1.SecretKeySelector `json:"natsAuthSecretKeyRef,omitempty"`
	GenerateOpensearchHash     *bool                     `json:"generateOpensearchHash"`
	OpensearchAuthSecretKeyRef *corev1.SecretKeySelector `json:"opensearchAuthSecretKeyRef,omitempty"`
	S3Endpoint                 string                    `json:"s3Endpoint,omitempty"`
	S3AccessKey                *corev1.SecretKeySelector `json:"s3AccessKey,omitempty"`
	S3SecretKey                *corev1.SecretKeySelector `json:"s3SecretKey,omitempty"`
}

func (*AuthStatus) DeepCopy

func (in *AuthStatus) DeepCopy() *AuthStatus

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

func (*AuthStatus) DeepCopyInto

func (in *AuthStatus) DeepCopyInto(out *AuthStatus)

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

type ClusterConfigSpec added in v0.5.0

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

func (*ClusterConfigSpec) DeepCopy added in v0.5.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.5.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 ContainerEngine

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

type ContainerRuntime

type ContainerRuntime string
const (
	// Auto will detect the container runtime based on the Kubernetes provider
	// in use. Containerd is the default, unless the cluster is using RKE.
	Auto       ContainerRuntime = "auto"
	Docker     ContainerRuntime = "docker"
	Containerd ContainerRuntime = "containerd"
	Crio       ContainerRuntime = "crio"
)

type ContainerSource

type ContainerSource struct {
	// +kubebuilder:validation:Required
	Image string `json:"image"`
	// +optional
	ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets,omitempty"`
}

func (*ContainerSource) DeepCopy

func (in *ContainerSource) DeepCopy() *ContainerSource

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

func (*ContainerSource) DeepCopyInto

func (in *ContainerSource) DeepCopyInto(out *ContainerSource)

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

type CortexSpec added in v0.4.1

type CortexSpec struct {
	Enabled        bool                   `json:"enabled,omitempty"`
	Image          *ImageSpec             `json:"image,omitempty"`
	LogLevel       string                 `json:"logLevel,omitempty"`
	Storage        *storagev1.StorageSpec `json:"storage,omitempty"`
	ExtraEnvVars   []corev1.EnvVar        `json:"extraEnvVars,omitempty"`
	DeploymentMode DeploymentMode         `json:"deploymentMode,omitempty"`

	// Overrides for specific workloads. If unset, all values have automatic
	// defaults based on the deployment mode.
	Workloads CortexWorkloadsSpec `json:"workloads,omitempty"`
}

func (*CortexSpec) DeepCopy added in v0.4.1

func (in *CortexSpec) DeepCopy() *CortexSpec

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

func (*CortexSpec) DeepCopyInto added in v0.4.1

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 added in v0.6.0

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 added in v0.6.0

func (in *CortexStatus) DeepCopy() *CortexStatus

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

func (*CortexStatus) DeepCopyInto added in v0.6.0

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

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

type CortexWorkloadSpec added in v0.6.0

type CortexWorkloadSpec struct {
	Replicas           *int32                            `json:"replicas,omitempty"`
	ExtraVolumes       []corev1.Volume                   `json:"extraVolumes,omitempty"`
	ExtraVolumeMounts  []corev1.VolumeMount              `json:"extraVolumeMounts,omitempty"`
	ExtraEnvVars       []corev1.EnvVar                   `json:"extraEnvVars,omitempty"`
	ExtraArgs          []string                          `json:"extraArgs,omitempty"`
	SidecarContainers  []corev1.Container                `json:"sidecarContainers,omitempty"`
	InitContainers     []corev1.Container                `json:"initContainers,omitempty"`
	DeploymentStrategy *appsv1.DeploymentStrategy        `json:"deploymentStrategy,omitempty"`
	UpdateStrategy     *appsv1.StatefulSetUpdateStrategy `json:"updateStrategy,omitempty"`
	SecurityContext    *corev1.SecurityContext           `json:"securityContext,omitempty"`
	Affinity           *corev1.Affinity                  `json:"affinity,omitempty"`
}

func (*CortexWorkloadSpec) DeepCopy added in v0.6.0

func (in *CortexWorkloadSpec) DeepCopy() *CortexWorkloadSpec

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

func (*CortexWorkloadSpec) DeepCopyInto added in v0.6.0

func (in *CortexWorkloadSpec) DeepCopyInto(out *CortexWorkloadSpec)

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

type CortexWorkloadsSpec added in v0.6.0

type CortexWorkloadsSpec struct {
	Distributor   *CortexWorkloadSpec `json:"distributor,omitempty"`
	Ingester      *CortexWorkloadSpec `json:"ingester,omitempty"`
	Compactor     *CortexWorkloadSpec `json:"compactor,omitempty"`
	StoreGateway  *CortexWorkloadSpec `json:"storeGateway,omitempty"`
	Ruler         *CortexWorkloadSpec `json:"ruler,omitempty"`
	QueryFrontend *CortexWorkloadSpec `json:"queryFrontend,omitempty"`
	Querier       *CortexWorkloadSpec `json:"querier,omitempty"`
	Purger        *CortexWorkloadSpec `json:"purger,omitempty"`

	// Used only when deploymentMode is AllInOne.
	AllInOne *CortexWorkloadSpec `json:"allInOne,omitempty"`
}

func (*CortexWorkloadsSpec) DeepCopy added in v0.6.0

func (in *CortexWorkloadsSpec) DeepCopy() *CortexWorkloadsSpec

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

func (*CortexWorkloadsSpec) DeepCopyInto added in v0.6.0

func (in *CortexWorkloadsSpec) DeepCopyInto(out *CortexWorkloadsSpec)

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

type DataPrepper

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`

func (*DataPrepper) DeepCopy

func (in *DataPrepper) DeepCopy() *DataPrepper

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

func (*DataPrepper) DeepCopyInto

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

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

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

type DataPrepperList

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

+kubebuilder:object:root=true

func (*DataPrepperList) DeepCopy

func (in *DataPrepperList) DeepCopy() *DataPrepperList

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

func (*DataPrepperList) DeepCopyInto

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

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

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

type DataPrepperSpec

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

func (in *DataPrepperSpec) DeepCopy() *DataPrepperSpec

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

func (*DataPrepperSpec) DeepCopyInto

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

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

type DataPrepperStatus

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

func (*DataPrepperStatus) DeepCopy

func (in *DataPrepperStatus) DeepCopy() *DataPrepperStatus

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

func (*DataPrepperStatus) DeepCopyInto

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

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

type DeploymentMode added in v0.6.0

type DeploymentMode string
const (
	DeploymentModeAllInOne        DeploymentMode = "AllInOne"
	DeploymentModeHighlyAvailable DeploymentMode = "HighlyAvailable"
)

type DrainServiceSpec

type DrainServiceSpec struct {
	opnimeta.ImageSpec `json:",inline,omitempty"`
	Enabled            *bool               `json:"enabled,omitempty"`
	NodeSelector       map[string]string   `json:"nodeSelector,omitempty"`
	Tolerations        []corev1.Toleration `json:"tolerations,omitempty"`
	Replicas           *int32              `json:"replicas,omitempty"`
}

func (*DrainServiceSpec) DeepCopy

func (in *DrainServiceSpec) DeepCopy() *DrainServiceSpec

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

func (*DrainServiceSpec) DeepCopyInto

func (in *DrainServiceSpec) DeepCopyInto(out *DrainServiceSpec)

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

type EKSSpec

type EKSSpec struct {
}

func (*EKSSpec) DeepCopy

func (in *EKSSpec) DeepCopy() *EKSSpec

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

func (*EKSSpec) DeepCopyInto

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

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

type ExternalSpec

type ExternalSpec struct {
	// +kubebuilder:validation:Required
	// External S3 endpoint URL.
	Endpoint string `json:"endpoint,omitempty"`
	// +kubebuilder:validation:Required
	// Reference to a secret containing "accessKey" and "secretKey" items. This
	// secret must already exist if specified.
	Credentials *corev1.SecretReference `json:"credentials,omitempty"`
}

func (*ExternalSpec) DeepCopy

func (in *ExternalSpec) DeepCopy() *ExternalSpec

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

func (*ExternalSpec) DeepCopyInto

func (in *ExternalSpec) DeepCopyInto(out *ExternalSpec)

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

type FluentConfigSpec

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

func (*FluentConfigSpec) DeepCopy

func (in *FluentConfigSpec) DeepCopy() *FluentConfigSpec

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

func (*FluentConfigSpec) DeepCopyInto

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

type GKESpec struct {
}

func (*GKESpec) DeepCopy

func (in *GKESpec) DeepCopy() *GKESpec

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

func (*GKESpec) DeepCopyInto

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

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

type GPUControllerServiceSpec

type GPUControllerServiceSpec struct {
	opnimeta.ImageSpec `json:",inline,omitempty"`
	Enabled            *bool               `json:"enabled,omitempty"`
	RuntimeClass       *string             `json:"runtimeClass,omitempty"`
	NodeSelector       map[string]string   `json:"nodeSelector,omitempty"`
	Tolerations        []corev1.Toleration `json:"tolerations,omitempty"`
}

func (*GPUControllerServiceSpec) DeepCopy

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

func (*GPUControllerServiceSpec) DeepCopyInto

func (in *GPUControllerServiceSpec) DeepCopyInto(out *GPUControllerServiceSpec)

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

type Gateway added in v0.4.1

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 added in v0.4.1

func (in *Gateway) DeepCopy() *Gateway

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

func (*Gateway) DeepCopyInto added in v0.4.1

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 added in v0.4.1

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

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

type GatewayList added in v0.4.1

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

+kubebuilder:object:root=true

func (*GatewayList) DeepCopy added in v0.4.1

func (in *GatewayList) DeepCopy() *GatewayList

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

func (*GatewayList) DeepCopyInto added in v0.4.1

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 added in v0.4.1

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

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

type GatewaySpec added in v0.4.1

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

	Alerting *AlertingSpec `json:"alerting,omitempty"`

	//+kubebuilder:default=LoadBalancer
	ServiceType        corev1.ServiceType     `json:"serviceType,omitempty"`
	ServiceAnnotations map[string]string      `json:"serviceAnnotations,omitempty"`
	Management         v1beta1.ManagementSpec `json:"management,omitempty"`
	//+kubebuilder:default=etcd
	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"`
}

func (*GatewaySpec) DeepCopy added in v0.4.1

func (in *GatewaySpec) DeepCopy() *GatewaySpec

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

func (*GatewaySpec) DeepCopyInto added in v0.4.1

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 added in v0.4.1

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

type GatewayStatus added in v0.4.1

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"`
}

func (*GatewayStatus) DeepCopy added in v0.4.1

func (in *GatewayStatus) DeepCopy() *GatewayStatus

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

func (*GatewayStatus) DeepCopyInto added in v0.4.1

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

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

type GpuPolicyAdapter

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

	Spec   GpuPolicyAdapterSpec   `json:"spec,omitempty"`
	Status GpuPolicyAdapterStatus `json:"status,omitempty"`
}

GpuPolicyAdapter is the Schema for the gpupolicyadapters API

func (*GpuPolicyAdapter) DeepCopy

func (in *GpuPolicyAdapter) DeepCopy() *GpuPolicyAdapter

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

func (*GpuPolicyAdapter) DeepCopyInto

func (in *GpuPolicyAdapter) DeepCopyInto(out *GpuPolicyAdapter)

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

func (*GpuPolicyAdapter) DeepCopyObject

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

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

type GpuPolicyAdapterList

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

GpuPolicyAdapterList contains a list of GpuPolicyAdapter

func (*GpuPolicyAdapterList) DeepCopy

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

func (*GpuPolicyAdapterList) DeepCopyInto

func (in *GpuPolicyAdapterList) DeepCopyInto(out *GpuPolicyAdapterList)

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

func (*GpuPolicyAdapterList) DeepCopyObject

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

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

type GpuPolicyAdapterSpec

type GpuPolicyAdapterSpec struct {
	// +kubebuilder:validation:Enum={"auto","docker","containerd","crio"}
	// +kubebuilder:default=auto
	ContainerRuntime ContainerRuntime `json:"containerRuntime,omitempty"`
	// +kubebuilder:validation:Enum={"auto","k3s","rke2","rke","none"}
	// +kubebuilder:default=auto
	KubernetesProvider string     `json:"kubernetesProvider,omitempty"`
	Images             ImagesSpec `json:"images,omitempty"`
	VGPU               *VGPUSpec  `json:"vgpu,omitempty"`
	// +kubebuilder:validation:Optional
	Template nvidiav1.ClusterPolicySpec `json:"template,omitempty"`
}

GpuPolicyAdapterSpec defines the desired state of GpuPolicyAdapter

func (*GpuPolicyAdapterSpec) DeepCopy

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

func (*GpuPolicyAdapterSpec) DeepCopyInto

func (in *GpuPolicyAdapterSpec) DeepCopyInto(out *GpuPolicyAdapterSpec)

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

type GpuPolicyAdapterStatus

type GpuPolicyAdapterStatus struct {
}

GpuPolicyAdapterStatus defines the observed state of GpuPolicyAdapter

func (*GpuPolicyAdapterStatus) DeepCopy

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

func (*GpuPolicyAdapterStatus) DeepCopyInto

func (in *GpuPolicyAdapterStatus) DeepCopyInto(out *GpuPolicyAdapterStatus)

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

type GrafanaSpec added in v0.4.1

type GrafanaSpec struct {
	Enabled bool `json:"enabled,omitempty"`
	//+kubebuilder:validation:Required
	Hostname string `json:"hostname"`

	// Contains any additional configuration or overrides for the Grafana
	// installation spec.
	grafanav1alpha1.GrafanaSpec `json:",inline,omitempty"`
}

func (*GrafanaSpec) DeepCopy added in v0.4.1

func (in *GrafanaSpec) DeepCopy() *GrafanaSpec

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

func (*GrafanaSpec) DeepCopyInto added in v0.4.1

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

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

type HTTPSource

type HTTPSource struct {
	// +kubebuilder:validation:Required
	URL string `json:"url"`
}

func (*HTTPSource) DeepCopy

func (in *HTTPSource) DeepCopy() *HTTPSource

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

func (*HTTPSource) DeepCopyInto

func (in *HTTPSource) DeepCopyInto(out *HTTPSource)

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

type ImageSpec added in v0.4.1

type ImageSpec struct {
	Image            *string                       `json:"image,omitempty"`
	ImagePullPolicy  *corev1.PullPolicy            `json:"imagePullPolicy,omitempty"`
	ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets,omitempty"`
}

func (*ImageSpec) DeepCopy added in v0.4.1

func (in *ImageSpec) DeepCopy() *ImageSpec

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

func (*ImageSpec) DeepCopyInto added in v0.4.1

func (in *ImageSpec) DeepCopyInto(out *ImageSpec)

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

func (*ImageSpec) GetImagePullPolicy added in v0.4.1

func (i *ImageSpec) GetImagePullPolicy() corev1.PullPolicy

func (*ImageSpec) GetImageWithDefault added in v0.4.1

func (i *ImageSpec) GetImageWithDefault(def string) string

type ImagesSpec

type ImagesSpec struct {
	Driver        string `json:"driver,omitempty"`
	DriverManager string `json:"driverManager,omitempty"`
	DCGM          string `json:"dcgm,omitempty"`
	DCGMExporter  string `json:"dcgmExporter,omitempty"`
	DevicePlugin  string `json:"devicePlugin,omitempty"`
	GFD           string `json:"gfd,omitempty"`
	InitContainer string `json:"initContainer,omitempty"`
	Toolkit       string `json:"toolkit,omitempty"`
	Validator     string `json:"validator,omitempty"`
	MIGManager    string `json:"migManager,omitempty"`
}

func (*ImagesSpec) DeepCopy

func (in *ImagesSpec) DeepCopy() *ImagesSpec

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

func (*ImagesSpec) DeepCopyInto

func (in *ImagesSpec) DeepCopyInto(out *ImagesSpec)

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 InferenceServiceSpec

type InferenceServiceSpec struct {
	opnimeta.ImageSpec `json:",inline,omitempty"`
	Enabled            *bool                         `json:"enabled,omitempty"`
	PretrainedModels   []corev1.LocalObjectReference `json:"pretrainedModels,omitempty"`
	NodeSelector       map[string]string             `json:"nodeSelector,omitempty"`
	Tolerations        []corev1.Toleration           `json:"tolerations,omitempty"`
}

func (*InferenceServiceSpec) DeepCopy

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

func (*InferenceServiceSpec) DeepCopyInto

func (in *InferenceServiceSpec) DeepCopyInto(out *InferenceServiceSpec)

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

type InsightsServiceSpec

type InsightsServiceSpec struct {
	opnimeta.ImageSpec `json:",inline,omitempty"`
	Enabled            *bool               `json:"enabled,omitempty"`
	NodeSelector       map[string]string   `json:"nodeSelector,omitempty"`
	Tolerations        []corev1.Toleration `json:"tolerations,omitempty"`
}

func (*InsightsServiceSpec) DeepCopy

func (in *InsightsServiceSpec) DeepCopy() *InsightsServiceSpec

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

func (*InsightsServiceSpec) DeepCopyInto

func (in *InsightsServiceSpec) DeepCopyInto(out *InsightsServiceSpec)

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

type InternalSpec

type InternalSpec struct {
	// Persistence configuration for internal S3 deployment. If unset, internal
	// S3 storage is not persistent.
	Persistence *opnimeta.PersistenceSpec `json:"persistence,omitempty"`
}

func (*InternalSpec) DeepCopy

func (in *InternalSpec) DeepCopy() *InternalSpec

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

func (*InternalSpec) DeepCopyInto

func (in *InternalSpec) DeepCopyInto(out *InternalSpec)

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

type K3SSpec

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

func (*K3SSpec) DeepCopy

func (in *K3SSpec) DeepCopy() *K3SSpec

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

func (*K3SSpec) DeepCopyInto

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

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

func (in *LogAdapter) DeepCopy() *LogAdapter

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

func (*LogAdapter) DeepCopyInto

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

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

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

func (*LogAdapter) Default

func (r *LogAdapter) Default()

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

func (*LogAdapter) SetupWebhookWithManager

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

func (*LogAdapter) ValidateCreate

func (r *LogAdapter) ValidateCreate() error

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

func (*LogAdapter) ValidateDelete

func (r *LogAdapter) ValidateDelete() error

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

func (*LogAdapter) ValidateUpdate

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

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

type LogAdapterList

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

func (in *LogAdapterList) DeepCopy() *LogAdapterList

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

func (*LogAdapterList) DeepCopyInto

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

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

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

type LogAdapterSpec

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

func (in *LogAdapterSpec) DeepCopy() *LogAdapterSpec

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

func (*LogAdapterSpec) DeepCopyInto

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

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

func (in *LogAdapterStatus) DeepCopy() *LogAdapterStatus

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

func (*LogAdapterStatus) DeepCopyInto

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

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

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 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 LoggingClusterBinding

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

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

func (*LoggingClusterBinding) DeepCopyInto

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

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

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

type LoggingClusterBindingList

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

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

func (*LoggingClusterBindingList) DeepCopyInto

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

func (*LoggingClusterBindingList) DeepCopyObject

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

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

type LoggingClusterBindingSpec

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

func (*LoggingClusterBindingSpec) DeepCopy

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

func (*LoggingClusterBindingSpec) DeepCopyInto

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

type LoggingClusterBindingState

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

type LoggingClusterBindingStatus

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

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

func (*LoggingClusterBindingStatus) DeepCopyInto

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

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 LoggingClusterObjectRef

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

func (*LoggingClusterObjectRef) DeepCopy

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

func (*LoggingClusterObjectRef) DeepCopyInto

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

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

type LoggingClusterRef

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

func (*LoggingClusterRef) DeepCopy

func (in *LoggingClusterRef) DeepCopy() *LoggingClusterRef

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

func (*LoggingClusterRef) DeepCopyInto

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

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

type LoggingClusterSpec

type LoggingClusterSpec struct {
	OpensearchClusterRef *opnimeta.OpensearchClusterRef `json:"opensearchCluster,omitempty"`
	IndexUserSecret      *corev1.LocalObjectReference   `json:"indexUser,omitempty"`
	FriendlyName         string                         `json:"friendlyName,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 MetricsServiceSpec

type MetricsServiceSpec struct {
	opnimeta.ImageSpec  `json:",inline,omitempty"`
	Enabled             *bool                         `json:"enabled,omitempty"`
	NodeSelector        map[string]string             `json:"nodeSelector,omitempty"`
	Tolerations         []corev1.Toleration           `json:"tolerations,omitempty"`
	ExtraVolumeMounts   []opnimeta.ExtraVolumeMount   `json:"extraVolumeMounts,omitempty"`
	PrometheusEndpoint  string                        `json:"prometheusEndpoint,omitempty"`
	PrometheusReference *opnimeta.PrometheusReference `json:"prometheus,omitempty"`
}

func (*MetricsServiceSpec) DeepCopy

func (in *MetricsServiceSpec) DeepCopy() *MetricsServiceSpec

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

func (*MetricsServiceSpec) DeepCopyInto

func (in *MetricsServiceSpec) DeepCopyInto(out *MetricsServiceSpec)

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

type ModelSource

type ModelSource struct {
	// +optional
	HTTP *HTTPSource `json:"http,omitempty"`
	// +optional
	Container *ContainerSource `json:"container,omitempty"`
}

func (*ModelSource) DeepCopy

func (in *ModelSource) DeepCopy() *ModelSource

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

func (*ModelSource) DeepCopyInto

func (in *ModelSource) DeepCopyInto(out *ModelSource)

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

type MonitoringCluster added in v0.4.1

type MonitoringCluster struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              MonitoringClusterSpec   `json:"spec,omitempty"`
	Status            MonitoringClusterStatus `json:"status,omitempty"`
}

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

func (*MonitoringCluster) DeepCopy added in v0.4.1

func (in *MonitoringCluster) DeepCopy() *MonitoringCluster

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

func (*MonitoringCluster) DeepCopyInto added in v0.4.1

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 added in v0.4.1

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

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

type MonitoringClusterList added in v0.4.1

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

+kubebuilder:object:root=true

func (*MonitoringClusterList) DeepCopy added in v0.4.1

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

func (*MonitoringClusterList) DeepCopyInto added in v0.4.1

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 added in v0.4.1

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

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

type MonitoringClusterSpec added in v0.4.1

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

func (*MonitoringClusterSpec) DeepCopy added in v0.4.1

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

func (*MonitoringClusterSpec) DeepCopyInto added in v0.4.1

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 added in v0.4.1

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

func (*MonitoringClusterStatus) DeepCopy added in v0.4.1

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

func (*MonitoringClusterStatus) DeepCopyInto added in v0.4.1

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

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

type MulticlusterRoleBinding

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

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

func (*MulticlusterRoleBinding) DeepCopyInto

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

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

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

type MulticlusterRoleBindingList

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

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

func (*MulticlusterRoleBindingList) DeepCopyInto

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

func (*MulticlusterRoleBindingList) DeepCopyObject

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

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

type MulticlusterRoleBindingSpec

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

func (*MulticlusterRoleBindingSpec) DeepCopy

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

func (*MulticlusterRoleBindingSpec) DeepCopyInto

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

type MulticlusterRoleBindingState

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

type MulticlusterRoleBindingStatus

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

func (*MulticlusterRoleBindingStatus) DeepCopy

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

func (*MulticlusterRoleBindingStatus) DeepCopyInto

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

type MulticlusterUser

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`

func (*MulticlusterUser) DeepCopy

func (in *MulticlusterUser) DeepCopy() *MulticlusterUser

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

func (*MulticlusterUser) DeepCopyInto

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

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

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

type MulticlusterUserList

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

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

func (*MulticlusterUserList) DeepCopyInto

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

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

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

type MulticlusterUserRef

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

func (*MulticlusterUserRef) DeepCopy

func (in *MulticlusterUserRef) DeepCopy() *MulticlusterUserRef

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

func (*MulticlusterUserRef) DeepCopyInto

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

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

type MulticlusterUserSpec

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

func (*MulticlusterUserSpec) DeepCopy

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

func (*MulticlusterUserSpec) DeepCopyInto

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

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

type MulticlusterUserStatus

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

func (*MulticlusterUserStatus) DeepCopy

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

func (*MulticlusterUserStatus) DeepCopyInto

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

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=username;nkey

const (
	NatsAuthUsername NatsAuthMethod = "username"
	NatsAuthNkey     NatsAuthMethod = "nkey"
)

type NatsSpec

type NatsSpec struct {
	// +kubebuilder:validation:Required
	// +kubebuilder:default:=username
	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"`
}

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 OpenIDConfigSpec added in v0.4.1

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 added in v0.4.1

func (in *OpenIDConfigSpec) DeepCopy() *OpenIDConfigSpec

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

func (*OpenIDConfigSpec) DeepCopyInto added in v0.4.1

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

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

type OpensearchClusterSpec

type OpensearchClusterSpec struct {
	ExternalOpensearch        *opnimeta.OpensearchClusterRef `json:"externalOpensearch"`
	Version                   string                         `json:"version"`
	Workloads                 OpensearchWorkloadSpec         `json:"workloads,omitempty"`
	DefaultRepo               *string                        `json:"defaultRepo,omitempty"`
	Image                     *opnimeta.ImageSpec            `json:"image,omitempty"`
	DashboardsImage           *opnimeta.ImageSpec            `json:"dashboardsImage,omitempty"`
	Persistence               *opnimeta.PersistenceSpec      `json:"persistence,omitempty"`
	EnableLogIndexManagement  *bool                          `json:"enableLogIndexManagement"`
	EnableIngestPreprocessing bool                           `json:"enableIngestPreprocessing,omitempty"`
	// Secret containing an item "logging.yml" with the contents of the
	// elasticsearch logging config.
	ConfigSecret *corev1.LocalObjectReference `json:"configSecret,omitempty"`
	// Reference to a secret containing the desired admin password
	AdminPasswordFrom *corev1.SecretKeySelector `json:"adminPasswordFrom,omitempty"`
}

func (*OpensearchClusterSpec) DeepCopy

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

func (*OpensearchClusterSpec) DeepCopyInto

func (in *OpensearchClusterSpec) DeepCopyInto(out *OpensearchClusterSpec)

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

type OpensearchRole

type OpensearchRole string
const (
	OpensearchDataRole       OpensearchRole = "data"
	OpensearchClientRole     OpensearchRole = "client"
	OpensearchMasterRole     OpensearchRole = "master"
	OpensearchDashboardsRole OpensearchRole = "kibana"
)

func (OpensearchRole) GetNodeSelector

func (e OpensearchRole) GetNodeSelector(opniCluster *OpniCluster) map[string]string

func (OpensearchRole) GetTolerations

func (e OpensearchRole) GetTolerations(opniCluster *OpniCluster) []corev1.Toleration

type OpensearchSettings added in v0.6.0

type OpensearchSettings struct {
	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

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

func (*OpensearchSpec) DeepCopy

func (in *OpensearchSpec) DeepCopy() *OpensearchSpec

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

func (*OpensearchSpec) DeepCopyInto

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

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

type OpensearchStatus

type OpensearchStatus struct {
	IndexState  OpniClusterState `json:"indexState,omitempty"`
	Version     *string          `json:"version,omitempty"`
	Initialized bool             `json:"initialized,omitempty"`
}

func (*OpensearchStatus) DeepCopy

func (in *OpensearchStatus) DeepCopy() *OpensearchStatus

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

func (*OpensearchStatus) DeepCopyInto

func (in *OpensearchStatus) DeepCopyInto(out *OpensearchStatus)

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

type OpensearchUpdateServiceSpec added in v0.5.4

type OpensearchUpdateServiceSpec struct {
	opnimeta.ImageSpec `json:",inline,omitempty"`
	Enabled            *bool               `json:"enabled,omitempty"`
	NodeSelector       map[string]string   `json:"nodeSelector,omitempty"`
	Tolerations        []corev1.Toleration `json:"tolerations,omitempty"`
}

func (*OpensearchUpdateServiceSpec) DeepCopy added in v0.5.4

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

func (*OpensearchUpdateServiceSpec) DeepCopyInto added in v0.5.4

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

type OpensearchWorkloadOptions

type OpensearchWorkloadOptions struct {
	Replicas     *int32                       `json:"replicas,omitempty"`
	Resources    *corev1.ResourceRequirements `json:"resources,omitempty"`
	Affinity     *corev1.Affinity             `json:"affinity,omitempty"`
	NodeSelector map[string]string            `json:"nodeSelector,omitempty"`
	Tolerations  []corev1.Toleration          `json:"tolerations,omitempty"`
}

func (*OpensearchWorkloadOptions) DeepCopy

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

func (*OpensearchWorkloadOptions) DeepCopyInto

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

type OpensearchWorkloadSpec

type OpensearchWorkloadSpec struct {
	Master     OpensearchWorkloadOptions `json:"master,omitempty"`
	Data       OpensearchWorkloadOptions `json:"data,omitempty"`
	Client     OpensearchWorkloadOptions `json:"client,omitempty"`
	Dashboards OpensearchWorkloadOptions `json:"dashboards,omitempty"`
}

func (*OpensearchWorkloadSpec) DeepCopy

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

func (*OpensearchWorkloadSpec) DeepCopyInto

func (in *OpensearchWorkloadSpec) DeepCopyInto(out *OpensearchWorkloadSpec)

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

type OpniCluster

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

	Spec   OpniClusterSpec   `json:"spec,omitempty"`
	Status OpniClusterStatus `json:"status,omitempty"`
}

OpniCluster is the Schema for the opniclusters API

func (*OpniCluster) DeepCopy

func (in *OpniCluster) DeepCopy() *OpniCluster

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

func (*OpniCluster) DeepCopyInto

func (in *OpniCluster) DeepCopyInto(out *OpniCluster)

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

func (*OpniCluster) DeepCopyObject

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

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

func (*OpniCluster) GetConditions

func (c *OpniCluster) GetConditions() []string

func (*OpniCluster) GetState

func (c *OpniCluster) GetState() string

type OpniClusterList

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

OpniClusterList contains a list of OpniCluster

func (*OpniClusterList) DeepCopy

func (in *OpniClusterList) DeepCopy() *OpniClusterList

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

func (*OpniClusterList) DeepCopyInto

func (in *OpniClusterList) DeepCopyInto(out *OpniClusterList)

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

func (*OpniClusterList) DeepCopyObject

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

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

type OpniClusterNameSpec

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

func (*OpniClusterNameSpec) DeepCopy

func (in *OpniClusterNameSpec) DeepCopy() *OpniClusterNameSpec

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

func (*OpniClusterNameSpec) DeepCopyInto

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

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

type OpniClusterSpec

type OpniClusterSpec struct {
	// +kubebuilder:default:=latest
	Version string `json:"version"`
	// +optional
	DefaultRepo *string `json:"defaultRepo,omitempty"`

	Services             ServicesSpec                  `json:"services,omitempty"`
	Opensearch           OpensearchClusterSpec         `json:"opensearch,omitempty"`
	Nats                 NatsSpec                      `json:"nats,omitempty"`
	S3                   S3Spec                        `json:"s3,omitempty"`
	NulogHyperparameters map[string]intstr.IntOrString `json:"nulogHyperparameters,omitempty"`
	DeployLogCollector   *bool                         `json:"deployLogCollector"`
	GlobalNodeSelector   map[string]string             `json:"globalNodeSelector,omitempty"`
	GlobalTolerations    []corev1.Toleration           `json:"globalTolerations,omitempty"`
}

OpniClusterSpec defines the desired state of OpniCluster

func (*OpniClusterSpec) DeepCopy

func (in *OpniClusterSpec) DeepCopy() *OpniClusterSpec

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

func (*OpniClusterSpec) DeepCopyInto

func (in *OpniClusterSpec) DeepCopyInto(out *OpniClusterSpec)

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

type OpniClusterState

type OpniClusterState string
const (
	OpniClusterStateError   OpniClusterState = "Error"
	OpniClusterStateWorking OpniClusterState = "Working"
	OpniClusterStateReady   OpniClusterState = "Ready"
)

type OpniClusterStatus

type OpniClusterStatus struct {
	Conditions              []string         `json:"conditions,omitempty"`
	State                   OpniClusterState `json:"state,omitempty"`
	OpensearchState         OpensearchStatus `json:"opensearchState,omitempty"`
	LogCollectorState       OpniClusterState `json:"logState,omitempty"`
	NatsReplicas            int32            `json:"natsReplicas,omitempty"`
	Auth                    AuthStatus       `json:"auth,omitempty"`
	PrometheusRuleNamespace string           `json:"prometheusRuleNamespace,omitempty"`
}

OpniClusterStatus defines the observed state of OpniCluster

func (*OpniClusterStatus) DeepCopy

func (in *OpniClusterStatus) DeepCopy() *OpniClusterStatus

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

func (*OpniClusterStatus) DeepCopyInto

func (in *OpniClusterStatus) DeepCopyInto(out *OpniClusterStatus)

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"`
}

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"`
}

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 PayloadReceiverServiceSpec

type PayloadReceiverServiceSpec struct {
	opnimeta.ImageSpec `json:",inline,omitempty"`
	Enabled            *bool               `json:"enabled,omitempty"`
	NodeSelector       map[string]string   `json:"nodeSelector,omitempty"`
	Tolerations        []corev1.Toleration `json:"tolerations,omitempty"`
}

func (*PayloadReceiverServiceSpec) DeepCopy

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

func (*PayloadReceiverServiceSpec) DeepCopyInto

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

type PreprocessingServiceSpec

type PreprocessingServiceSpec struct {
	opnimeta.ImageSpec `json:",inline,omitempty"`
	Enabled            *bool               `json:"enabled,omitempty"`
	NodeSelector       map[string]string   `json:"nodeSelector,omitempty"`
	Tolerations        []corev1.Toleration `json:"tolerations,omitempty"`
	Replicas           *int32              `json:"replicas,omitempty"`
}

func (*PreprocessingServiceSpec) DeepCopy

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

func (*PreprocessingServiceSpec) DeepCopyInto

func (in *PreprocessingServiceSpec) DeepCopyInto(out *PreprocessingServiceSpec)

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

type PretrainedModel

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

	Spec   PretrainedModelSpec   `json:"spec,omitempty"`
	Status PretrainedModelStatus `json:"status,omitempty"`
}

PretrainedModel is the Schema for the pretrainedmodels API

func (*PretrainedModel) DeepCopy

func (in *PretrainedModel) DeepCopy() *PretrainedModel

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

func (*PretrainedModel) DeepCopyInto

func (in *PretrainedModel) DeepCopyInto(out *PretrainedModel)

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

func (*PretrainedModel) DeepCopyObject

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

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

type PretrainedModelList

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

PretrainedModelList contains a list of PretrainedModel

func (*PretrainedModelList) DeepCopy

func (in *PretrainedModelList) DeepCopy() *PretrainedModelList

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

func (*PretrainedModelList) DeepCopyInto

func (in *PretrainedModelList) DeepCopyInto(out *PretrainedModelList)

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

func (*PretrainedModelList) DeepCopyObject

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

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

type PretrainedModelSpec

type PretrainedModelSpec struct {
	// +kubebuilder:validation:Required
	ModelSource `json:"source"`
	// +optional
	Hyperparameters map[string]intstr.IntOrString `json:"hyperparameters,omitempty"`
	Replicas        *int32                        `json:"replicas,omitempty"`
}

PretrainedModelSpec defines the desired state of PretrainedModel

func (*PretrainedModelSpec) DeepCopy

func (in *PretrainedModelSpec) DeepCopy() *PretrainedModelSpec

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

func (*PretrainedModelSpec) DeepCopyInto

func (in *PretrainedModelSpec) DeepCopyInto(out *PretrainedModelSpec)

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

type PretrainedModelStatus

type PretrainedModelStatus struct {
	ConfigMap corev1.LocalObjectReference `json:"configMap,omitempty"`
}

PretrainedModelStatus defines the observed state of PretrainedModel

func (*PretrainedModelStatus) DeepCopy

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

func (*PretrainedModelStatus) DeepCopyInto

func (in *PretrainedModelStatus) DeepCopyInto(out *PretrainedModelStatus)

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

type RKE2Spec

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

func (*RKE2Spec) DeepCopy

func (in *RKE2Spec) DeepCopy() *RKE2Spec

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

func (*RKE2Spec) DeepCopyInto

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

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

func (*RKESpec) DeepCopy

func (in *RKESpec) DeepCopy() *RKESpec

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

func (*RKESpec) DeepCopyInto

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

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

type S3Spec

type S3Spec struct {
	// If set, Opni will deploy an S3 pod to use internally.
	// Cannot be set at the same time as `external`.
	Internal *InternalSpec `json:"internal,omitempty"`
	// If set, Opni will connect to an external S3 endpoint.
	// Cannot be set at the same time as `internal`.
	External *ExternalSpec `json:"external,omitempty"`
	// Bucket used to persist nulog models.  If not set will use
	// opni-nulog-models.
	NulogS3Bucket string `json:"nulogS3Bucket,omitempty"`
	// Bucket used to persiste drain models.  It not set will use
	// opni-drain-models
	DrainS3Bucket string `json:"drainS3Bucket,omitempty"`
}

func (*S3Spec) DeepCopy

func (in *S3Spec) DeepCopy() *S3Spec

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

func (*S3Spec) DeepCopyInto

func (in *S3Spec) DeepCopyInto(out *S3Spec)

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

type ServiceKind

type ServiceKind int
const (
	InferenceService ServiceKind = iota
	DrainService
	PreprocessingService
	PayloadReceiverService
	GPUControllerService
	MetricsService
	OpensearchUpdateService
)

func (ServiceKind) GetImageSpec

func (s ServiceKind) GetImageSpec(spec OpniClusterSpec) *opnimeta.ImageSpec

func (ServiceKind) GetNodeSelector

func (s ServiceKind) GetNodeSelector(spec OpniClusterSpec) map[string]string

func (ServiceKind) GetTolerations

func (s ServiceKind) GetTolerations(spec OpniClusterSpec) []corev1.Toleration

func (ServiceKind) ImageName

func (s ServiceKind) ImageName() string

func (ServiceKind) ServiceName

func (s ServiceKind) ServiceName() string

func (ServiceKind) String

func (s ServiceKind) String() string

type ServicesSpec

type ServicesSpec struct {
	Drain            DrainServiceSpec            `json:"drain,omitempty"`
	Inference        InferenceServiceSpec        `json:"inference,omitempty"`
	Preprocessing    PreprocessingServiceSpec    `json:"preprocessing,omitempty"`
	PayloadReceiver  PayloadReceiverServiceSpec  `json:"payloadReceiver,omitempty"`
	GPUController    GPUControllerServiceSpec    `json:"gpuController,omitempty"`
	Metrics          MetricsServiceSpec          `json:"metrics,omitempty"`
	OpensearchUpdate OpensearchUpdateServiceSpec `json:"opensearchUpdate,omitempty"`
}

func (*ServicesSpec) DeepCopy

func (in *ServicesSpec) DeepCopy() *ServicesSpec

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

func (*ServicesSpec) DeepCopyInto

func (in *ServicesSpec) DeepCopyInto(out *ServicesSpec)

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

type UIServiceSpec

type UIServiceSpec struct {
	opnimeta.ImageSpec `json:",inline,omitempty"`
	Enabled            *bool               `json:"enabled,omitempty"`
	NodeSelector       map[string]string   `json:"nodeSelector,omitempty"`
	Tolerations        []corev1.Toleration `json:"tolerations,omitempty"`
}

func (*UIServiceSpec) DeepCopy

func (in *UIServiceSpec) DeepCopy() *UIServiceSpec

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

func (*UIServiceSpec) DeepCopyInto

func (in *UIServiceSpec) DeepCopyInto(out *UIServiceSpec)

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

type VGPUSpec

type VGPUSpec struct {
	LicenseConfigMap string `json:"licenseConfigMap,omitempty"`
	// +kubebuilder:validation:Enum={"nls","legacy"}
	LicenseServerKind string `json:"licenseServerKind,omitempty"`
}

func (*VGPUSpec) DeepCopy

func (in *VGPUSpec) DeepCopy() *VGPUSpec

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

func (*VGPUSpec) DeepCopyInto

func (in *VGPUSpec) DeepCopyInto(out *VGPUSpec)

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

type WorkloadStatus added in v0.6.0

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

func (*WorkloadStatus) DeepCopy added in v0.6.0

func (in *WorkloadStatus) DeepCopy() *WorkloadStatus

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

func (*WorkloadStatus) DeepCopyInto added in v0.6.0

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