Documentation ¶
Index ¶
- func Register(name string, action Action)
- func Run(manifest []byte, ch chan<- *StepInfo, minHosts int) (err error)
- type Action
- type AddAppAction
- type AddRouteAction
- type AddRouteState
- type AppState
- type DeployAppAction
- type GenRandomAction
- type GenSSHKeyAction
- type GenTLSCertAction
- type Job
- type LogAction
- type LogMessage
- type Provider
- type RandomData
- type RunAppAction
- type RunAppState
- type RunJobAction
- type RunJobState
- type SSHKey
- type ScaleAppAction
- type State
- type StepAction
- type StepInfo
- type TLSCert
- type WaitAction
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AddAppAction ¶
type AddAppAction struct { ID string `json:"id"` FromStep string `json:"from_step"` App *ct.App `json:"app"` }
func (*AddAppAction) Cleanup ¶
func (a *AddAppAction) Cleanup(s *State) error
func (*AddAppAction) Run ¶
func (a *AddAppAction) Run(s *State) error
type AddRouteAction ¶
type AddRouteAction struct { ID string `json:"id"` AppStep string `json:"app_step"` CertStep string `json:"cert_step"` *strowger.Route }
func (*AddRouteAction) Run ¶
func (a *AddRouteAction) Run(s *State) error
type AddRouteState ¶
type DeployAppAction ¶
type DeployAppAction struct { ID string `json:"id"` *ct.ExpandedFormation App *ct.App `json:"app"` Resources []*ct.Provider `json:"resources"` }
func (*DeployAppAction) Run ¶
func (a *DeployAppAction) Run(s *State) error
type GenRandomAction ¶
type GenRandomAction struct { ID string `json:"id"` Length int `json:"length"` Data string `json:"data"` ControllerKey bool `json:"controller_key"` }
func (*GenRandomAction) Run ¶
func (a *GenRandomAction) Run(s *State) error
type GenSSHKeyAction ¶
type GenSSHKeyAction struct {
ID string `json:"id"`
}
func (*GenSSHKeyAction) Run ¶
func (a *GenSSHKeyAction) Run(s *State) error
type GenTLSCertAction ¶
func (*GenTLSCertAction) Run ¶
func (a *GenTLSCertAction) Run(s *State) (err error)
type LogMessage ¶
type LogMessage struct {
Msg string `json:"message"`
}
func (*LogMessage) String ¶
func (l *LogMessage) String() string
type RandomData ¶
type RandomData struct {
Data string `json:"data"`
}
func (*RandomData) String ¶
func (d *RandomData) String() string
type RunAppAction ¶
type RunAppAction struct { *ct.ExpandedFormation ID string `json:"id"` AppStep string `json:"app_step"` Resources []*ct.Provider `json:"resources,omitempty"` }
func (*RunAppAction) Run ¶
func (a *RunAppAction) Run(s *State) error
type RunAppState ¶
type RunJobAction ¶
type RunJobAction struct { ID string `json:"id"` Job *host.Job `json:"job"` }
func (*RunJobAction) Run ¶
func (a *RunJobAction) Run(s *State) (err error)
type RunJobState ¶
type RunJobState struct {
*Job
}
type ScaleAppAction ¶
func (*ScaleAppAction) Run ¶
func (a *ScaleAppAction) Run(s *State) error
type State ¶
type State struct { StepData map[string]interface{} Providers map[string]*ct.Provider // contains filtered or unexported fields }
func (*State) ControllerClient ¶
func (*State) SetControllerKey ¶
type StepAction ¶
type TLSCert ¶
type WaitAction ¶
func (*WaitAction) Run ¶
func (a *WaitAction) Run(s *State) error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.