 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- Variables
- type BuildOptions
- type CertConfig
- type CreateOptions
- type DownOptions
- type Duration
- type HostConfig
- type HostConfigs
- type LogOptions
- type Networks
- type Project
- func (p *Project) GetScenarios(filter string) []string
- func (p *Project) Mount(ctx context.Context, sources []string, path string) error
- func (p *Project) Reload(ctx context.Context) error
- func (p *Project) SaveState() error
- func (p *Project) Umount(ctx context.Context, sources []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 BuildOptions ¶
type BuildOptions = api.BuildOptions
type CertConfig ¶ added in v0.1.9
type CreateOptions ¶
type CreateOptions = api.CreateOptions
type DownOptions ¶
type DownOptions = api.DownOptions
type HostConfig ¶ added in v0.1.9
type HostConfigs ¶ added in v0.1.9
type HostConfigs []HostConfig
type LogOptions ¶ added in v0.1.7
type LogOptions = api.LogOptions
type Project ¶
type Project struct {
	*types.Project
	Sources      SourceConfigs
	Scenarios    ScenarioConfigs
	HostEntities []string // IP hostname1 [hostname2] [hostname3] ...
	CertConfig   CertConfig
	LocalMounts map[string]string // some service's full mount path -> local path
	HasHosts    bool
	// contains filtered or unexported fields
}
    Replacement of composer service with our state keeper. Another extended service (with client inside) will be used.
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.