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 ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Model.
func (*Model) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Predictor.
func (*Predictor) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Status.
func (*Status) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Step.
func (*Step) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Steps.
func (Steps) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.