Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckTargetImage ¶
type CheckTargetImage struct{}
CheckTargetImage is the step that ensures the target image does not already exist in CloudControl.
func (*CheckTargetImage) Cleanup ¶
func (step *CheckTargetImage) Cleanup(state multistep.StateBag)
Cleanup is called in reverse order of the steps that have run and allow steps to clean up after themselves. Do not assume if this ran that the entire multi-step sequence completed successfully. This method can be ran in the face of errors and cancellations as well.
The parameter is the same "state bag" as Run, and represents the state at the latest possible time prior to calling Cleanup.
func (*CheckTargetImage) Run ¶
func (step *CheckTargetImage) Run(state multistep.StateBag) multistep.StepAction
Run is called to perform the step's action.
The return value determines whether multi-step sequences should continue or halt.
type CloneServer ¶
type CloneServer struct{}
CloneServer is the step that clones the target server in CloudControl.
func (*CloneServer) Cleanup ¶
func (step *CloneServer) Cleanup(state multistep.StateBag)
Cleanup is called in reverse order of the steps that have run and allow steps to clean up after themselves. Do not assume if this ran that the entire multi-step sequence completed successfully. This method can be ran in the face of errors and cancellations as well.
The parameter is the same "state bag" as Run, and represents the state at the latest possible time prior to calling Cleanup.
func (*CloneServer) Run ¶
func (step *CloneServer) Run(state multistep.StateBag) multistep.StepAction
Run is called to perform the step's action.
The return value determines whether multi-step sequences should continue or halt.
type CreateFirewallRule ¶
type CreateFirewallRule struct{}
CreateFirewallRule is the step that exposes the target server using a firewall rule.
The server's associated NAT rule must already have been created.
func (*CreateFirewallRule) Cleanup ¶
func (step *CreateFirewallRule) Cleanup(state multistep.StateBag)
Cleanup is called in reverse order of the steps that have run and allow steps to clean up after themselves. Do not assume if this ran that the entire multi-step sequence completed successfully. This method can be ran in the face of errors and cancellations as well.
The parameter is the same "state bag" as Run, and represents the state at the latest possible time prior to calling Cleanup.
func (*CreateFirewallRule) Run ¶
func (step *CreateFirewallRule) Run(state multistep.StateBag) multistep.StepAction
Run is called to perform the step's action.
The return value determines whether multi-step sequences should continue or halt.
type CreateNATRule ¶
type CreateNATRule struct{}
CreateNATRule is the step that exposes the target server using a NAT rule.
func (*CreateNATRule) Cleanup ¶
func (step *CreateNATRule) Cleanup(state multistep.StateBag)
Cleanup is called in reverse order of the steps that have run and allow steps to clean up after themselves. Do not assume if this ran that the entire multi-step sequence completed successfully. This method can be ran in the face of errors and cancellations as well.
The parameter is the same "state bag" as Run, and represents the state at the latest possible time prior to calling Cleanup.
func (*CreateNATRule) Run ¶
func (step *CreateNATRule) Run(state multistep.StateBag) multistep.StepAction
Run is called to perform the step's action.
The return value determines whether multi-step sequences should continue or halt.
type DeployServer ¶
type DeployServer struct{}
DeployServer is the step that deploys the target server in CloudControl.
func (*DeployServer) Cleanup ¶
func (step *DeployServer) Cleanup(state multistep.StateBag)
Cleanup is called in reverse order of the steps that have run and allow steps to clean up after themselves. Do not assume if this ran that the entire multi-step sequence completed successfully. This method can be ran in the face of errors and cancellations as well.
The parameter is the same "state bag" as Run, and represents the state at the latest possible time prior to calling Cleanup.
func (*DeployServer) Run ¶
func (step *DeployServer) Run(state multistep.StateBag) multistep.StepAction
Run is called to perform the step's action.
The return value determines whether multi-step sequences should continue or halt.
type ResolveNetworkDomain ¶
type ResolveNetworkDomain struct{}
ResolveNetworkDomain is the step that resolves the target network domain by name from CloudControl.
func (*ResolveNetworkDomain) Cleanup ¶
func (step *ResolveNetworkDomain) Cleanup(state multistep.StateBag)
Cleanup is called in reverse order of the steps that have run and allow steps to clean up after themselves. Do not assume if this ran that the entire multi-step sequence completed successfully. This method can be ran in the face of errors and cancellations as well.
The parameter is the same "state bag" as Run, and represents the state at the latest possible time prior to calling Cleanup.
func (*ResolveNetworkDomain) Run ¶
func (step *ResolveNetworkDomain) Run(state multistep.StateBag) multistep.StepAction
Run is called to perform the step's action.
The return value determines whether multi-step sequences should continue or halt.
type ResolveSourceImage ¶
type ResolveSourceImage struct{}
ResolveSourceImage is the step that resolves the source image from CloudControl.
func (*ResolveSourceImage) Cleanup ¶
func (step *ResolveSourceImage) Cleanup(state multistep.StateBag)
Cleanup is called in reverse order of the steps that have run and allow steps to clean up after themselves. Do not assume if this ran that the entire multi-step sequence completed successfully. This method can be ran in the face of errors and cancellations as well.
The parameter is the same "state bag" as Run, and represents the state at the latest possible time prior to calling Cleanup.
func (*ResolveSourceImage) Run ¶
func (step *ResolveSourceImage) Run(state multistep.StateBag) multistep.StepAction
Run is called to perform the step's action.
The return value determines whether multi-step sequences should continue or halt.
type ResolveVLAN ¶
type ResolveVLAN struct{}
ResolveVLAN is the step that resolves the target VLAN by name from CloudControl.
func (*ResolveVLAN) Cleanup ¶
func (step *ResolveVLAN) Cleanup(state multistep.StateBag)
Cleanup is called in reverse order of the steps that have run and allow steps to clean up after themselves. Do not assume if this ran that the entire multi-step sequence completed successfully. This method can be ran in the face of errors and cancellations as well.
The parameter is the same "state bag" as Run, and represents the state at the latest possible time prior to calling Cleanup.
func (*ResolveVLAN) Run ¶
func (step *ResolveVLAN) Run(state multistep.StateBag) multistep.StepAction
Run is called to perform the step's action.
The return value determines whether multi-step sequences should continue or halt.