Documentation
¶
Index ¶
- type BaseProvider
- type Provider
- type ProviderType
- type Providers
- func (providers *Providers) Delete()
- func (providers *Providers) HasError() bool
- func (providers *Providers) HasMismatch(checksum string) bool
- func (providers *Providers) IsRunning() bool
- func (providers *Providers) ResumeLocals()
- func (providers *Providers) Run()
- func (providers *Providers) RunLocals()
- func (providers *Providers) RunRemotes()
- func (providers *Providers) Status() []*status.Status
- func (providers *Providers) SuspendLocals()
- func (providers *Providers) Terminate(force bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseProvider ¶
type Provider ¶
type Provider interface { Data() *BaseProvider Run() Wait() Resume() Status() *status.Status Terminate() error DeleteFile() }
type ProviderType ¶
type ProviderType int
const ( Aws ProviderType = iota Google Oracle Azure IBM Local OnPremise )
func (ProviderType) Name ¶
func (p ProviderType) Name() string
type Providers ¶
type Providers struct { Remotes []*Provider Locals []*Provider All []*Provider Statuses []*status.Status Length int HasRemote bool HasLocal bool HasValidation bool Filename *string // contains filtered or unexported fields }
TODO use single loop instead for each method
func (*Providers) HasMismatch ¶
func (*Providers) ResumeLocals ¶
func (providers *Providers) ResumeLocals()
func (*Providers) RunRemotes ¶
func (providers *Providers) RunRemotes()
func (*Providers) SuspendLocals ¶
func (providers *Providers) SuspendLocals()
Click to show internal directories.
Click to hide internal directories.