gce

package
v2.0.0-beta.6+incompat... Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2018 License: Apache-2.0 Imports: 14 Imported by: 2

Documentation

Index

Constants

View Source
const CreateInstanceStepName = "gce_create_instance"
View Source
const DeleteClusterStepName = "gce_delete_cluster"
View Source
const DeleteNodeStepName = "gce_delete_node"

Variables

This section is empty.

Functions

func GetClient

func GetClient(ctx context.Context, email, privateKey, tokenUri string) (*compute.Service, error)

func Init

func Init()

func NewCreateInstanceStep

func NewCreateInstanceStep() (steps.Step, error)

func NewDeleteClusterStep

func NewDeleteClusterStep() (steps.Step, error)

func NewDeleteNodeStep

func NewDeleteNodeStep() (steps.Step, error)

Types

type CreateInstanceStep

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

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 DeleteClusterStep

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

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 DeleteNodeStep

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

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

Jump to

Keyboard shortcuts

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