gke

package
v1.11.1 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GKE

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

GKE represents the GKE provisioner

func New

func New(config *configuration.Configuration) *GKE

New instantiates a new GKE provisioner

func (GKE) Box

func (e GKE) Box() *packr.Box

Box returns the box that has the files as binary data

func (GKE) Destroy

func (e GKE) Destroy() (err error)

Destroy runs terraform destroy in the project

func (*GKE) DestroyMessage

func (e *GKE) DestroyMessage() string

DestroyMessage return a custom provisioner message the user will see once the cluster is destroyed

func (*GKE) Enterprise

func (e *GKE) Enterprise() bool

Enterprise return a boolean indicating it is an enterprise provisioner

func (*GKE) InitMessage

func (e *GKE) InitMessage() string

InitMessage return a custom provisioner message the user will see once the cluster is ready to be updated

func (GKE) Plan

func (e GKE) Plan() (err error)

Plan runs a dry run execution

func (GKE) Prepare added in v0.5.0

func (e GKE) Prepare() (err error)

func (*GKE) SetTerraformExecutor

func (e *GKE) SetTerraformExecutor(tf *tfexec.Terraform)

SetTerraformExecutor adds the terraform executor to this provisioner

func (*GKE) TerraformExecutor

func (e *GKE) TerraformExecutor() (tf *tfexec.Terraform)

TerraformExecutor returns the current terraform executor of this provisioner

func (GKE) TerraformFiles

func (e GKE) TerraformFiles() []string

TerraformFiles returns the list of files conforming the terraform project

func (GKE) Update

func (e GKE) Update() (string, error)

Update runs terraform apply in the project

func (*GKE) UpdateMessage

func (e *GKE) UpdateMessage() string

UpdateMessage return a custom provisioner message the user will see once the cluster is updated

Jump to

Keyboard shortcuts

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