genesis

package
v0.0.0-...-0c09f60 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SplitParentSubnet

func SplitParentSubnet(parentSubnet *model.ParentSubnet) ([]model.Subnet, error)

SplitParentSubnet splits a parent subnet into usable provisioning VPCs.

Types

type GenProvisioner

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

GenProvisioner provisions accounts using AWS API and Terraform.

func NewGenesisProvisioner

func NewGenesisProvisioner(accountCreation model.AccountCreation, accountProvision model.AccountProvision, logger log.FieldLogger) *GenProvisioner

NewGenesisProvisioner creates a new GenProvisioner.

func (*GenProvisioner) CreateAccount

func (provisioner *GenProvisioner) CreateAccount(account *model.Account, awsClient aws.AWS) error

CreateAccount creates an account using AWS API and terraform.

func (*GenProvisioner) DeleteAccount

func (provisioner *GenProvisioner) DeleteAccount(account *model.Account, awsClient aws.AWS) error

DeleteAccount deletes an account using AWS API and terraform.

func (*GenProvisioner) PrepareAccount

func (provisioner *GenProvisioner) PrepareAccount(account *model.Account) bool

PrepareAccount ensures an account object is ready for provisioning.

func (*GenProvisioner) ProvisionAccount

func (provisioner *GenProvisioner) ProvisionAccount(account *model.Account, awsClient aws.AWS) error

ProvisionAccount deletes an account using AWS API and terraform.

Jump to

Keyboard shortcuts

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