package
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: Apr 13, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
const (
METADATA_KEY_LAST_PREPPED_VERSION = "last-prepped-version"
)
type MLModel struct {
gorm.Model
Name string `gorm:"index:ml_model_name_namespace_id_unique,unique"`
NamespaceID uint `gorm:"index:ml_model_name_namespace_id_unique,unique"`
Namespace Namespace
}
type MLModelTag struct {
gorm.Model
TagName string `gorm:"index:ml_model_tag_ml_model_id_unique,unique"`
MLModelID uint `gorm:"index:ml_model_tag_ml_model_id_unique,unique"`
MLModel MLModel
MLModelVersionID uint
MLModelVersion MLModelVersion
}
type Namespace struct {
gorm.Model
Name string `gorm:"index:namespace_name_unique,unique"`
}
type ServiceMetadata struct {
gorm.Model
Key string `gorm:"index:service_metadata_key_unique,unique"`
Value string
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.