 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- Variables
- type AlternativeVolumes
- type Duration
- type Networks
- type Project
- func (p *Project) Build(ctx context.Context, services []string) error
- func (p *Project) Down(ctx context.Context, deleteVolumes bool) error
- func (p *Project) IsRunning(ctx context.Context) (bool, error)
- func (p *Project) ListServices(ctx context.Context) ([]serviceInfo, error)
- func (p *Project) Run(ctx context.Context, command string, args []string) error
- func (p *Project) Up(ctx context.Context) error
- func (p *Project) Validate() error
- func (p *Project) WithSelectedServices(names []string, options ...types.DependencyOption) (*Project, error)
 
- type ScenarioConfig
- type ScenarioConfigs
- type SourceConfig
- type SourceConfigs
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  
    var IgnoreDependencies = types.IgnoreDependencies
    
      View Source
      
  
var IncludeDependents = types.IncludeDependents
    Functions ¶
This section is empty.
Types ¶
type AlternativeVolumes ¶ added in v0.1.3
type AlternativeVolumes []string
type Project ¶ added in v0.1.3
type Project struct {
	*types.Project
	Sources   SourceConfigs
	Scenarios ScenarioConfigs
	// contains filtered or unexported fields
}
    func (*Project) ListServices ¶ added in v0.1.4
func (*Project) WithSelectedServices ¶ added in v0.1.3
type ScenarioConfig ¶ added in v0.1.5
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 ¶ added in v0.1.5
type ScenarioConfigs map[string]ScenarioConfig
type SourceConfig ¶
type SourceConfigs ¶
type SourceConfigs map[string]SourceConfig
 Click to show internal directories. 
   Click to hide internal directories.