v1beta1

package
v0.12.1 Latest Latest
Warning

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

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

Documentation

Overview

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

+kubebuilder:validation:Optional

Index

Constants

This section is empty.

Variables

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

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type AuthStatus

type AuthStatus struct {
	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 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 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"`
	Workload           WorkloadDrainServiceSpec `json:"workload,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 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 GPUControllerServiceSpec

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

func (*GPUControllerServiceSpec) DeepCopy

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

func (*GPUControllerServiceSpec) DeepCopyInto

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

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

type 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 InferenceServiceSpec

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

func (*InferenceServiceSpec) DeepCopy

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

func (*InferenceServiceSpec) DeepCopyInto

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

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

type InsightsServiceSpec

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

func (*InsightsServiceSpec) DeepCopy

func (in *InsightsServiceSpec) DeepCopy() *InsightsServiceSpec

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

func (*InsightsServiceSpec) DeepCopyInto

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

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

type InternalSpec

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

func (*InternalSpec) DeepCopy

func (in *InternalSpec) DeepCopy() *InternalSpec

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

func (*InternalSpec) DeepCopyInto

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

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

type 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 OpensearchRole

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

type OpensearchStatus

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

func (*OpensearchStatus) DeepCopy

func (in *OpensearchStatus) DeepCopy() *OpensearchStatus

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

func (*OpensearchStatus) DeepCopyInto

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

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

type OpensearchUpdateServiceSpec

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

func (*OpensearchUpdateServiceSpec) DeepCopy

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

func (*OpensearchUpdateServiceSpec) DeepCopyInto

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

type OpniCluster

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

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

OpniCluster is the Schema for the opniclusters API

func (*OpniCluster) DeepCopy

func (in *OpniCluster) DeepCopy() *OpniCluster

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

func (*OpniCluster) DeepCopyInto

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

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

func (*OpniCluster) DeepCopyObject

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

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

func (*OpniCluster) GetConditions

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

func (*OpniCluster) GetState

func (c *OpniCluster) GetState() string

type OpniClusterList

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

OpniClusterList contains a list of OpniCluster

func (*OpniClusterList) DeepCopy

func (in *OpniClusterList) DeepCopy() *OpniClusterList

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

func (*OpniClusterList) DeepCopyInto

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

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

func (*OpniClusterList) DeepCopyObject

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

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

type OpniClusterSpec

type OpniClusterSpec struct {
	// +kubebuilder:default:=latest
	Version string `json:"version"`
	// +optional
	DefaultRepo          *string                        `json:"defaultRepo,omitempty"`
	NatsRef              corev1.LocalObjectReference    `json:"natsCluster"`
	Services             ServicesSpec                   `json:"services,omitempty"`
	Opensearch           *opnimeta.OpensearchClusterRef `json:"opensearch,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"`
	LogCollectorState       OpniClusterState `json:"logState,omitempty"`
	Auth                    AuthStatus       `json:"auth,omitempty"`
	PrometheusRuleNamespace string           `json:"prometheusRuleNamespace,omitempty"`
	IndexState              OpniClusterState `json:"indexState,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

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

func (*PayloadReceiverServiceSpec) DeepCopyInto

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

type PreprocessingServiceSpec

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

func (*PreprocessingServiceSpec) DeepCopy

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

func (*PreprocessingServiceSpec) DeepCopyInto

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

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

type PretrainedModel

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

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

PretrainedModel is the Schema for the pretrainedmodels API

func (*PretrainedModel) DeepCopy

func (in *PretrainedModel) DeepCopy() *PretrainedModel

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

func (*PretrainedModel) DeepCopyInto

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

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

func (*PretrainedModel) DeepCopyObject

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

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

type PretrainedModelList

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

PretrainedModelList contains a list of PretrainedModel

func (*PretrainedModelList) DeepCopy

func (in *PretrainedModelList) DeepCopy() *PretrainedModelList

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

func (*PretrainedModelList) DeepCopyInto

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

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

func (*PretrainedModelList) DeepCopyObject

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

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

type PretrainedModelSpec

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

PretrainedModelSpec defines the desired state of PretrainedModel

func (*PretrainedModelSpec) DeepCopy

func (in *PretrainedModelSpec) DeepCopy() *PretrainedModelSpec

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

func (*PretrainedModelSpec) DeepCopyInto

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

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

type PretrainedModelStatus

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

PretrainedModelStatus defines the observed state of PretrainedModel

func (*PretrainedModelStatus) DeepCopy

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

func (*PretrainedModelStatus) DeepCopyInto

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

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

type S3Spec

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

func (*S3Spec) DeepCopy

func (in *S3Spec) DeepCopy() *S3Spec

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

func (*S3Spec) DeepCopyInto

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

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

type ServiceKind

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

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"`
	OpensearchUpdate   OpensearchUpdateServiceSpec   `json:"opensearchUpdate,omitempty"`
	TrainingController TrainingControllerServiceSpec `json:"trainingController,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 TrainingControllerServiceSpec added in v0.8.0

type TrainingControllerServiceSpec 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 (*TrainingControllerServiceSpec) DeepCopy added in v0.8.0

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

func (*TrainingControllerServiceSpec) DeepCopyInto added in v0.8.0

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

type WorkloadDrainServiceSpec struct {
	Enabled  *bool  `json:"enabled,omitempty"`
	Replicas *int32 `json:"replicas,omitempty"`
}

func (*WorkloadDrainServiceSpec) DeepCopy added in v0.8.0

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

func (*WorkloadDrainServiceSpec) DeepCopyInto added in v0.8.0

func (in *WorkloadDrainServiceSpec) DeepCopyInto(out *WorkloadDrainServiceSpec)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL