hyperpackage

package
v0.0.0-...-42fb9ca Latest Latest
Warning

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

Go to latest
Published: May 31, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const HYPERPACK_CONTAINER_PREFIX = "hyperpackage"

Variables

This section is empty.

Functions

This section is empty.

Types

type IHyperpackageService

type IHyperpackageService interface {
	Build(dockerfileSavePath string, imageTags []string, syncOptions types.WorkspaceSyncOptions)
	Run(imageTag string, dockerOptions types.DockerOptions)
	BuildAndRun(dockerfileSavePath string, imageTags []string, jupyterOptions types.JupyterLaunchOptions, ec2Options types.EC2StartOptions, syncOptions types.WorkspaceSyncOptions, dockerOptions types.DockerOptions)
	Import(importModelFileName string, modelFlavor string, trainShape string)
	List()
	Stop(name string)
}

func HyperpackageService

func HyperpackageService(hyperpackagePath string, manifestPath string, remoteName string) IHyperpackageService

type LocalHyperpackageService

type LocalHyperpackageService struct {
	HyperpackagePath string
	ManifestPath     string
}

func (LocalHyperpackageService) Build

func (s LocalHyperpackageService) Build(dockerfileSavePath string, imageTags []string, syncOptions types.WorkspaceSyncOptions)

func (LocalHyperpackageService) BuildAndRun

func (s LocalHyperpackageService) BuildAndRun(dockerfileSavePath string, imageTags []string, jupyterOptions types.JupyterLaunchOptions, ec2Options types.EC2StartOptions, syncOptions types.WorkspaceSyncOptions, dockerOptions types.DockerOptions)

func (LocalHyperpackageService) Import

func (s LocalHyperpackageService) Import(importModelFileName string, modelFlavor string, trainShape string)

func (LocalHyperpackageService) List

func (s LocalHyperpackageService) List()

func (LocalHyperpackageService) Run

func (s LocalHyperpackageService) Run(imageTag string, dockerOptions types.DockerOptions)

func (LocalHyperpackageService) Stop

func (s LocalHyperpackageService) Stop(name string)

type RemoteHyperpackageService

type RemoteHyperpackageService struct {
	HyperpackagePath    string
	ManifestPath        string
	RemoteConfiguration types.ComputeRemoteConfiguration
}

func (RemoteHyperpackageService) Build

func (s RemoteHyperpackageService) Build(dockerfileSavePath string, imageTags []string, syncOptions types.WorkspaceSyncOptions)

func (RemoteHyperpackageService) BuildAndRun

func (s RemoteHyperpackageService) BuildAndRun(dockerfileSavePath string, imageTags []string, jupyterOptions types.JupyterLaunchOptions, ec2Options types.EC2StartOptions, syncOptions types.WorkspaceSyncOptions, dockerOptions types.DockerOptions)

func (RemoteHyperpackageService) Import

func (s RemoteHyperpackageService) Import(importModelFileName string, modelFlavor string, trainShape string)

func (RemoteHyperpackageService) List

func (s RemoteHyperpackageService) List()

func (RemoteHyperpackageService) Run

func (s RemoteHyperpackageService) Run(imageTag string, dockerOptions types.DockerOptions)

func (RemoteHyperpackageService) Stop

func (s RemoteHyperpackageService) Stop(name string)

Jump to

Keyboard shortcuts

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