Documentation ¶
Index ¶
- Constants
- Variables
- func Init()
- func TestCreateInstanceStep_Rollback(t *testing.T)
- type CreateInstanceStep
- func (s *CreateInstanceStep) Depends() []string
- func (s *CreateInstanceStep) Description() string
- func (s *CreateInstanceStep) Name() string
- func (s *CreateInstanceStep) Rollback(context.Context, io.Writer, *steps.Config) error
- func (s *CreateInstanceStep) Run(ctx context.Context, output io.Writer, config *steps.Config) error
- type DeleteKeysStep
- func (s *DeleteKeysStep) Depends() []string
- func (s *DeleteKeysStep) Description() string
- func (s *DeleteKeysStep) Name() string
- func (s *DeleteKeysStep) Rollback(context.Context, io.Writer, *steps.Config) error
- func (s *DeleteKeysStep) Run(ctx context.Context, output io.Writer, config *steps.Config) error
- type DeleteMachineStep
- func (s *DeleteMachineStep) Depends() []string
- func (s *DeleteMachineStep) Description() string
- func (s *DeleteMachineStep) Name() string
- func (s *DeleteMachineStep) Rollback(context.Context, io.Writer, *steps.Config) error
- func (s *DeleteMachineStep) Run(ctx context.Context, output io.Writer, config *steps.Config) error
- type DeleteMachinesStep
- func (s *DeleteMachinesStep) Depends() []string
- func (s *DeleteMachinesStep) Description() string
- func (s *DeleteMachinesStep) Name() string
- func (s *DeleteMachinesStep) Rollback(context.Context, io.Writer, *steps.Config) error
- func (s *DeleteMachinesStep) Run(ctx context.Context, output io.Writer, config *steps.Config) error
- type DeleteService
- type DropletService
- type KeyService
- type TagService
Constants ¶
View Source
const ( CreateMachineStepName = "createMachineDigitalOcean" DeleteMachineStepName = "deleteMachineDigitalOcean" DeleteClusterMachines = "deleteClusterMachineDigitalOcean" DeleteDeleteKeysStepName = "deleteKeysDigitalOcean" )
Variables ¶
View Source
var ( // TODO(stgleb): We need global error for timeout exceeding ErrTimeoutExceeded = errors.New("timeout exceeded") )
Functions ¶
Types ¶
type CreateInstanceStep ¶
func NewCreateInstanceStep ¶
func NewCreateInstanceStep(dropletTimeout, checkPeriod time.Duration) *CreateInstanceStep
func (*CreateInstanceStep) Depends ¶
func (s *CreateInstanceStep) Depends() []string
func (*CreateInstanceStep) Description ¶
func (s *CreateInstanceStep) Description() string
func (*CreateInstanceStep) Name ¶
func (s *CreateInstanceStep) Name() string
type DeleteKeysStep ¶
type DeleteKeysStep struct {
// contains filtered or unexported fields
}
func NewDeleteKeysStep ¶
func NewDeleteKeysStep() *DeleteKeysStep
func (*DeleteKeysStep) Depends ¶
func (s *DeleteKeysStep) Depends() []string
func (*DeleteKeysStep) Description ¶
func (s *DeleteKeysStep) Description() string
func (*DeleteKeysStep) Name ¶
func (s *DeleteKeysStep) Name() string
type DeleteMachineStep ¶
type DeleteMachineStep struct {
// contains filtered or unexported fields
}
func NewDeleteMachineStep ¶
func NewDeleteMachineStep(timeout time.Duration) *DeleteMachineStep
func (*DeleteMachineStep) Depends ¶
func (s *DeleteMachineStep) Depends() []string
func (*DeleteMachineStep) Description ¶
func (s *DeleteMachineStep) Description() string
func (*DeleteMachineStep) Name ¶
func (s *DeleteMachineStep) Name() string
type DeleteMachinesStep ¶
type DeleteMachinesStep struct {
// contains filtered or unexported fields
}
func NewDeletemachinesStep ¶
func NewDeletemachinesStep(timeout time.Duration) *DeleteMachinesStep
func (*DeleteMachinesStep) Depends ¶
func (s *DeleteMachinesStep) Depends() []string
func (*DeleteMachinesStep) Description ¶
func (s *DeleteMachinesStep) Description() string
func (*DeleteMachinesStep) Name ¶
func (s *DeleteMachinesStep) Name() string
type DeleteService ¶
type DropletService ¶
type KeyService ¶
type TagService ¶
Click to show internal directories.
Click to hide internal directories.