steps

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 30, 2016 License: Apache-2.0 Imports: 7 Imported by: 0

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

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

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

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

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

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

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

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

Run is called to perform the step's action.

The return value determines whether multi-step sequences should continue or halt.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL