aws

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2021 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 AWS

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

AWS represents a dummy provisioner

func New

func New(config *configuration.Configuration) *AWS

New instantiates a new AWS provisioner

func (AWS) Box

func (d AWS) Box() *packr.Box

Box returns the box that has the files as binary data

func (AWS) Destroy

func (d AWS) Destroy() (err error)

Destroy runs terraform destroy in the project

func (*AWS) DestroyMessage

func (d *AWS) DestroyMessage() string

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

func (*AWS) Enterprise

func (d *AWS) Enterprise() bool

Enterprise return a boolean indicating it is an enterprise provisioner

func (*AWS) InitMessage

func (d *AWS) InitMessage() string

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

func (AWS) Plan

func (d AWS) Plan() (err error)

Plan runs a dry run execution

func (*AWS) SetTerraformExecutor

func (d *AWS) SetTerraformExecutor(tf *tfexec.Terraform)

SetTerraformExecutor adds the terraform executor to this provisioner

func (*AWS) TerraformExecutor

func (d *AWS) TerraformExecutor() (tf *tfexec.Terraform)

TerraformExecutor returns the current terraform executor of this provisioner

func (AWS) TerraformFiles

func (d AWS) TerraformFiles() []string

TerraformFiles returns the list of files conforming the terraform project

func (AWS) Update

func (d AWS) Update() (err error)

Update runs terraform apply in the project

func (*AWS) UpdateMessage

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