packager

package
v0.0.0-...-db3a1d9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2019 License: Apache-2.0 Imports: 17 Imported by: 0

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(
	packRepo packaging_repository.Repository,
	connRepo connection_repository.Repository,
	modelPackagingID string,
) *Packager

func (*Packager) SaveResult

func (p *Packager) SaveResult() error

This function saves a packaging result. To do this, it performs the following steps:

  1. It extracts the packaging entity from repository storage, for example, from the EDI server.
  2. It reads the packaging result file from workspace.
  3. Finally, it saves the packaging results.

func (*Packager) SetupPackager

func (p *Packager) SetupPackager() (err error)

This function prepares a packaging environment. To do this, it performs the following steps:

  1. It extracts the packaging entity from repository storage, for example, from the EDI server.
  2. It downloads a trained artifact from object storage.
  3. Finally, it saves the packaging entity to allow a packager to use it.

Jump to

Keyboard shortcuts

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