v1alpha1

package
v0.0.0-...-3c84b19 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the mlserve.numaproj.io v1alpha1 API group +kubebuilder:object:generate=true +groupName=mlserve.numaproj.io

Index

Constants

This section is empty.

Variables

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

	// 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 MLInference

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

	Spec MLInferenceSpec `json:"spec,omitempty"`

	Status MLInferenceStatus `json:"status,omitempty"`
}

MLInference is the Schema for the mlinferences API

func (*MLInference) DeepCopy

func (in *MLInference) DeepCopy() *MLInference

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

func (*MLInference) DeepCopyInto

func (in *MLInference) DeepCopyInto(out *MLInference)

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

func (*MLInference) DeepCopyObject

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

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

type MLInferenceList

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

MLInferenceList contains a list of MLInference

func (*MLInferenceList) DeepCopy

func (in *MLInferenceList) DeepCopy() *MLInferenceList

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

func (*MLInferenceList) DeepCopyInto

func (in *MLInferenceList) DeepCopyInto(out *MLInferenceList)

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

func (*MLInferenceList) DeepCopyObject

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

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

type MLInferenceSpec

type MLInferenceSpec struct {
	InferenceType string     `json:"inferenceType"`
	PreSteps      Steps      `json:"preSteps,omitempty"`
	Predictors    Predictors `json:"predictor"`
	PostSteps     Steps      `json:"postSteps,omitempty"`
}

MLInferenceSpec defines the desired state of MLInference

func (*MLInferenceSpec) DeepCopy

func (in *MLInferenceSpec) DeepCopy() *MLInferenceSpec

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

func (*MLInferenceSpec) DeepCopyInto

func (in *MLInferenceSpec) DeepCopyInto(out *MLInferenceSpec)

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

type MLInferenceStatus

type MLInferenceStatus struct {
	ServingURL         string         `json:"servingURL,omitempty"`
	ServingServiceName string         `json:"servingServiceName,omitempty"`
	ComponentStatus    *ServingStatus `json:"componentStatus,omitempty"`
	Phase              string         `json:"phase,omitempty"` //Running/Failed/Degraded/Error/Pending
}

MLInferenceStatus defines the observed state of MLInference

func (*MLInferenceStatus) DeepCopy

func (in *MLInferenceStatus) DeepCopy() *MLInferenceStatus

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

func (*MLInferenceStatus) DeepCopyInto

func (in *MLInferenceStatus) DeepCopyInto(out *MLInferenceStatus)

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

type Model

type Model struct {
	ModelFormat string     `json:"modelFormat"`
	ModelStore  ModelStore `json:"modelStore"`
}

func (*Model) DeepCopy

func (in *Model) DeepCopy() *Model

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

func (*Model) DeepCopyInto

func (in *Model) DeepCopyInto(out *Model)

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

type ModelStore

type ModelStore struct {
	S3 S3ModelStore `json:"s3,omitempty"`
}

func (*ModelStore) DeepCopy

func (in *ModelStore) DeepCopy() *ModelStore

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

func (*ModelStore) DeepCopyInto

func (in *ModelStore) DeepCopyInto(out *ModelStore)

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

type Predictor

type Predictor struct {
	Name      string `json:"name"`
	Model     Model  `json:"model"`
	Condition string `json:"condition,omitempty"`
}

func (*Predictor) DeepCopy

func (in *Predictor) DeepCopy() *Predictor

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

func (*Predictor) DeepCopyInto

func (in *Predictor) DeepCopyInto(out *Predictor)

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

type Predictors

type Predictors []Predictor

func (Predictors) DeepCopy

func (in Predictors) DeepCopy() Predictors

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

func (Predictors) DeepCopyInto

func (in Predictors) DeepCopyInto(out *Predictors)

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

type S3ModelStore

type S3ModelStore struct {
	Host            string               `json:"host"`
	AccessKeyID     v1.SecretKeySelector `json:"accessKeyID,omitempty"`
	SecretAccessKey v1.SecretKeySelector `json:"secretAccessKey,omitempty"`
	Bucket          string               `json:"bucket,omitempty"`
	ObjectKey       string               `json:"objectKey,omitempty"`
	OutputPath      string               `json:"outputPath,omitempty"`
}

func (*S3ModelStore) DeepCopy

func (in *S3ModelStore) DeepCopy() *S3ModelStore

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

func (*S3ModelStore) DeepCopyInto

func (in *S3ModelStore) DeepCopyInto(out *S3ModelStore)

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

type ServingStatus

type ServingStatus struct {
	FrontlineService *Status `json:"frontlineService,omitempty"`
	Pipeline         *Status `json:"pipeline,omitempty"`
}

func (*ServingStatus) DeepCopy

func (in *ServingStatus) DeepCopy() *ServingStatus

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

func (*ServingStatus) DeepCopyInto

func (in *ServingStatus) DeepCopyInto(out *ServingStatus)

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

type Status

type Status struct {
	Phase   string `json:"phase,omitempty"`
	Message string `json:"message,omitempty"`
}

func (*Status) DeepCopy

func (in *Status) DeepCopy() *Status

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

func (*Status) DeepCopyInto

func (in *Status) DeepCopyInto(out *Status)

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

type Step

type Step struct {
	Name         string `json:"name"`
	v1alpha1.UDF `json:",inline"`
	Condition    string `json:"condition,omitempty"`
}

func (*Step) DeepCopy

func (in *Step) DeepCopy() *Step

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

func (*Step) DeepCopyInto

func (in *Step) DeepCopyInto(out *Step)

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

type Steps

type Steps []Step

type ParallelPredictors []Predictors

func (Steps) DeepCopy

func (in Steps) DeepCopy() Steps

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

func (Steps) DeepCopyInto

func (in Steps) DeepCopyInto(out *Steps)

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