plan

package
v0.13.3 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2018 License: MIT Imports: 5 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 AWSConfiguration added in v0.13.0

type AWSConfiguration struct {
	AccountID          *int64
	AccountName        string
	AWSProfileBackend  string
	AWSProfileProvider string
	AWSProviderVersion string
	AWSRegionBackend   string
	AWSRegionProvider  string
	AWSRegions         []string
	InfraBucket        string
}

type Component

type Component struct {
	AWSConfiguration

	Component          string
	DockerImageVersion string
	Env                string
	ExtraVars          map[string]string
	ModuleSource       *string
	OtherComponents    []string
	Owner              string
	Project            string
	TerraformVersion   string
}

type Env

type Env struct {
	AWSConfiguration
	Components         map[string]Component
	DockerImageVersion string
	Env                string
	ExtraVars          map[string]string
	Owner              string
	Project            string
	TerraformVersion   string
}

type Module

type Module struct {
	DockerImageVersion string
	TerraformVersion   string
}

type Plan

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

func Eval

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

type Plugins added in v0.13.0

type Plugins struct {
	CustomPlugins      map[string]*plugins.CustomPlugin
	TerraformProviders map[string]*plugins.CustomPlugin
}

Plugins contains a plan around plugins

func (*Plugins) SetCustomPluginsPlan added in v0.13.0

func (p *Plugins) SetCustomPluginsPlan(customPlugins map[string]*plugins.CustomPlugin)

SetCustomPluginsPlan determines the plan for customPlugins

func (*Plugins) SetTerraformProvidersPlan added in v0.13.0

func (p *Plugins) SetTerraformProvidersPlan(terraformProviders map[string]*plugins.CustomPlugin)

SetTerraformProvidersPlan determines the plan for customPlugins

Jump to

Keyboard shortcuts

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