plan

package
v0.10.4 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2018 License: MIT Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Print

func Print(p *Plan) error

Types

type Component

type Component struct {
	AccountID          *int64
	AccountName        string
	AWSProfileBackend  string
	AWSProfileProvider string
	AWSProviderVersion string
	AWSRegionBackend   string
	AWSRegionProvider  string
	AWSRegions         []string
	Component          string
	Env                string
	InfraBucket        string
	OtherComponents    []string
	Owner              string
	Project            string
	SharedInfraVersion string
	TerraformVersion   string
	SiccMode           bool

	BootstrapModule string
}

type Env

type Env struct {
	AccountID          *int64
	AccountName        string
	AWSProfileBackend  string
	AWSProfileProvider string
	AWSProviderVersion string
	AWSRegionBackend   string
	AWSRegionProvider  string
	AWSRegions         []string
	Env                string
	InfraBucket        string
	Owner              string
	Project            string
	TerraformVersion   string
	Type               string
	SiccMode           bool

	Components map[string]Component
}

type Module

type Module struct {
	SiccMode         bool
	TerraformVersion string
}

type Plan

type Plan struct {
	Accounts map[string]account
	Envs     map[string]Env
	Global   Component
	Modules  map[string]Module
	SiccMode bool
	Version  string
}

func Eval

func Eval(config *config.Config, siccMode, verbose bool) (*Plan, error)

Jump to

Keyboard shortcuts

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