gce

package
v2.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2019 License: Apache-2.0 Imports: 15 Imported by: 2

Documentation

Index

Constants

View Source
const CreateForwardingRulesStepName = "gce_create_forwarding_rules"
View Source
const CreateHealthCheckStepName = "gce_create_health_check"
View Source
const CreateIPAddressStepName = "gce_create_ip_address"
View Source
const CreateInstanceStepName = "gce_create_instance"
View Source
const CreateTargetPullStepName = "gce_create_target_pool"
View Source
const DeleteClusterStepName = "gce_delete_cluster"
View Source
const DeleteForwardingRulesStepName = "gce_delete_forwarding_rules"
View Source
const DeleteIpAddressStepName = "gce_delete_ip_address"
View Source
const DeleteNodeStepName = "gce_delete_node"
View Source
const DeleteTargetPoolStepName = "gce_delete_target_pool"

Variables

This section is empty.

Functions

func GetClient

func GetClient(ctx context.Context, config steps.GCEConfig) (*compute.Service, error)

func Init

func Init()

Types

type CreateAddressStep

type CreateAddressStep struct {
	Timeout      time.Duration
	AttemptCount int
	// contains filtered or unexported fields
}

func NewCreateAddressStep

func NewCreateAddressStep() *CreateAddressStep

func (*CreateAddressStep) Depends

func (s *CreateAddressStep) Depends() []string

func (*CreateAddressStep) Description

func (s *CreateAddressStep) Description() string

func (*CreateAddressStep) Name

func (s *CreateAddressStep) Name() string

func (*CreateAddressStep) Rollback

func (*CreateAddressStep) Run

func (s *CreateAddressStep) Run(ctx context.Context, output io.Writer,
	config *steps.Config) error

type CreateForwardingRules

type CreateForwardingRules struct {
	// contains filtered or unexported fields
}

func NewCreateForwardingRulesStep

func NewCreateForwardingRulesStep() *CreateForwardingRules

func (*CreateForwardingRules) Depends

func (s *CreateForwardingRules) Depends() []string

func (*CreateForwardingRules) Description

func (s *CreateForwardingRules) Description() string

func (*CreateForwardingRules) Name

func (s *CreateForwardingRules) Name() string

func (*CreateForwardingRules) Rollback

func (*CreateForwardingRules) Run

func (s *CreateForwardingRules) Run(ctx context.Context, output io.Writer,
	config *steps.Config) error

type CreateHealthCheck

type CreateHealthCheck struct {
	// contains filtered or unexported fields
}

func NewCreateHealthCheckStep

func NewCreateHealthCheckStep() *CreateHealthCheck

func (*CreateHealthCheck) Depends

func (s *CreateHealthCheck) Depends() []string

func (*CreateHealthCheck) Description

func (s *CreateHealthCheck) Description() string

func (*CreateHealthCheck) Name

func (s *CreateHealthCheck) Name() string

func (*CreateHealthCheck) Rollback

func (*CreateHealthCheck) Run

func (s *CreateHealthCheck) Run(ctx context.Context, output io.Writer,
	config *steps.Config) error

type CreateInstanceStep

type CreateInstanceStep struct {
	// contains filtered or unexported fields
}

func NewCreateInstanceStep

func NewCreateInstanceStep(period, timeout 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

func (*CreateInstanceStep) Rollback

func (*CreateInstanceStep) Run

func (s *CreateInstanceStep) Run(ctx context.Context, output io.Writer,
	config *steps.Config) error

type CreateTargetPoolStep

type CreateTargetPoolStep struct {
	// contains filtered or unexported fields
}

func NewCreateTargetPoolStep

func NewCreateTargetPoolStep() *CreateTargetPoolStep

func (*CreateTargetPoolStep) Depends

func (s *CreateTargetPoolStep) Depends() []string

func (*CreateTargetPoolStep) Description

func (s *CreateTargetPoolStep) Description() string

func (*CreateTargetPoolStep) Name

func (s *CreateTargetPoolStep) Name() string

func (*CreateTargetPoolStep) Rollback

func (*CreateTargetPoolStep) Run

func (s *CreateTargetPoolStep) Run(ctx context.Context, output io.Writer,
	config *steps.Config) error

type DeleteClusterStep

type DeleteClusterStep struct {
	// contains filtered or unexported fields
}

func NewDeleteClusterStep

func NewDeleteClusterStep() *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

func (*DeleteClusterStep) Rollback

func (*DeleteClusterStep) Run

func (s *DeleteClusterStep) Run(ctx context.Context, output io.Writer, config *steps.Config) error

type DeleteForwardingRulesStep

type DeleteForwardingRulesStep struct {
	// contains filtered or unexported fields
}

func NewDeleteForwardingRulesStep

func NewDeleteForwardingRulesStep() *DeleteForwardingRulesStep

func (*DeleteForwardingRulesStep) Depends

func (s *DeleteForwardingRulesStep) Depends() []string

func (*DeleteForwardingRulesStep) Description

func (s *DeleteForwardingRulesStep) Description() string

func (*DeleteForwardingRulesStep) Name

func (*DeleteForwardingRulesStep) Rollback

func (*DeleteForwardingRulesStep) Run

func (s *DeleteForwardingRulesStep) Run(ctx context.Context, output io.Writer,
	config *steps.Config) error

type DeleteIpAddressStep

type DeleteIpAddressStep struct {
	// contains filtered or unexported fields
}

func NewDeleteIpAddressStep

func NewDeleteIpAddressStep() *DeleteIpAddressStep

func (*DeleteIpAddressStep) Depends

func (s *DeleteIpAddressStep) Depends() []string

func (*DeleteIpAddressStep) Description

func (s *DeleteIpAddressStep) Description() string

func (*DeleteIpAddressStep) Name

func (s *DeleteIpAddressStep) Name() string

func (*DeleteIpAddressStep) Rollback

func (*DeleteIpAddressStep) Run

func (s *DeleteIpAddressStep) Run(ctx context.Context, output io.Writer,
	config *steps.Config) error

type DeleteNodeStep

type DeleteNodeStep struct {
	// contains filtered or unexported fields
}

func NewDeleteNodeStep

func NewDeleteNodeStep() *DeleteNodeStep

func (*DeleteNodeStep) Depends

func (s *DeleteNodeStep) Depends() []string

func (*DeleteNodeStep) Description

func (s *DeleteNodeStep) Description() string

func (*DeleteNodeStep) Name

func (s *DeleteNodeStep) Name() string

func (*DeleteNodeStep) Rollback

func (*DeleteNodeStep) Run

func (s *DeleteNodeStep) Run(ctx context.Context, output io.Writer, config *steps.Config) error

type DeleteTargetPoolStep

type DeleteTargetPoolStep struct {
	// contains filtered or unexported fields
}

func NewDeleteTargetPoolStep

func NewDeleteTargetPoolStep() *DeleteTargetPoolStep

func (*DeleteTargetPoolStep) Depends

func (s *DeleteTargetPoolStep) Depends() []string

func (*DeleteTargetPoolStep) Description

func (s *DeleteTargetPoolStep) Description() string

func (*DeleteTargetPoolStep) Name

func (s *DeleteTargetPoolStep) Name() string

func (*DeleteTargetPoolStep) Rollback

func (*DeleteTargetPoolStep) Run

func (s *DeleteTargetPoolStep) Run(ctx context.Context, output io.Writer,
	config *steps.Config) error

Jump to

Keyboard shortcuts

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