odahuflow

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: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModelTrainingIDLogPrefix   = "mt_id"
	ModelPackagingIDLogPrefix  = "mp_id"
	ModelDeploymentIDLogPrefix = "md_id"
	ConnectionIDLogPrefix      = "conn_id"
)
View Source
const (
	LastAppliedHashAnnotation = "operator.odahuflow.org/last-applied-hash"
	PackagerSetupStep         = "setup"
	PackagerPackageStep       = "packager"
	PackagerResultStep        = "result"
	TrainerSetupStep          = "setup"
	TrainerTrainStep          = "trainer"
	TrainerValidationStep     = "validation"
	TrainerResultStep         = "result"
)
View Source
const (
	ManifestFile = "manifest.json"
)

Variables

This section is empty.

Functions

func GenerateDeploymentConnectionSecretName

func GenerateDeploymentConnectionSecretName(connName string) string

func GeneratePackageResultCMName

func GeneratePackageResultCMName(mpID string) string

func GenerateTrainingResultCMName

func GenerateTrainingResultCMName(mtID string) string

func ProduceTrainingZipName

func ProduceTrainingZipName(templateName string, conf *TrainingZipNameConfig) (string, error)

Types

type Model

type Model struct {
	Name    string `json:"model.name"`
	Version string `json:"model.version"`
}

type TrainingZipNameConfig

type TrainingZipNameConfig struct {
	Name       string
	Version    string
	CommitID   string
	RandomUUID *string
}

Jump to

Keyboard shortcuts

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