Documentation
¶
Index ¶
- Variables
- type AlternativeVolumes
- type BuildOptions
- type CreateOptions
- type DownOptions
- type Duration
- type LogOptions
- type Networks
- type Project
- func (p *Project) GetLocalMountCandidates(filter string) []string
- func (p *Project) GetLocalMounts(filter string) []string
- func (p *Project) GetScenarios(filter string) []string
- func (p *Project) Mount(ctx context.Context, sourceName, path string) ([]string, error)
- func (p *Project) Reload(ctx context.Context) error
- func (p *Project) SaveState() error
- func (p *Project) Umount(ctx context.Context, sourceName string) ([]string, error)
- func (p *Project) Validate() error
- func (p *Project) WithSelectedServices(names []string, options ...types.DependencyOption) (*Project, error)
- type PsOptions
- type RunOptions
- type ScenarioConfig
- type ScenarioConfigs
- type SourceConfig
- type SourceConfigs
- type StartOptions
- type UpOptions
Constants ¶
This section is empty.
Variables ¶
View Source
var IgnoreDependencies = types.IgnoreDependencies
View Source
var IncludeDependents = types.IncludeDependents
View Source
var ProjectLabel = api.ProjectLabel
View Source
var ServiceLabel = api.ServiceLabel
View Source
var WorkingDirLabel = api.WorkingDirLabel
Functions ¶
This section is empty.
Types ¶
type AlternativeVolumes ¶
type AlternativeVolumes []string
type BuildOptions ¶
type BuildOptions = api.BuildOptions
type CreateOptions ¶
type CreateOptions = api.CreateOptions
type DownOptions ¶
type DownOptions = api.DownOptions
type LogOptions ¶ added in v0.1.7
type LogOptions = api.LogOptions
type Project ¶
type Project struct { *types.Project Sources SourceConfigs Scenarios ScenarioConfigs LocalMounts map[string]string // contains filtered or unexported fields }
Replacement of composer service with our state keeper. Another extended service (with client inside) will be used.
func (*Project) GetLocalMountCandidates ¶
func (*Project) GetLocalMounts ¶
func (*Project) GetScenarios ¶
func (*Project) WithSelectedServices ¶
type RunOptions ¶
type RunOptions = api.RunOptions
type ScenarioConfig ¶
type ScenarioConfig struct { Service string `yaml:"service"` Description string `yaml:"description"` Command []string `yaml:"command"` Entrypoint []string `yaml:"entrypoint"` Tty *bool `yaml:"tty"` // default: true Interactive *bool `yaml:"stdin_open"` // default: true WorkingDir string `yaml:"working_dir"` User string `yaml:"user"` }
type ScenarioConfigs ¶
type ScenarioConfigs map[string]ScenarioConfig
type SourceConfig ¶
type SourceConfigs ¶
type SourceConfigs map[string]SourceConfig
type StartOptions ¶
type StartOptions = api.StartOptions
Click to show internal directories.
Click to hide internal directories.