Documentation
¶
Overview ¶
Package compose deploys and observes services with Docker Compose v2.
Index ¶
- func Factory(runner execx.Runner, root string) provider.Provider
- type Compose
- func (c *Compose) Apply(ctx context.Context, p *plan.Plan, st *state.Store, values map[string]string, ...) error
- func (c *Compose) Capabilities(context.Context, spec.Target) (model.Capabilities, error)
- func (c *Compose) Destroy(ctx context.Context, p *plan.Plan, st *state.Store, ...) error
- func (c *Compose) Logs(ctx context.Context, ref provider.ServiceRef, opts provider.LogOptions) (io.ReadCloser, error)
- func (c *Compose) Observe(ctx context.Context, _ provider.EnvRef, st *state.Store) (provider.Status, error)
- func (c *Compose) Operations(_ context.Context, d *model.Deployment, _ *render.Bundle, snap state.Snapshot) ([]plan.Operation, error)
- func (c *Compose) Relocate(d *model.Deployment, b *render.Bundle, dir string) (*render.Bundle, error)
- func (c *Compose) Render(ctx context.Context, d *model.Deployment) (*render.Bundle, error)
- func (c *Compose) Rollback(ctx context.Context, _ provider.EnvRef, st *state.Store, releaseID string) error
- func (c *Compose) SnapshotIDs(ctx context.Context, d *model.Deployment) (map[string][]string, error)
- func (c *Compose) Validate(_ context.Context, d *model.Deployment) output.Diagnostics
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Compose ¶
type Compose struct {
provider.ExportOnly
// contains filtered or unexported fields
}
func (*Compose) Capabilities ¶
func (*Compose) Logs ¶
func (c *Compose) Logs(ctx context.Context, ref provider.ServiceRef, opts provider.LogOptions) (io.ReadCloser, error)
func (*Compose) Operations ¶
func (*Compose) SnapshotIDs ¶
func (*Compose) Validate ¶
func (c *Compose) Validate(_ context.Context, d *model.Deployment) output.Diagnostics
Click to show internal directories.
Click to hide internal directories.