compose

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2026 License: Apache-2.0 Imports: 16 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	ADLabel           = "app.arenadata.io"
	ADAppTypeLabelKey = ADLabel + "/type"
	// ADAppAdcmLabelKey names the ADCM service a worker was built from, so that
	// apply can find the credentials it shares with it
	ADAppAdcmLabelKey   = ADLabel + "/adcm"
	ADVaultModeLabelKey = ADLabel + "/vault-mode"

	DefaultNetwork  = "default"
	DefaultPlatform = "linux/amd64"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Compose

type Compose struct {
	// contains filtered or unexported fields
}

func NewComposeService

func NewComposeService(ops ...command.CLIOption) (*Compose, error)

func (Compose) Cli added in v1.1.0

func (c Compose) Cli() *command.DockerCli

func (Compose) Down

func (c Compose) Down(ctx context.Context, prj *types.Project, volumes bool) error

func (Compose) Exec added in v1.1.0

func (c Compose) Exec(ctx context.Context, prj *types.Project, serviceName string, name string, args ...string) error

func (Compose) ImageUser added in v1.2.0

func (c Compose) ImageUser(ctx context.Context, image string) (string, error)

func (Compose) Info

func (c Compose) Info(ctx context.Context) (system.Info, error)

func (Compose) List

func (c Compose) List(ctx context.Context, all bool) ([]container.Summary, error)

func (Compose) ListProjects added in v1.1.0

func (c Compose) ListProjects(ctx context.Context, all bool) ([]api.Stack, error)

func (Compose) Pull added in v1.2.0

func (c Compose) Pull(ctx context.Context, prj *types.Project, platform string, serviceNames ...string) error

func (Compose) Remove added in v1.1.0

func (c Compose) Remove(ctx context.Context, prj *types.Project, services ...string) error

func (Compose) Up

func (c Compose) Up(ctx context.Context, prj *types.Project, wait bool) error

func (Compose) VolumeExists added in v1.2.0

func (c Compose) VolumeExists(ctx context.Context, name string) (bool, error)

Jump to

Keyboard shortcuts

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