deployment

package
v0.0.0-...-58c3220 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ModelDeployment

type ModelDeployment struct {
	// Model deployment id
	ID string `json:"id"`
	// Deletion mark
	DeletionMark bool `json:"deletionMark,omitempty" swaggerignore:"true"`
	// CreatedAt
	CreatedAt time.Time `json:"createdAt,omitempty"`
	// UpdatedAt
	UpdatedAt time.Time `json:"updatedAt,omitempty"`
	// Model deployment specification
	Spec v1alpha1.ModelDeploymentSpec `json:"spec,omitempty"`
	// Model deployment status
	Status v1alpha1.ModelDeploymentStatus `json:"status,omitempty"`
}

func (*ModelDeployment) Scan

func (in *ModelDeployment) Scan(value interface{}) error

func (ModelDeployment) Value

func (in ModelDeployment) Value() (driver.Value, error)

type ModelRoute

type ModelRoute struct {
	// Model route id
	ID string `json:"id"`
	// Default routes cannot be deleted by user. They are managed by system
	// One ModelDeployment has exactly one default Route that gives 100% traffic to the model
	Default bool `json:"default,omitempty"`
	// Deletion mark
	DeletionMark bool `json:"deletionMark,omitempty" swaggerignore:"true"`
	// CreatedAt
	CreatedAt time.Time `json:"createdAt,omitempty"`
	// UpdatedAt
	UpdatedAt time.Time `json:"updatedAt,omitempty"`
	// Model route specification
	Spec v1alpha1.ModelRouteSpec `json:"spec,omitempty"`
	// Model route status
	Status v1alpha1.ModelRouteStatus `json:"status,omitempty"`
}

func (*ModelRoute) Scan

func (in *ModelRoute) Scan(value interface{}) error

func (ModelRoute) Value

func (in ModelRoute) Value() (driver.Value, error)

Jump to

Keyboard shortcuts

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