eks

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 EKS

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

EKS represents the EKS provisioner

func New

func New(config *configuration.Configuration) *EKS

New instantiates a new EKS provisioner

func (EKS) Box

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

Box returns the box that has the files as binary data

func (EKS) Destroy

func (e EKS) Destroy() (err error)

Destroy runs terraform destroy in the project

func (*EKS) DestroyMessage

func (e *EKS) DestroyMessage() string

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

func (*EKS) Enterprise

func (e *EKS) Enterprise() bool

Enterprise return a boolean indicating it is an enterprise provisioner

func (*EKS) InitMessage

func (e *EKS) InitMessage() string

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

func (EKS) Plan

func (e EKS) Plan() (err error)

Plan runs a dry run execution

func (EKS) Prepare added in v0.5.0

func (e EKS) Prepare() (err error)

func (*EKS) SetTerraformExecutor

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

SetTerraformExecutor adds the terraform executor to this provisioner

func (*EKS) TerraformExecutor

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

TerraformExecutor returns the current terraform executor of this provisioner

func (EKS) TerraformFiles

func (e EKS) TerraformFiles() []string

TerraformFiles returns the list of files conforming the terraform project

func (EKS) Update

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

Update runs terraform apply in the project

func (*EKS) UpdateMessage

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