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
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
Click to show internal directories.
Click to hide internal directories.