Documentation ¶
Index ¶
- Constants
- func GenerateDeploymentConnectionSecretName(connName string) string
- func GeneratePackageResultCMName(mpID string) string
- func GenerateTrainingResultCMName(mtID string) string
- func ObjsEqualByHash(firstObj, secondObj metav1.Object) bool
- func ProduceTrainingZipName(templateName string, conf *TrainingZipNameConfig) (string, error)
- func StoreHash(obj metav1.Object) error
- func StoreHashKnative(obj *knservingv1alpha1.Configuration) error
- type Model
- type TrainingZipNameConfig
Constants ¶
View Source
const ( ModelTrainingIDLogPrefix = "mt_id" ModelPackagingIDLogPrefix = "mp_id" ModelDeploymentIDLogPrefix = "md_id" ConnectionIDLogPrefix = "conn_id" )
View Source
const ( LastAppliedHashAnnotation = "operator.legion.org/last-applied-hash" PackagerSetupStep = "setup" PackagerPackageStep = "packager" PackagerResultStep = "result" TrainerSetupStep = "setup" TrainerTrainStep = "trainer" TrainerResultStep = "result" )
View Source
const (
ManifestFile = "manifest.json"
)
Variables ¶
This section is empty.
Functions ¶
func ObjsEqualByHash ¶
func ProduceTrainingZipName ¶
func ProduceTrainingZipName(templateName string, conf *TrainingZipNameConfig) (string, error)
func StoreHashKnative ¶
func StoreHashKnative(obj *knservingv1alpha1.Configuration) error
Compute hash and store it in the annotations
Types ¶
Click to show internal directories.
Click to hide internal directories.