Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the serving v1alpha1 API group +kubebuilder:object:generate=true +groupName=serving.kserve.io
Copyright 2021 IBM Corporation ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2021 IBM Corporation ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2021 IBM Corporation ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2021 IBM Corporation ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- Variables
- type BuiltInAdapter
- type Container
- type FailureInfo
- type FailureReason
- type GpuRequest
- type Model
- type ModelState
- type ModelType
- type Predictor
- func (in *Predictor) DeepCopy() *Predictor
- func (in *Predictor) DeepCopyInto(out *Predictor)
- func (in *Predictor) DeepCopyObject() runtime.Object
- func (pr *Predictor) GetResource(ctx context.Context, nname types.NamespacedName, kclient client.Client) (Predictor, error)
- func (pr *Predictor) GetType() string
- func (pr *Predictor) UpdateResource(ctx context.Context, kclient client.Client, predictor Predictor) error
- type PredictorCRRegistry
- type PredictorEvent
- type PredictorList
- type PredictorRegistry
- type PredictorRuntime
- type PredictorSource
- type PredictorSpec
- type PredictorStatus
- type RuntimeRef
- type S3StorageSource
- type ServerType
- type ServingRuntime
- type ServingRuntimeList
- type ServingRuntimePodSpec
- type ServingRuntimeSpec
- type ServingRuntimeStatus
- type Storage
- type StorageHelper
- type TransitionStatus
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "serving.kserve.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 BuiltInAdapter ¶
type BuiltInAdapter struct { // ServerType can be one of triton/mlserver and the runtime's container must have the same name ServerType ServerType `json:"serverType,omitempty"` // Port which the runtime server listens for model management requests RuntimeManagementPort int `json:"runtimeManagementPort,omitempty"` // Fixed memory overhead to subtract from runtime container's memory allocation to determine model capacity MemBufferBytes int `json:"memBufferBytes,omitempty"` // Timeout for model loading operations in milliseconds ModelLoadingTimeoutMillis int `json:"modelLoadingTimeoutMillis,omitempty"` }
func (*BuiltInAdapter) DeepCopy ¶
func (in *BuiltInAdapter) DeepCopy() *BuiltInAdapter
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuiltInAdapter.
func (*BuiltInAdapter) DeepCopyInto ¶
func (in *BuiltInAdapter) DeepCopyInto(out *BuiltInAdapter)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Container ¶
type Container struct { Name string `json:"name,omitempty" validate:"required"` Image string `json:"image,omitempty" validate:"required"` Command []string `json:"command,omitempty"` Args []string `json:"args,omitempty"` Resources corev1.ResourceRequirements `json:"resources,omitempty"` Env []corev1.EnvVar `json:"env,omitempty"` ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy,omitempty"` WorkingDir string `json:"workingDir,omitempty"` // Periodic probe of container liveness. // Container will be restarted if the probe fails. // More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes // +optional LivenessProbe *corev1.Probe `json:"livenessProbe,omitempty"` }
func (*Container) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Container.
func (*Container) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FailureInfo ¶
type FailureInfo struct { // Name of component to which the failure relates (usually Pod name) //+optional Location string `json:"location,omitempty"` // High level class of failure //+optional Reason FailureReason `json:"reason,omitempty"` // Detailed error message //+optional Message string `json:"message,omitempty"` // Internal ID of model, tied to specific Spec contents //+optional ModelId string `json:"modelId,omitempty"` // Time failure occurred or was discovered //+optional Time *metav1.Time `json:"time,omitempty"` }
func (*FailureInfo) DeepCopy ¶
func (in *FailureInfo) DeepCopy() *FailureInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FailureInfo.
func (*FailureInfo) DeepCopyInto ¶
func (in *FailureInfo) DeepCopyInto(out *FailureInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FailureReason ¶
type FailureReason string
FailureReason enum +kubebuilder:validation:Enum=ModelLoadFailed;RuntimeUnhealthy;NoSupportingRuntime;RuntimeNotRecognized;InvalidPredictorSpec
const ( // The model failed to load within a ServingRuntime container ModelLoadFailed FailureReason = "ModelLoadFailed" // Corresponding ServingRuntime containers failed to start or are unhealthy RuntimeUnhealthy FailureReason = "RuntimeUnhealthy" // There are no ServingRuntime which support the specified model type NoSupportingRuntime FailureReason = "NoSupportingRuntime" // There is no ServingRuntime defined with the specified runtime name RuntimeNotRecognized FailureReason = "RuntimeNotRecognized" // The current Predictor Spec is invalid or unsupported InvalidPredictorSpec FailureReason = "InvalidPredictorSpec" )
FailureReason enum values
type GpuRequest ¶
type GpuRequest string
GpuRequest constant for specifying GPU requirement or preference +kubebuilder:validation:Enum=required;preferred
const ( // Predictor requires GPU Required GpuRequest = "required" // Predictor prefers GPU Preferred GpuRequest = "preferred" )
GpuRequest Enum
type Model ¶
type Model struct { // +required Type ModelType `json:"modelType"` // The path to the model files within the storage // +required Path string `json:"path"` // The path to the schema file within the storage // +optional SchemaPath *string `json:"schemaPath,omitempty"` // +optional Storage *Storage `json:"storage,omitempty"` }
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 ModelState ¶
type ModelState string
ModelState enum +kubebuilder:validation:Enum="";Pending;Standby;Loading;Loaded;FailedToLoad
const ( // Model is not yet registered Pending ModelState = "Pending" // Model is available but not loaded (will load when used) Standby ModelState = "Standby" // Model is loading Loading ModelState = "Loading" // At least one copy of the model is loaded Loaded ModelState = "Loaded" // All copies of the model failed to load FailedToLoad ModelState = "FailedToLoad" )
ModelState Enum values
type ModelType ¶
type ModelType struct { // +required Name string `json:"name"` // +optional Version *string `json:"version,omitempty"` }
func (*ModelType) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelType.
func (*ModelType) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Predictor ¶
type Predictor struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PredictorSpec `json:"spec,omitempty"` // +kubebuilder:default={transitionStatus:UpToDate, activeModelState:Pending, targetModelState:"", available:false, failedCopies:0} Status PredictorStatus `json:"status,omitempty"` }
Predictor is the Schema for the predictors API +kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Type",type="string",JSONPath=".spec.modelType.name" +kubebuilder:printcolumn:name="Available",type="boolean",JSONPath=".status.available" +kubebuilder:printcolumn:name="ActiveModel",type="string",JSONPath=".status.activeModelState" +kubebuilder:printcolumn:name="TargetModel",type="string",JSONPath=".status.targetModelState" +kubebuilder:printcolumn:name="Transition",type="string",JSONPath=".status.transitionStatus" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
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.
func (*Predictor) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Predictor) GetResource ¶
type PredictorCRRegistry ¶
+kubebuilder:object:generate=false
func (PredictorCRRegistry) Get ¶
func (pr PredictorCRRegistry) Get(ctx context.Context, name types.NamespacedName) (*Predictor, error)
func (PredictorCRRegistry) GetSourceName ¶
func (pr PredictorCRRegistry) GetSourceName() string
func (PredictorCRRegistry) UpdateStatus ¶
UpdateStatus returns true if update was successful
type PredictorEvent ¶
+kubebuilder:object:generate=false
type PredictorList ¶
type PredictorList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Predictor `json:"items"` }
PredictorList contains a list of Predictor
func (*PredictorList) DeepCopy ¶
func (in *PredictorList) DeepCopy() *PredictorList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PredictorList.
func (*PredictorList) DeepCopyInto ¶
func (in *PredictorList) DeepCopyInto(out *PredictorList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PredictorList) DeepCopyObject ¶
func (in *PredictorList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PredictorRegistry ¶
type PredictorRegistry interface { Get(ctx context.Context, name types.NamespacedName) (*Predictor, error) UpdateStatus(ctx context.Context, predictor *Predictor) (bool, error) GetSourceName() string }
+kubebuilder:object:generate=false
type PredictorRuntime ¶
type PredictorRuntime struct { // one-of these must be present *RuntimeRef `json:",inline"` }
see if this is possible
func (*PredictorRuntime) DeepCopy ¶
func (in *PredictorRuntime) DeepCopy() *PredictorRuntime
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PredictorRuntime.
func (*PredictorRuntime) DeepCopyInto ¶
func (in *PredictorRuntime) DeepCopyInto(out *PredictorRuntime)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PredictorSource ¶
type PredictorSource interface { StartWatch() (PredictorRegistry, <-chan PredictorEvent, error) // GetSourceId return short, fixed and unique identifier for this source GetSourceId() string }
+kubebuilder:object:generate=false PredictorSource provides a registry of Predictors along with a channel of update events corresponding to the Predictors. An event should be produced for every Predictor upon starting, and subsequently each time any Predictor is added, has its Spec modified, or is deleted.
type PredictorSpec ¶
type PredictorSpec struct { // NOT YET SUPPORTED // +optional ServiceAccountName *string `json:"serviceAccountName,omitempty"` // +required Model `json:",inline"` // May be absent, "preferred" or "required" // +optional Gpu *GpuRequest `json:"gpu,omitempty"` // If omitted a compatible runtime is selected based on the model type (if available) // +optional Runtime *PredictorRuntime `json:"runtime,omitempty"` }
PredictorSpec defines the desired state of Predictor
func (*PredictorSpec) DeepCopy ¶
func (in *PredictorSpec) DeepCopy() *PredictorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PredictorSpec.
func (*PredictorSpec) DeepCopyInto ¶
func (in *PredictorSpec) DeepCopyInto(out *PredictorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PredictorStatus ¶
type PredictorStatus struct { // Whether the predictor endpoint is available Available bool `json:"available"` // Whether the available predictor endpoint reflects the current Spec or is in transition // +kubebuilder:default=UpToDate TransitionStatus TransitionStatus `json:"transitionStatus"` // High level state string: Pending, Standby, Loading, Loaded, FailedToLoad // +kubebuilder:default=Pending ActiveModelState ModelState `json:"activeModelState"` // +kubebuilder:default="" TargetModelState ModelState `json:"targetModelState"` // Details of last failure, when load of target model is failed or blocked //+optional LastFailureInfo *FailureInfo `json:"lastFailureInfo,omitempty"` // Addressable endpoint for the deployed trained model // This will be "static" and will not change when the model is mutated // +optional HTTPEndpoint string `json:"httpEndpoint"` // +optional GrpcEndpoint string `json:"grpcEndpoint"` // How many copies of this predictor's models failed to load recently // +kubebuilder:default=0 FailedCopies int `json:"failedCopies"` }
PredictorStatus defines the observed state of Predictor
func (*PredictorStatus) DeepCopy ¶
func (in *PredictorStatus) DeepCopy() *PredictorStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PredictorStatus.
func (*PredictorStatus) DeepCopyInto ¶
func (in *PredictorStatus) DeepCopyInto(out *PredictorStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PredictorStatus) WaitingForRuntime ¶
func (s *PredictorStatus) WaitingForRuntime() bool
type RuntimeRef ¶
type RuntimeRef struct {
Name string `json:"name"`
}
func (*RuntimeRef) DeepCopy ¶
func (in *RuntimeRef) DeepCopy() *RuntimeRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimeRef.
func (*RuntimeRef) DeepCopyInto ¶
func (in *RuntimeRef) DeepCopyInto(out *RuntimeRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type S3StorageSource ¶
type S3StorageSource struct { // +required SecretKey string `json:"secretKey" validation:"required"` // +optional Bucket *string `json:"bucket,omitempty" validation:"required"` }
func (*S3StorageSource) DeepCopy ¶
func (in *S3StorageSource) DeepCopy() *S3StorageSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new S3StorageSource.
func (*S3StorageSource) DeepCopyInto ¶
func (in *S3StorageSource) DeepCopyInto(out *S3StorageSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServerType ¶
type ServerType string
ServerType constant for specifying the runtime name +kubebuilder:validation:Enum=triton;mlserver
const ( // Model server is Triton Triton ServerType = "triton" // Model server is MLServer MLServer ServerType = "mlserver" )
ServerType Enum
type ServingRuntime ¶
type ServingRuntime struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ServingRuntimeSpec `json:"spec,omitempty"` Status ServingRuntimeStatus `json:"status,omitempty"` }
ServingRuntime is the Schema for the servingruntimes API +kubebuilder:object:root=true +kubebuilder:printcolumn:name="Disabled",type="boolean",JSONPath=".spec.disabled" +kubebuilder:printcolumn:name="ModelType",type="string",JSONPath=".spec.supportedModelTypes[*].name" +kubebuilder:printcolumn:name="Containers",type="string",JSONPath=".spec.containers[*].name" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (*ServingRuntime) DeepCopy ¶
func (in *ServingRuntime) DeepCopy() *ServingRuntime
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServingRuntime.
func (*ServingRuntime) DeepCopyInto ¶
func (in *ServingRuntime) DeepCopyInto(out *ServingRuntime)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServingRuntime) DeepCopyObject ¶
func (in *ServingRuntime) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (ServingRuntime) Disabled ¶
func (sr ServingRuntime) Disabled() bool
type ServingRuntimeList ¶
type ServingRuntimeList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ServingRuntime `json:"items"` }
ServingRuntimeList contains a list of ServingRuntime +kubebuilder:object:root=true
func (*ServingRuntimeList) DeepCopy ¶
func (in *ServingRuntimeList) DeepCopy() *ServingRuntimeList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServingRuntimeList.
func (*ServingRuntimeList) DeepCopyInto ¶
func (in *ServingRuntimeList) DeepCopyInto(out *ServingRuntimeList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServingRuntimeList) DeepCopyObject ¶
func (in *ServingRuntimeList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServingRuntimePodSpec ¶
type ServingRuntimePodSpec struct { // List of containers belonging to the pod. // Containers cannot currently be added or removed. // There must be at least one container in a Pod. // Cannot be updated. // +patchMergeKey=name // +patchStrategy=merge Containers []Container `json:"containers" patchStrategy:"merge" patchMergeKey:"name" validate:"required"` // NodeSelector is a selector which must be true for the pod to fit on a node. // Selector which must match a node's labels for the pod to be scheduled on that node. // More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ // +optional NodeSelector map[string]string `json:"nodeSelector,omitempty"` // If specified, the pod's scheduling constraints // +optional Affinity *corev1.Affinity `json:"affinity,omitempty"` // If specified, the pod's tolerations. // +optional Tolerations []corev1.Toleration `json:"tolerations,omitempty"` }
func (*ServingRuntimePodSpec) DeepCopy ¶
func (in *ServingRuntimePodSpec) DeepCopy() *ServingRuntimePodSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServingRuntimePodSpec.
func (*ServingRuntimePodSpec) DeepCopyInto ¶
func (in *ServingRuntimePodSpec) DeepCopyInto(out *ServingRuntimePodSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServingRuntimeSpec ¶
type ServingRuntimeSpec struct { // Model formats and version supported by this runtime SupportedModelTypes []ModelType `json:"supportedModelTypes,omitempty"` // Set to true to disable use of this runtime // +optional Disabled *bool `json:"disabled,omitempty"` // Grpc endpoint for internal model-management (implementing mmesh.ModelRuntime gRPC service) // Assumed to be single-model runtime if omitted // +optional GrpcMultiModelManagementEndpoint *string `json:"grpcEndpoint,omitempty"` // Grpc endpoint for inferencing // +optional GrpcDataEndpoint *string `json:"grpcDataEndpoint,omitempty"` // Configure the number of replicas in the Deployment generated by this ServingRuntime // If specified, this overrides the podsPerRuntime configuration value // +optional Replicas *uint16 `json:"replicas,omitempty"` // Configuration for this runtime's use of the storage helper (model puller) // It is enabled unless explicitly disabled // +optional StorageHelper *StorageHelper `json:"storageHelper,omitempty"` ServingRuntimePodSpec `json:",inline"` // Provide the details about built-in runtime adapter // +optional BuiltInAdapter *BuiltInAdapter `json:"builtInAdapter,omitempty"` }
ServingRuntimeSpec defines the desired state of ServingRuntime
func (*ServingRuntimeSpec) DeepCopy ¶
func (in *ServingRuntimeSpec) DeepCopy() *ServingRuntimeSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServingRuntimeSpec.
func (*ServingRuntimeSpec) DeepCopyInto ¶
func (in *ServingRuntimeSpec) DeepCopyInto(out *ServingRuntimeSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServingRuntimeStatus ¶
type ServingRuntimeStatus struct { }
ServingRuntimeStatus defines the observed state of ServingRuntime
func (*ServingRuntimeStatus) DeepCopy ¶
func (in *ServingRuntimeStatus) DeepCopy() *ServingRuntimeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServingRuntimeStatus.
func (*ServingRuntimeStatus) DeepCopyInto ¶
func (in *ServingRuntimeStatus) DeepCopyInto(out *ServingRuntimeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Storage ¶
type Storage struct { // One-of these must be present PersistentVolumeClaim *corev1.PersistentVolumeClaimVolumeSource `json:"persistentVolumeClaim,omitempty"` S3 *S3StorageSource `json:"s3,omitempty"` }
func (*Storage) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Storage.
func (*Storage) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StorageHelper ¶
type StorageHelper struct { // +optional Disabled bool `json:"disabled,omitempty"` }
func (*StorageHelper) DeepCopy ¶
func (in *StorageHelper) DeepCopy() *StorageHelper
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageHelper.
func (*StorageHelper) DeepCopyInto ¶
func (in *StorageHelper) DeepCopyInto(out *StorageHelper)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TransitionStatus ¶
type TransitionStatus string
TransitionStatus enum +kubebuilder:validation:Enum=UpToDate;InProgress;BlockedByFailedLoad;InvalidSpec
const ( // Predictor is up-to-date (reflects current spec) UpToDate TransitionStatus = "UpToDate" // Waiting for target model to reach state of active model InProgress TransitionStatus = "InProgress" // Target model failed to load BlockedByFailedLoad TransitionStatus = "BlockedByFailedLoad" // TBD InvalidSpec TransitionStatus = "InvalidSpec" )
TransitionStatus Enum values