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
- Variables
- type AKSSpec
- type AuthSpec
- type AuthStatus
- type AzureStorageSpec
- type BootstrapToken
- type BootstrapTokenList
- type Cluster
- type ClusterConfigSpec
- type ClusterList
- type ContainerEngine
- type ContainerRuntime
- type ContainerSource
- type CortexSpec
- type CortexStorageSpec
- type DataPrepper
- type DataPrepperList
- type DataPrepperSpec
- type DataPrepperState
- type DataPrepperStatus
- type DrainServiceSpec
- type EKSSpec
- type ExternalSpec
- type FilesystemStorageSpec
- type FluentConfigSpec
- type GCSStorageSpec
- type GKESpec
- type GPUControllerServiceSpec
- type Gateway
- type GatewayList
- type GatewaySpec
- type GatewayStatus
- type GpuPolicyAdapter
- type GpuPolicyAdapterList
- type GpuPolicyAdapterSpec
- type GpuPolicyAdapterStatus
- type GrafanaSpec
- type HTTPConfig
- type HTTPSource
- type ImageSpec
- type ImagesSpec
- type IndexUserState
- type InferenceServiceSpec
- type InsightsServiceSpec
- type InternalSpec
- type K3SSpec
- type Keyring
- type KeyringList
- type LogAdapter
- func (in *LogAdapter) DeepCopy() *LogAdapter
- func (in *LogAdapter) DeepCopyInto(out *LogAdapter)
- func (in *LogAdapter) DeepCopyObject() runtime.Object
- func (r *LogAdapter) Default()
- func (*LogAdapter) Hub()
- func (r *LogAdapter) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *LogAdapter) ValidateCreate() error
- func (r *LogAdapter) ValidateDelete() error
- func (r *LogAdapter) ValidateUpdate(old runtime.Object) error
- type LogAdapterList
- type LogAdapterSpec
- type LogAdapterStatus
- type LogProvider
- type LoggingCluster
- type LoggingClusterBinding
- type LoggingClusterBindingList
- type LoggingClusterBindingSpec
- type LoggingClusterBindingState
- type LoggingClusterBindingStatus
- type LoggingClusterList
- type LoggingClusterObjectRef
- type LoggingClusterRef
- type LoggingClusterSpec
- type LoggingClusterState
- type LoggingClusterStatus
- type MetricsServiceSpec
- type ModelSource
- type MonitoringCluster
- type MonitoringClusterList
- type MonitoringClusterSpec
- type MonitoringClusterStatus
- type MulticlusterRoleBinding
- type MulticlusterRoleBindingList
- type MulticlusterRoleBindingSpec
- type MulticlusterRoleBindingState
- type MulticlusterRoleBindingStatus
- type MulticlusterUser
- type MulticlusterUserList
- type MulticlusterUserRef
- type MulticlusterUserSpec
- type MulticlusterUserState
- type MulticlusterUserStatus
- type NatsAuthMethod
- type NatsSpec
- type OpenIDConfigSpec
- type OpensearchClusterSpec
- type OpensearchRole
- type OpensearchSpec
- type OpensearchStatus
- type OpensearchWorkloadOptions
- type OpensearchWorkloadSpec
- type OpniCluster
- func (in *OpniCluster) DeepCopy() *OpniCluster
- func (in *OpniCluster) DeepCopyInto(out *OpniCluster)
- func (in *OpniCluster) DeepCopyObject() runtime.Object
- func (c *OpniCluster) GetConditions() []string
- func (c *OpniCluster) GetState() string
- func (*OpniCluster) Hub()
- func (r *OpniCluster) SetupWebhookWithManager(mgr ctrl.Manager) error
- type OpniClusterList
- type OpniClusterNameSpec
- type OpniClusterSpec
- type OpniClusterState
- type OpniClusterStatus
- type PayloadReceiverServiceSpec
- type PreprocessingServiceSpec
- type PretrainedModel
- type PretrainedModelList
- type PretrainedModelSpec
- type PretrainedModelStatus
- type RKE2Spec
- type RKESpec
- type Role
- type RoleBinding
- type RoleBindingList
- type RoleList
- type S3Spec
- type S3StorageSpec
- type SSEConfig
- type ServiceKind
- func (s ServiceKind) GetImageSpec(opniCluster *OpniCluster) *opnimeta.ImageSpec
- func (s ServiceKind) GetNodeSelector(opniCluster *OpniCluster) map[string]string
- func (s ServiceKind) GetTolerations(opniCluster *OpniCluster) []corev1.Toleration
- func (s ServiceKind) ImageName() string
- func (s ServiceKind) ServiceName() string
- func (s ServiceKind) String() string
- type ServicesSpec
- type StorageBackendType
- type SwiftStorageSpec
- type UIServiceSpec
- type VGPUSpec
Constants ¶
const (
IDLabel = "opni.io/multiclusterID"
)
Variables ¶
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 )
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AKSSpec.
func (*AKSSpec) DeepCopyInto ¶
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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthSpec.
func (*AuthSpec) DeepCopyInto ¶ added in v0.4.1
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 AzureStorageSpec ¶ added in v0.4.1
type AzureStorageSpec struct { // Azure storage account name StorageAccountName string `json:"accountName,omitempty"` // Azure storage account key StorageAccountKey string `json:"accountKey,omitempty"` // Azure storage container name ContainerName string `json:"containerName,omitempty"` // Azure storage endpoint suffix without schema. The account name will be // prefixed to this value to create the FQDN Endpoint string `json:"endpointSuffix,omitempty"` // Number of retries for recoverable errors MaxRetries int `json:"maxRetries,omitempty"` HTTP HTTPConfig `json:"http,omitempty"` }
func (*AzureStorageSpec) DeepCopy ¶ added in v0.4.1
func (in *AzureStorageSpec) DeepCopy() *AzureStorageSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureStorageSpec.
func (*AzureStorageSpec) DeepCopyInto ¶ added in v0.4.1
func (in *AzureStorageSpec) DeepCopyInto(out *AzureStorageSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BootstrapToken ¶ added in v0.4.1
type BootstrapToken struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec *core.BootstrapToken `json:"spec,omitempty"` }
+kubebuilder:object:root=true
func (*BootstrapToken) DeepCopy ¶ added in v0.4.1
func (in *BootstrapToken) DeepCopy() *BootstrapToken
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootstrapToken.
func (*BootstrapToken) DeepCopyInto ¶ added in v0.4.1
func (in *BootstrapToken) DeepCopyInto(out *BootstrapToken)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BootstrapToken) DeepCopyObject ¶ added in v0.4.1
func (in *BootstrapToken) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type BootstrapTokenList ¶ added in v0.4.1
type BootstrapTokenList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []BootstrapToken `json:"items"` }
+kubebuilder:object:root=true
func (*BootstrapTokenList) DeepCopy ¶ added in v0.4.1
func (in *BootstrapTokenList) DeepCopy() *BootstrapTokenList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BootstrapTokenList.
func (*BootstrapTokenList) DeepCopyInto ¶ added in v0.4.1
func (in *BootstrapTokenList) DeepCopyInto(out *BootstrapTokenList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*BootstrapTokenList) DeepCopyObject ¶ added in v0.4.1
func (in *BootstrapTokenList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type Cluster ¶ added in v0.4.1
type Cluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec *core.Cluster `json:"spec,omitempty"` }
+kubebuilder:object:root=true
func (*Cluster) DeepCopy ¶ added in v0.4.1
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster.
func (*Cluster) DeepCopyInto ¶ added in v0.4.1
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Cluster) DeepCopyObject ¶ added in v0.4.1
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
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 ClusterList ¶ added in v0.4.1
type ClusterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Cluster `json:"items"` }
+kubebuilder:object:root=true
func (*ClusterList) DeepCopy ¶ added in v0.4.1
func (in *ClusterList) DeepCopy() *ClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterList.
func (*ClusterList) DeepCopyInto ¶ added in v0.4.1
func (in *ClusterList) DeepCopyInto(out *ClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterList) DeepCopyObject ¶ added in v0.4.1
func (in *ClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
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 CortexStorageSpec `json:"storage,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 CortexStorageSpec ¶ added in v0.4.1
type CortexStorageSpec struct { Backend StorageBackendType `json:"backend,omitempty"` S3 *S3StorageSpec `json:"s3,omitempty"` GCS *GCSStorageSpec `json:"gcs,omitempty"` Azure *AzureStorageSpec `json:"azure,omitempty"` Swift *SwiftStorageSpec `json:"swift,omitempty"` Filesystem *FilesystemStorageSpec `json:"filesystem,omitempty"` }
func (*CortexStorageSpec) DeepCopy ¶ added in v0.4.1
func (in *CortexStorageSpec) DeepCopy() *CortexStorageSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CortexStorageSpec.
func (*CortexStorageSpec) DeepCopyInto ¶ added in v0.4.1
func (in *CortexStorageSpec) DeepCopyInto(out *CortexStorageSpec)
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"` }
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 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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EKSSpec.
func (*EKSSpec) DeepCopyInto ¶
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 FilesystemStorageSpec ¶ added in v0.4.1
type FilesystemStorageSpec struct { // Local filesystem storage directory. Directory string `json:"directory,omitempty"` }
func (*FilesystemStorageSpec) DeepCopy ¶ added in v0.4.1
func (in *FilesystemStorageSpec) DeepCopy() *FilesystemStorageSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FilesystemStorageSpec.
func (*FilesystemStorageSpec) DeepCopyInto ¶ added in v0.4.1
func (in *FilesystemStorageSpec) DeepCopyInto(out *FilesystemStorageSpec)
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 GCSStorageSpec ¶ added in v0.4.1
type GCSStorageSpec struct { // GCS bucket name BucketName string `json:"bucketName,omitempty"` // JSON representing either a Google Developers Console client_credentials.json file // or a Google Developers service account key file. If empty, fallback to Google default logic. ServiceAccount string `json:"serviceAccount,omitempty"` }
func (*GCSStorageSpec) DeepCopy ¶ added in v0.4.1
func (in *GCSStorageSpec) DeepCopy() *GCSStorageSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GCSStorageSpec.
func (*GCSStorageSpec) DeepCopyInto ¶ added in v0.4.1
func (in *GCSStorageSpec) DeepCopyInto(out *GCSStorageSpec)
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GKESpec.
func (*GKESpec) DeepCopyInto ¶
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 ¶
func (in *GPUControllerServiceSpec) DeepCopy() *GPUControllerServiceSpec
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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Gateway.
func (*Gateway) DeepCopyInto ¶ added in v0.4.1
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
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"` //+kubebuilder:default=LoadBalancer ServiceType corev1.ServiceType `json:"serviceType,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"` }
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"` }
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.
func (*GpuPolicyAdapter) Hub ¶
func (*GpuPolicyAdapter) Hub()
func (*GpuPolicyAdapter) SetupWebhookWithManager ¶
func (r *GpuPolicyAdapter) SetupWebhookWithManager(mgr ctrl.Manager) error
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 ¶
func (in *GpuPolicyAdapterList) DeepCopy() *GpuPolicyAdapterList
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 ¶
func (in *GpuPolicyAdapterSpec) DeepCopy() *GpuPolicyAdapterSpec
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 ¶
func (in *GpuPolicyAdapterStatus) DeepCopy() *GpuPolicyAdapterStatus
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,omitempty"` //+kubebuilder:default="grafana/grafana:latest" Image string `json:"image,omitempty"` LogLevel string `json:"logLevel,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 HTTPConfig ¶ added in v0.4.1
type HTTPConfig struct { // The time an idle connection will remain idle before closing. IdleConnTimeout time.Duration `json:"idleConnTimeout,omitempty"` // The amount of time the client will wait for a servers response headers. ResponseHeaderTimeout time.Duration `json:"responseHeaderTimeout,omitempty"` // If the client connects via HTTPS and this option is enabled, the client will accept any certificate and hostname. InsecureSkipVerify bool `json:"insecureSkipVerify,omitempty"` // Maximum time to wait for a TLS handshake. 0 means no limit. TLSHandshakeTimeout time.Duration `json:"tlsHandshakeTimeout,omitempty"` // The time to wait for a server's first response headers after fully writing the request headers if the request has an Expect header. 0 to send the request body immediately. ExpectContinueTimeout time.Duration `json:"expectContinueTimeout,omitempty"` // Maximum number of idle (keep-alive) connections across all hosts. 0 means no limit. MaxIdleConns int `json:"maxIdleConnections,omitempty"` // Maximum number of idle (keep-alive) connections to keep per-host. If 0, a built-in default value is used. MaxIdleConnsPerHost int `json:"maxIdleConnectionsPerHost,omitempty"` // Maximum number of connections per host. 0 means no limit. MaxConnsPerHost int `json:"maxConnectionsPerHost,omitempty"` }
func (*HTTPConfig) DeepCopy ¶ added in v0.4.1
func (in *HTTPConfig) DeepCopy() *HTTPConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPConfig.
func (*HTTPConfig) DeepCopyInto ¶ added in v0.4.1
func (in *HTTPConfig) DeepCopyInto(out *HTTPConfig)
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
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageSpec.
func (*ImageSpec) DeepCopyInto ¶ added in v0.4.1
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
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 ¶
func (in *InferenceServiceSpec) DeepCopy() *InferenceServiceSpec
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new K3SSpec.
func (*K3SSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Keyring ¶ added in v0.4.1
type Keyring struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Data []byte `json:"data,omitempty"` }
+kubebuilder:object:root=true
func (*Keyring) DeepCopy ¶ added in v0.4.1
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Keyring.
func (*Keyring) DeepCopyInto ¶ added in v0.4.1
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Keyring) DeepCopyObject ¶ added in v0.4.1
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KeyringList ¶ added in v0.4.1
type KeyringList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Keyring `json:"items"` }
+kubebuilder:object:root=true
func (*KeyringList) DeepCopy ¶ added in v0.4.1
func (in *KeyringList) DeepCopy() *KeyringList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeyringList.
func (*KeyringList) DeepCopyInto ¶ added in v0.4.1
func (in *KeyringList) DeepCopyInto(out *KeyringList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KeyringList) DeepCopyObject ¶ added in v0.4.1
func (in *KeyringList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
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) Hub ¶
func (*LogAdapter) Hub()
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"` 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 ¶
func (in *LoggingClusterBinding) DeepCopy() *LoggingClusterBinding
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 ¶
func (in *LoggingClusterBindingList) DeepCopy() *LoggingClusterBindingList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoggingClusterBindingList.
func (*LoggingClusterBindingList) DeepCopyInto ¶
func (in *LoggingClusterBindingList) DeepCopyInto(out *LoggingClusterBindingList)
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 ¶
func (in *LoggingClusterBindingSpec) DeepCopy() *LoggingClusterBindingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoggingClusterBindingSpec.
func (*LoggingClusterBindingSpec) DeepCopyInto ¶
func (in *LoggingClusterBindingSpec) DeepCopyInto(out *LoggingClusterBindingSpec)
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 ¶
func (in *LoggingClusterBindingStatus) DeepCopy() *LoggingClusterBindingStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoggingClusterBindingStatus.
func (*LoggingClusterBindingStatus) DeepCopyInto ¶
func (in *LoggingClusterBindingStatus) DeepCopyInto(out *LoggingClusterBindingStatus)
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 ¶
func (in *LoggingClusterObjectRef) DeepCopy() *LoggingClusterObjectRef
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 ¶
func (in *LoggingClusterStatus) DeepCopy() *LoggingClusterStatus
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
func (in *MonitoringClusterList) DeepCopy() *MonitoringClusterList
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
func (in *MonitoringClusterSpec) DeepCopy() *MonitoringClusterSpec
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"` }
func (*MonitoringClusterStatus) DeepCopy ¶ added in v0.4.1
func (in *MonitoringClusterStatus) DeepCopy() *MonitoringClusterStatus
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 ¶
func (in *MulticlusterRoleBinding) DeepCopy() *MulticlusterRoleBinding
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 ¶
func (in *MulticlusterRoleBindingList) DeepCopy() *MulticlusterRoleBindingList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MulticlusterRoleBindingList.
func (*MulticlusterRoleBindingList) DeepCopyInto ¶
func (in *MulticlusterRoleBindingList) DeepCopyInto(out *MulticlusterRoleBindingList)
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 ¶
func (in *MulticlusterRoleBindingSpec) DeepCopy() *MulticlusterRoleBindingSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MulticlusterRoleBindingSpec.
func (*MulticlusterRoleBindingSpec) DeepCopyInto ¶
func (in *MulticlusterRoleBindingSpec) DeepCopyInto(out *MulticlusterRoleBindingSpec)
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 ¶
func (in *MulticlusterRoleBindingStatus) DeepCopy() *MulticlusterRoleBindingStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MulticlusterRoleBindingStatus.
func (*MulticlusterRoleBindingStatus) DeepCopyInto ¶
func (in *MulticlusterRoleBindingStatus) DeepCopyInto(out *MulticlusterRoleBindingStatus)
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 ¶
func (in *MulticlusterUserList) DeepCopy() *MulticlusterUserList
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 ¶
func (in *MulticlusterUserSpec) DeepCopy() *MulticlusterUserSpec
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 ¶
func (in *MulticlusterUserStatus) DeepCopy() *MulticlusterUserStatus
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NatsSpec.
func (*NatsSpec) DeepCopyInto ¶
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"` //+kubebuilder:default=openid;profile;email Scopes []string `json:"scopes,omitempty"` AllowedDomains []string `json:"allowedDomains,omitempty"` RoleAttributePath string `json:"roleAttributePath,omitempty"` InsecureSkipVerify *bool `json:"insecureSkipVerify,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 ¶
func (in *OpensearchClusterSpec) DeepCopy() *OpensearchClusterSpec
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 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 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 ¶
func (in *OpensearchWorkloadOptions) DeepCopy() *OpensearchWorkloadOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpensearchWorkloadOptions.
func (*OpensearchWorkloadOptions) DeepCopyInto ¶
func (in *OpensearchWorkloadOptions) DeepCopyInto(out *OpensearchWorkloadOptions)
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 ¶
func (in *OpensearchWorkloadSpec) DeepCopy() *OpensearchWorkloadSpec
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
func (*OpniCluster) Hub ¶
func (*OpniCluster) Hub()
func (*OpniCluster) SetupWebhookWithManager ¶
func (r *OpniCluster) SetupWebhookWithManager(mgr ctrl.Manager) error
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 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 ¶
func (in *PayloadReceiverServiceSpec) DeepCopy() *PayloadReceiverServiceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PayloadReceiverServiceSpec.
func (*PayloadReceiverServiceSpec) DeepCopyInto ¶
func (in *PayloadReceiverServiceSpec) DeepCopyInto(out *PayloadReceiverServiceSpec)
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 ¶
func (in *PreprocessingServiceSpec) DeepCopy() *PreprocessingServiceSpec
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.
func (*PretrainedModel) Hub ¶
func (*PretrainedModel) Hub()
func (*PretrainedModel) SetupWebhookWithManager ¶
func (r *PretrainedModel) SetupWebhookWithManager(mgr ctrl.Manager) error
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 ¶
func (in *PretrainedModelStatus) DeepCopy() *PretrainedModelStatus
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RKE2Spec.
func (*RKE2Spec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RKESpec ¶
func (*RKESpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RKESpec.
func (*RKESpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Role ¶ added in v0.4.1
type Role struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec *core.Role `json:"spec,omitempty"` }
+kubebuilder:object:root=true
func (*Role) DeepCopy ¶ added in v0.4.1
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Role.
func (*Role) DeepCopyInto ¶ added in v0.4.1
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Role) DeepCopyObject ¶ added in v0.4.1
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RoleBinding ¶ added in v0.4.1
type RoleBinding struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec *core.RoleBinding `json:"spec,omitempty"` }
+kubebuilder:object:root=true
func (*RoleBinding) DeepCopy ¶ added in v0.4.1
func (in *RoleBinding) DeepCopy() *RoleBinding
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleBinding.
func (*RoleBinding) DeepCopyInto ¶ added in v0.4.1
func (in *RoleBinding) DeepCopyInto(out *RoleBinding)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RoleBinding) DeepCopyObject ¶ added in v0.4.1
func (in *RoleBinding) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RoleBindingList ¶ added in v0.4.1
type RoleBindingList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []RoleBinding `json:"items"` }
+kubebuilder:object:root=true
func (*RoleBindingList) DeepCopy ¶ added in v0.4.1
func (in *RoleBindingList) DeepCopy() *RoleBindingList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleBindingList.
func (*RoleBindingList) DeepCopyInto ¶ added in v0.4.1
func (in *RoleBindingList) DeepCopyInto(out *RoleBindingList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RoleBindingList) DeepCopyObject ¶ added in v0.4.1
func (in *RoleBindingList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RoleList ¶ added in v0.4.1
type RoleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Role `json:"items"` }
+kubebuilder:object:root=true
func (*RoleList) DeepCopy ¶ added in v0.4.1
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleList.
func (*RoleList) DeepCopyInto ¶ added in v0.4.1
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RoleList) DeepCopyObject ¶ added in v0.4.1
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3Spec.
func (*S3Spec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type S3StorageSpec ¶ added in v0.4.1
type S3StorageSpec struct { // The S3 bucket endpoint. It could be an AWS S3 endpoint listed at // https://docs.aws.amazon.com/general/latest/gr/s3.html or the address of an // S3-compatible service in hostname:port format. Endpoint string `json:"endpoint,omitempty"` // S3 region. If unset, the client will issue a S3 GetBucketLocation API call // to autodetect it. Region string `json:"region,omitempty"` // S3 bucket name BucketName string `json:"bucketName,omitempty"` // S3 secret access key SecretAccessKey string `json:"secretAccessKey,omitempty"` // S3 access key ID AccessKeyID string `json:"accessKeyID,omitempty"` // If enabled, use http:// for the S3 endpoint instead of https://. This could // be useful in local dev/test environments while using an S3-compatible // backend storage, like Minio. Insecure bool `json:"insecure,omitempty"` // The signature version to use for authenticating against S3. // Supported values are: v4, v2 SignatureVersion string `json:"signatureVersion,omitempty"` SSE SSEConfig `json:"sse,omitempty"` HTTP HTTPConfig `json:"http,omitempty"` }
func (*S3StorageSpec) DeepCopy ¶ added in v0.4.1
func (in *S3StorageSpec) DeepCopy() *S3StorageSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3StorageSpec.
func (*S3StorageSpec) DeepCopyInto ¶ added in v0.4.1
func (in *S3StorageSpec) DeepCopyInto(out *S3StorageSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SSEConfig ¶ added in v0.4.1
type SSEConfig struct { // Enable AWS Server Side Encryption. Supported values: SSE-KMS, SSE-S3 Type string `json:"typ,omitempty"` // KMS Key ID used to encrypt objects in S3 KMSKeyID string `json:"kmsKeyID,omitempty"` // KMS Encryption Context used for object encryption. It expects a JSON formatted string. KMSEncryptionContext string `json:"kmsEncryptionContext,omitempty"` }
func (*SSEConfig) DeepCopy ¶ added in v0.4.1
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SSEConfig.
func (*SSEConfig) DeepCopyInto ¶ added in v0.4.1
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 )
func (ServiceKind) GetImageSpec ¶
func (s ServiceKind) GetImageSpec(opniCluster *OpniCluster) *opnimeta.ImageSpec
func (ServiceKind) GetNodeSelector ¶
func (s ServiceKind) GetNodeSelector(opniCluster *OpniCluster) map[string]string
func (ServiceKind) GetTolerations ¶
func (s ServiceKind) GetTolerations(opniCluster *OpniCluster) []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"` }
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 StorageBackendType ¶ added in v0.4.1
type StorageBackendType string
const ( StorageBackendS3 StorageBackendType = "s3" StorageBackendGCS StorageBackendType = "gcs" StorageBackendAzure StorageBackendType = "azure" StorageBackendSwift StorageBackendType = "swift" StorageBackendFilesystem StorageBackendType = "filesystem" )
type SwiftStorageSpec ¶ added in v0.4.1
type SwiftStorageSpec struct { // OpenStack Swift authentication API version. 0 to autodetect. AuthVersion int `json:"authVersion,omitempty"` // OpenStack Swift authentication URL. AuthURL string `json:"authUrl,omitempty"` // OpenStack Swift username. Username string `json:"username,omitempty"` // OpenStack Swift user's domain name. UserDomainName string `json:"userDomainName,omitempty"` // OpenStack Swift user's domain ID. UserDomainID string `json:"userDomainID,omitempty"` // OpenStack Swift user ID. UserID string `json:"userID,omitempty"` // OpenStack Swift API key. Password string `json:"password,omitempty"` // OpenStack Swift user's domain ID. DomainID string `json:"domainID,omitempty"` // OpenStack Swift user's domain name. DomainName string `json:"domainName,omitempty"` // OpenStack Swift project ID (v2,v3 auth only). ProjectID string `json:"projectID,omitempty"` // OpenStack Swift project name (v2,v3 auth only). ProjectName string `json:"projectName,omitempty"` // ID of the OpenStack Swift project's domain (v3 auth only), only needed // if it differs the from user domain. ProjectDomainID string `json:"projectDomainID,omitempty"` // Name of the OpenStack Swift project's domain (v3 auth only), only needed // if it differs from the user domain. ProjectDomainName string `json:"projectDomainName,omitempty"` // OpenStack Swift Region to use (v2,v3 auth only). RegionName string `json:"regionName,omitempty"` // Name of the OpenStack Swift container to use. The container must already // exist. ContainerName string `json:"containerName,omitempty"` // Max number of times to retry failed requests. MaxRetries int `json:"maxRetries,omitempty"` // Time after which a connection attempt is aborted. ConnectTimeout time.Duration `json:"connectTimeout,omitempty"` // Time after which an idle request is aborted. The timeout watchdog is reset // each time some data is received, so the timeout triggers after X time no // data is received on a request. RequestTimeout time.Duration `json:"requestTimeout,omitempty"` }
func (*SwiftStorageSpec) DeepCopy ¶ added in v0.4.1
func (in *SwiftStorageSpec) DeepCopy() *SwiftStorageSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SwiftStorageSpec.
func (*SwiftStorageSpec) DeepCopyInto ¶ added in v0.4.1
func (in *SwiftStorageSpec) DeepCopyInto(out *SwiftStorageSpec)
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VGPUSpec.
func (*VGPUSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Source Files ¶
- core_types.go
- dataprepper_types.go
- defaults.go
- gpupolicyadapter_conversion.go
- gpupolicyadapter_types.go
- gpupolicyadapter_webhook.go
- groupversion_info.go
- logadapter_conversion.go
- logadapter_types.go
- logadapter_webhook.go
- loggingcluster_types.go
- loggingclusterbinding_types.go
- monitoring_types.go
- multiclusterrolebinding_types.go
- multiclusteruser_types.go
- opnicluster_conversion.go
- opnicluster_meta.go
- opnicluster_types.go
- opnicluster_webhook.go
- pretrainedmodel_conversion.go
- pretrainedmodel_types.go
- pretrainedmodel_webhook.go
- zz_generated.deepcopy.go