Documentation ¶
Index ¶
- Constants
- func Init()
- 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 CreateLoadBalancerStep
- func (s *CreateLoadBalancerStep) Depends() []string
- func (s *CreateLoadBalancerStep) Description() string
- func (s *CreateLoadBalancerStep) Name() string
- func (s *CreateLoadBalancerStep) Rollback(context.Context, io.Writer, *steps.Config) error
- func (s *CreateLoadBalancerStep) 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 DeleteLoadBalancerStep
- func (s *DeleteLoadBalancerStep) Depends() []string
- func (s *DeleteLoadBalancerStep) Description() string
- func (s *DeleteLoadBalancerStep) Name() string
- func (s *DeleteLoadBalancerStep) Rollback(context.Context, io.Writer, *steps.Config) error
- func (s *DeleteLoadBalancerStep) 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 LoadBalancerService
- type TagService
Constants ¶
View Source
const ( CreateMachineStepName = "createMachineDigitalOcean" CreateLoadBalancerStepName = "createLoadBalancerDigitalOcean" DeleteMachineStepName = "deleteMachineDigitalOcean" DeleteClusterMachines = "deleteClusterMachineDigitalOcean" DeleteDeleteKeysStepName = "deleteKeysDigitalOcean" DeleteLoadBalancerStepName = "deleteLoadBalancerDigitalOcean" StatusActive = "active" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CreateInstanceStep ¶
type CreateInstanceStep struct { DropletTimeout time.Duration CheckPeriod time.Duration // contains filtered or unexported fields }
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 CreateLoadBalancerStep ¶
type CreateLoadBalancerStep struct { Timeout time.Duration Attempts int // contains filtered or unexported fields }
func NewCreateLoadBalancerStep ¶
func NewCreateLoadBalancerStep() *CreateLoadBalancerStep
func (*CreateLoadBalancerStep) Depends ¶
func (s *CreateLoadBalancerStep) Depends() []string
func (*CreateLoadBalancerStep) Description ¶
func (s *CreateLoadBalancerStep) Description() string
func (*CreateLoadBalancerStep) Name ¶
func (s *CreateLoadBalancerStep) 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 DeleteLoadBalancerStep ¶
type DeleteLoadBalancerStep struct {
// contains filtered or unexported fields
}
func NewDeleteLoadBalancerStep ¶
func NewDeleteLoadBalancerStep() *DeleteLoadBalancerStep
func (*DeleteLoadBalancerStep) Depends ¶
func (s *DeleteLoadBalancerStep) Depends() []string
func (*DeleteLoadBalancerStep) Description ¶
func (s *DeleteLoadBalancerStep) Description() string
func (*DeleteLoadBalancerStep) Name ¶
func (s *DeleteLoadBalancerStep) 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 LoadBalancerService ¶
type TagService ¶
Click to show internal directories.
Click to hide internal directories.