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: 0

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