Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ModelSpec `json:"spec,omitempty"`
Status ModelStatus `json:"status,omitempty"`
}
Model is the Schema for the hostingdeployments API
func (*Model) DeepCopy ¶ added in v1.2.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Model.
func (*Model) DeepCopyInto ¶ added in v1.2.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Model) DeepCopyObject ¶ added in v1.2.0
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ModelList ¶
type ModelList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Model `json:"items"`
}
ModelList contains a list of Model
func (*ModelList) DeepCopy ¶ added in v1.2.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelList.
func (*ModelList) DeepCopyInto ¶ added in v1.2.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ModelList) DeepCopyObject ¶ added in v1.2.0
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ModelSpec ¶
type ModelSpec struct {
Containers []*commonv1.ContainerDefinition `json:"containers,omitempty"`
EnableNetworkIsolation *bool `json:"enableNetworkIsolation,omitempty"`
ExecutionRoleArn *string `json:"executionRoleArn"`
PrimaryContainer *commonv1.ContainerDefinition `json:"primaryContainer,omitempty"`
Tags []commonv1.Tag `json:"tags,omitempty"`
VpcConfig *commonv1.VpcConfig `json:"vpcConfig,omitempty"`
Region *string `json:"region"`
SageMakerEndpoint *string `json:"sageMakerEndpoint,omitempty"`
}
ModelSpec defines the desired state of Model
func (*ModelSpec) DeepCopy ¶ added in v1.2.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelSpec.
func (*ModelSpec) DeepCopyInto ¶ added in v1.2.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ModelStatus ¶
type ModelStatus struct {
// The status of the model.
Status string `json:"status,omitempty"`
// The name of the model in SageMaker.
SageMakerModelName string `json:"sageMakerModelName,omitempty"`
// The last time this status was updated.
LastCheckTime *metav1.Time `json:"lastUpdateTime,omitempty"`
// The Model ARN of the SageMaker model
ModelArn string `json:"modelArn,omitempty"`
// Field to store additional information, for example if
// we are unable to check the status in sagemaker we update this.
Additional string `json:"additional,omitempty"`
}
ModelStatus defines the observed state of Model
func (*ModelStatus) DeepCopy ¶ added in v1.2.0
func (in *ModelStatus) DeepCopy() *ModelStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelStatus.
func (*ModelStatus) DeepCopyInto ¶ added in v1.2.0
func (in *ModelStatus) DeepCopyInto(out *ModelStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.