deploy

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotSupported = errors.New("operation not supported by deployment client")

ErrNotSupported is returned by deployment clients that cannot provide the requested information.

Functions

This section is empty.

Types

type DeploymentClient

type DeploymentClient interface {
	CreateContainer(name string, image string, env map[string]string, restart bool, userid string, importTypeId string) (id string, err error)
	UpdateContainer(id string, name string, image string, env map[string]string, restart bool, userid string, importTypeId string, existingRestart bool) (newId string, err error)
	RemoveContainer(id string) (err error)
	ContainerExists(id string, restart *bool) (exists bool, err error)
	// GetContainerStatus returns the current status of a single container.
	GetContainerStatus(id string, restart *bool) (status model.InstanceStatus, err error)
	// GetContainerStatuses returns the status of all known containers, keyed by container id.
	GetContainerStatuses() (statuses map[string]model.InstanceStatus, err error)
	Disconnect() (err error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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