v1beta1

package
v0.0.0-...-91183f6 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package v1beta1 contains API Schema definitions for the mlflow v1beta1 API group +kubebuilder:object:generate=true +groupName=mlflow.trendyol.com

Index

Constants

This section is empty.

Variables

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

type MLFlow struct {
	Status            MLFlowStatus `json:"status,omitempty"`
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              MLFlowSpec `json:"spec,omitempty"`
}

MLFlow is the Schema for the mlflows API

func (*MLFlow) DeepCopy

func (in *MLFlow) DeepCopy() *MLFlow

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

func (*MLFlow) DeepCopyInto

func (in *MLFlow) DeepCopyInto(out *MLFlow)

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

func (*MLFlow) DeepCopyObject

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

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

type MLFlowList

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

MLFlowList contains a list of MLFlow

func (*MLFlowList) DeepCopy

func (in *MLFlowList) DeepCopy() *MLFlowList

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

func (*MLFlowList) DeepCopyInto

func (in *MLFlowList) DeepCopyInto(out *MLFlowList)

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

func (*MLFlowList) DeepCopyObject

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

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

type MLFlowSpec

type MLFlowSpec struct {

	// Image of the MLFlow server
	Image string `json:"image,omitempty"`

	// Image of the MLFlow model
	ModelImage string `json:"modelImage,omitempty"`

	// Name of the ConfigMap for MLFlowSpec's configuration
	// +kubebuilder:validation:MinLength=1
	ConfigMapName string `json:"configMapName"`

	// Image of the MLFlow model
	ModelSyncPeriodInMinutes int `json:"modelSyncPeriodInMinutes,omitempty"`

	// Quantity of instances
	// +kubebuilder:validation:Minimum=1
	Replicas int32 `json:"replicas,omitempty"`
}

MLFlowSpec defines the desired state of MLFlow

func (*MLFlowSpec) DeepCopy

func (in *MLFlowSpec) DeepCopy() *MLFlowSpec

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

func (*MLFlowSpec) DeepCopyInto

func (in *MLFlowSpec) DeepCopyInto(out *MLFlowSpec)

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

type MLFlowStatus

type MLFlowStatus struct {

	// ActiveModels is the active instances of the MLflow model deployments
	ActiveModels map[string]corev1.ObjectReference `json:"activeModels,omitempty"`

	// Active is the active instance of the MLflow server deployment
	// +optional
	Active corev1.ObjectReference `json:"active,omitempty"`
}

MLFlowStatus defines the observed state of MLFlow

func (*MLFlowStatus) DeepCopy

func (in *MLFlowStatus) DeepCopy() *MLFlowStatus

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

func (*MLFlowStatus) DeepCopyInto

func (in *MLFlowStatus) DeepCopyInto(out *MLFlowStatus)

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
JackTT - Gopher 🇻🇳