compose

package
v1.13.4 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2026 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Overview

Package compose deploys and observes services with Docker Compose v2.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Factory

func Factory(runner execx.Runner, root string) provider.Provider

Types

type Compose

type Compose struct {
	provider.ExportOnly
	// contains filtered or unexported fields
}

func New

func New(runner execx.Runner, root string) *Compose

func (*Compose) Apply

func (c *Compose) Apply(ctx context.Context, p *plan.Plan, st *state.Store, values map[string]string, events chan<- provider.Event) error

func (*Compose) Capabilities

func (c *Compose) Capabilities(context.Context, spec.Target) (model.Capabilities, error)

func (*Compose) Destroy

func (c *Compose) Destroy(ctx context.Context, p *plan.Plan, st *state.Store, opts provider.DestroyOptions) error

func (*Compose) Logs

func (*Compose) Observe

func (c *Compose) Observe(ctx context.Context, _ provider.EnvRef, st *state.Store) (provider.Status, error)

func (*Compose) Operations

func (c *Compose) Operations(_ context.Context, d *model.Deployment, _ *render.Bundle, snap state.Snapshot) ([]plan.Operation, error)

func (*Compose) Relocate

func (c *Compose) Relocate(d *model.Deployment, b *render.Bundle, dir string) (*render.Bundle, error)

func (*Compose) Render

func (c *Compose) Render(ctx context.Context, d *model.Deployment) (*render.Bundle, error)

func (*Compose) Rollback

func (c *Compose) Rollback(ctx context.Context, _ provider.EnvRef, st *state.Store, releaseID string) error

func (*Compose) SnapshotIDs

func (c *Compose) SnapshotIDs(ctx context.Context, d *model.Deployment) (map[string][]string, error)

func (*Compose) Validate

Jump to

Keyboard shortcuts

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