Versions in this module Expand all Collapse all v0 v0.0.0 Sep 5, 2024 Changes in this version + type Bind struct + Shift bool + Source string + Target string + Type string + type Compose struct + ComposeProject *types.Project + Dag graph.Graph[string, string] + ExportPath string + Name string + Profiles []string + Project string + Services map[string]Service + func BuildDirect(p *types.Project, conf *cliconfig.Config) (*Compose, error) + func (app *Compose) AttachVolumesForService(service string) error + func (app *Compose) CreateBindsForService(service string) error + func (app *Compose) CreateGPUForService(service string) error + func (app *Compose) CreateVolumesForService(service string) error + func (app *Compose) DeleteVolumesForService(service string) error + func (app *Compose) Down(force, volumes bool, timeout int) error + func (app *Compose) Export(volumes bool, customVolumesOnly bool) error + func (app *Compose) ExportInstance(service string, volumes bool) error + func (app *Compose) ExportVolume(pool, volume string) error + func (app *Compose) GetProfiles() []string + func (app *Compose) GetProject() string + func (app *Compose) Info() error + func (app *Compose) InitContainerForService(service string) error + func (app *Compose) ListVolumesForService(service string) ([]string, error) + func (app *Compose) Order(reverse bool) []string + func (app *Compose) Remove(timeout int, force, stop, volumes bool) error + func (app *Compose) RemoveContainerForService(service string, force bool) error + func (app *Compose) Restart() error + func (app *Compose) RestartContainerForService(service string) error + func (app *Compose) SanityCheck() error + func (app *Compose) Snapshot(noexpiry, stateful, volumes bool) error + func (app *Compose) SnapshotInstance(service string, noexpiry, stateful, volumes bool) error + func (app *Compose) SnapshotVolume(pool, volume string, noexpiry, stateful, volumes bool) error + func (app *Compose) Start(wait bool) error + func (app *Compose) StartContainerForService(service string, wait bool) error + func (app *Compose) Stop(stateful, force bool, timeout int) error + func (app *Compose) StopContainerForService(service string, stateful, force bool, timeout int) error + func (app *Compose) Up() error + func (c *Compose) DependentsForService(s string) ([]string, error) + func (c *Compose) ListServices() []string + func (c *Compose) ParseServers(remotes ...string) ([]remoteResource, error) + func (c *Compose) StartAll(wait bool) error + func (c *Compose) StartService(s string, wait bool) error + func (c *Compose) StopAll(stateful, force bool, timeout int) error + func (c *Compose) StopService(s string, stateful, force bool, timeout int) error + func (c *Compose) String() string + type SanityCheckError struct + Err error + Step string + func (e *SanityCheckError) Error() string + type Service struct + AdditionalProfiles []string + BindMounts map[string]Bind + CloudInitUserData string + CloudInitUserDataFile string + DependsOn []string + Environment map[string]*string + EnvironmentFile string + GPU bool + Image string + InventoryGroups []string + Name string + Snapshot *Snapshot + Storage string + Volumes map[string]*Volume + func (s *Service) String() string + type Snapshot struct + Expiry string + Pattern string + Schedule string + type Volume struct + Mountpoint string + Name string + Pool string + Snapshot *Snapshot + func (v *Volume) CreateName(application string, service string, volume string) string