v1

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: May 26, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HostingDeployment

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

	Spec   HostingDeploymentSpec   `json:"spec,omitempty"`
	Status HostingDeploymentStatus `json:"status,omitempty"`
}

+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Status",type="string", JSONPath=".status.endpointStatus" +kubebuilder:printcolumn:name="Sagemaker-endpoint-name",type="string", JSONPath=".status.endpointName" HostingDeployment is the Schema for the hostingdeployments API

func (*HostingDeployment) DeepCopy added in v1.2.0

func (in *HostingDeployment) DeepCopy() *HostingDeployment

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

func (*HostingDeployment) DeepCopyInto added in v1.2.0

func (in *HostingDeployment) DeepCopyInto(out *HostingDeployment)

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

func (*HostingDeployment) DeepCopyObject added in v1.2.0

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

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

type HostingDeploymentList

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

HostingDeploymentList contains a list of HostingDeployment

func (*HostingDeploymentList) DeepCopy added in v1.2.0

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

func (*HostingDeploymentList) DeepCopyInto added in v1.2.0

func (in *HostingDeploymentList) DeepCopyInto(out *HostingDeploymentList)

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

func (*HostingDeploymentList) DeepCopyObject added in v1.2.0

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

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

type HostingDeploymentSpec

type HostingDeploymentSpec struct {

	// +kubebuilder:validation:MinLength=1
	Region *string `json:"region"`

	// A custom SageMaker endpoint to use when communicating with SageMaker.
	// +kubebuilder:validation:Pattern="^(https|http)://.*$"
	SageMakerEndpoint *string `json:"sageMakerEndpoint,omitempty"`

	KmsKeyId *string `json:"kmsKeyId,omitempty"`

	// +kubebuilder:validation:MinItems=1
	ProductionVariants []commonv1.ProductionVariant `json:"productionVariants"`

	Models []commonv1.Model `json:"models"`

	Tags []commonv1.Tag `json:"tags,omitempty"`

	// The SageMaker endpoint name. If it is empty the operator will populate
	// it with a generated name.
	// +kubebuilder:validation:MaxLength=63
	EndpointName *string `json:"endpointName,omitempty"`

	RetainAllVariantProperties *bool `json:"retainAllVariantProperties,omitempty"`

	ExcludeRetainedVariantProperties []commonv1.VariantProperty `json:"excludeRetainedVariantProperties,omitempty"`
}

HostingDeploymentSpec defines the desired state of HostingDeployment

func (*HostingDeploymentSpec) DeepCopy added in v1.2.0

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

func (*HostingDeploymentSpec) DeepCopyInto added in v1.2.0

func (in *HostingDeploymentSpec) DeepCopyInto(out *HostingDeploymentSpec)

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

type HostingDeploymentStatus

type HostingDeploymentStatus struct {
	// https://docs.aws.amazon.com/sagemaker/latest/dg/API_CreateEndpoint.html#SageMaker-CreateEndpoint-request-EndpointName
	EndpointName string `json:"endpointName,omitempty"`

	// https://docs.aws.amazon.com/sagemaker/latest/dg/API_CreateEndpoint.html#SageMaker-CreateEndpoint-request-EndpointConfigName
	EndpointConfigName string `json:"endpointConfigName,omitempty"`

	EndpointUrl string `json:"endpointUrl,omitempty"`

	// https://docs.aws.amazon.com/sagemaker/latest/dg/API_DescribeEndpoint.html#SageMaker-DescribeEndpoint-response-EndpointStatus
	EndpointStatus string `json:"endpointStatus,omitempty"`

	// https://docs.aws.amazon.com/sagemaker/latest/dg/API_DescribeEndpoint.html#SageMaker-DescribeEndpoint-response-EndpointArn
	EndpointArn string `json:"endpointArn,omitempty"`

	// https://docs.aws.amazon.com/sagemaker/latest/dg/API_DescribeEndpoint.html#SageMaker-DescribeEndpoint-response-CreationTime
	CreationTime *metav1.Time `json:"creationTime,omitempty"`

	// https://docs.aws.amazon.com/sagemaker/latest/dg/API_DescribeEndpoint.html#SageMaker-DescribeEndpoint-response-FailureReason
	FailureReason string `json:"failureReason,omitempty"`

	// This field contains additional information about failures.
	Additional string `json:"additional,omitempty"`

	LastCheckTime *metav1.Time `json:"lastCheckTime,omitempty"`

	// https://docs.aws.amazon.com/sagemaker/latest/dg/API_DescribeEndpoint.html#API_DescribeEndpoint_ResponseSyntax
	LastModifiedTime *metav1.Time `json:"lastModifiedTime,omitempty"`

	// https://docs.aws.amazon.com/sagemaker/latest/dg/API_ProductionVariantSummary.html
	ProductionVariants []*commonv1.ProductionVariantSummary `json:"productionVariants,omitempty"`

	ModelNames []*commonv1.KeyValuePair `json:"modelNames,omitempty"`
}

HostingDeploymentStatus defines the observed state of HostingDeployment

func (*HostingDeploymentStatus) DeepCopy added in v1.2.0

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

func (*HostingDeploymentStatus) DeepCopyInto added in v1.2.0

func (in *HostingDeploymentStatus) DeepCopyInto(out *HostingDeploymentStatus)

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