Documentation ¶
Index ¶
- func InitProviderWith(config *config.IgniteConfig)
- func Register(factory ProviderFactory)
- type Host
- type Provider
- type ProviderConfig
- type ProviderFactory
- type Staging
- func (s *Staging) Pause(workspace string, tier string) error
- func (s *Staging) Reset(workspace string, tier string) error
- func (s *Staging) SshTier(userName string, tierName string, sshPort int16) error
- func (s *Staging) Start(workspace string, tier string) error
- func (s *Staging) Stop(workspace string, tier string) error
- func (s *Staging) Suspend(workspace string, tier string) error
- func (s *Staging) TiersInfo(workspace string) error
- func (s *Staging) UnitsInfo() error
- func (s *Staging) Unpause(workspace string, tier string) error
- func (s *Staging) WorkspacesInfo() error
- type StateMsg
- type Tier
- type TierState
- type Unit
- type Workspace
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitProviderWith ¶
func InitProviderWith(config *config.IgniteConfig)
func Register ¶
func Register(factory ProviderFactory)
Types ¶
type Provider ¶
type Provider interface { Start(*Unit) error Stop(*Unit) error Reset(*Unit) error Suspend(*Unit) error Pause(*Unit) error Unpause(*Unit) error }
func FindProviderByName ¶
type ProviderConfig ¶
type ProviderFactory ¶
type ProviderFactory interface { Name() string NewProvider(ProviderConfig) Provider }
type Staging ¶
type Staging struct { Fallback bool DefaultProvider string Tiers map[string]*Tier Workspaces map[string]*Workspace // contains filtered or unexported fields }
func DefaultStaging ¶
func DefaultStaging() *Staging
func StagingFrom ¶
func StagingFrom(config *config.IgniteConfig) *Staging
func (*Staging) WorkspacesInfo ¶ added in v0.3.0
type Tier ¶
func (*Tier) ActiveState ¶ added in v0.4.0
func (*Tier) IsChildrenDone ¶
func (*Tier) IsParentsDone ¶
func (*Tier) SetChildState ¶
func (*Tier) SetParentState ¶
Click to show internal directories.
Click to hide internal directories.