bootstrap

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 Bootstrap

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

Bootstrap Represents the possible actions that can be made via CLI after some simple validations

func New

func New(opts *Options) (b *Bootstrap, err error)

New builds a Bootstrap object with some configurations using Options

func (*Bootstrap) Destroy

func (c *Bootstrap) Destroy() (err error)

Destroy destroys the bootstrap (terraform destroy)

func (*Bootstrap) Init

func (c *Bootstrap) Init(reset bool) (err error)

Init intializes a project directory with all files (terraform project, subdirectories...) running terraform init on it

func (*Bootstrap) Update

func (c *Bootstrap) Update(dryrun bool) (err error)

Update updates the bootstrap (terraform apply)

type Options

type Options struct {
	Spin                     *spinner.Spinner
	Project                  *project.Project
	ProvisionerConfiguration *configuration.Configuration
	TerraformOpts            *terraform.Options
}

Options are valid configuration needed to proceed with the bootstrap management

Directories

Path Synopsis
provisioners
aws
gcp

Jump to

Keyboard shortcuts

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