Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Packager ¶
type Packager struct {
// contains filtered or unexported fields
}
func NewPackager ¶
func NewPackager( packagingClient pack_api_client.Client, connClient conn_api_client.Client, config config.PackagerConfig, ) *Packager
func (*Packager) SaveResult ¶
This function saves a packaging result. To do this, it performs the following steps:
- It extracts the packaging entity from repository storage, for example, from the API server.
- It reads the packaging result file from workspace.
- Finally, it saves the packaging results.
func (*Packager) SetupPackager ¶
This function prepares a packaging environment. To do this, it performs the following steps:
- It extracts the packaging entity from repository storage, for example, from the API server.
- It downloads a trained artifact from object storage.
- Finally, it saves the packaging entity to allow a packager to use it.
Click to show internal directories.
Click to hide internal directories.