Documentation ¶
Index ¶
- Constants
- func GetClient(ctx context.Context, email, privateKey, tokenUri string) (*compute.Service, error)
- func Init()
- func NewCreateInstanceStep() (steps.Step, error)
- func NewDeleteClusterStep() (steps.Step, error)
- func NewDeleteNodeStep() (steps.Step, error)
- 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 DeleteNodeStep
- func (s *DeleteNodeStep) Depends() []string
- func (s *DeleteNodeStep) Description() string
- func (s *DeleteNodeStep) Name() string
- func (s *DeleteNodeStep) Rollback(context.Context, io.Writer, *steps.Config) error
- func (s *DeleteNodeStep) Run(ctx context.Context, output io.Writer, config *steps.Config) error
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 NewCreateInstanceStep ¶
func NewDeleteClusterStep ¶
func NewDeleteNodeStep ¶
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
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
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
Click to show internal directories.
Click to hide internal directories.