v1

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

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

type ModelList

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

ModelList contains a list of Model

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL