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 DeleteClusterStep
- func (s *DeleteClusterStep) Depends() []string
- func (s *DeleteClusterStep) Description() string
- func (s *DeleteClusterStep) Name() string
- func (s *DeleteClusterStep) Rollback(context.Context, io.Writer, *steps.Config) error
- func (s *DeleteClusterStep) 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 DeleteService
- type DropletService
- type KeyService
- type TagService
Constants ¶
View Source
const ( CreateMachineStepName = "createMachineDigitalOcean" DeleteMachineStepName = "deleteMachineDigitalOcean" DeleteClusterStepName = "deleteClusterDigitalOcean" )
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 DeleteClusterStep ¶
type DeleteClusterStep struct {
// contains filtered or unexported fields
}
func NewDeleteClusterStep ¶
func NewDeleteClusterStep(timeout time.Duration) *DeleteClusterStep
func (*DeleteClusterStep) Depends ¶
func (s *DeleteClusterStep) Depends() []string
func (*DeleteClusterStep) Description ¶
func (s *DeleteClusterStep) Description() string
func (*DeleteClusterStep) Name ¶
func (s *DeleteClusterStep) 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 DeleteService ¶
type DropletService ¶
type KeyService ¶
type TagService ¶
Click to show internal directories.
Click to hide internal directories.