cloudformation

package
v0.0.0-...-3891d2e Latest Latest
Warning

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

Go to latest
Published: May 22, 2018 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const RepositoryPath = "https://downloads.kombustion.io/plugins"

Variables

This section is empty.

Functions

func DeletePlugin

func DeletePlugin(pluginname string) error

func DownloadPlugin

func DownloadPlugin(pluginname string) error

func PluginDocs

func PluginDocs() (docs map[string]string)

func ResolveEnvironment

func ResolveEnvironment(envFile string, env string) types.ValueMap

ResolveEnvironment loads the correct configs/environment.yaml ValueMap for the specified env

Types

type GenerateParams

type GenerateParams struct {
	Filename           string
	EnvFile            string
	Env                string
	DisableBaseOutputs bool
	ParamMap           map[string]string
}

type ParserMap

type ParserMap map[string]types.ParserFunc

ParserMap - a map of parsers

type YamlCloudformation

type YamlCloudformation struct {
	AWSTemplateFormatVersion string         `yaml:"AWSTemplateFormatVersion,omitempty"`
	Description              string         `yaml:"Description,omitempty"`
	Parameters               types.ValueMap `yaml:"Parameters,omitempty"`
	Mappings                 types.ValueMap `yaml:"Mappings,omitempty"`
	Conditions               types.ValueMap `yaml:"Conditions,omitempty"`
	Transform                types.ValueMap `yaml:"Transform,omitempty"`
	Resources                types.ValueMap `yaml:"Resources"`
	Outputs                  types.ValueMap `yaml:"Outputs,omitempty"`
}

YamlCloudformation -

func GenerateYamlStack

func GenerateYamlStack(params GenerateParams) (out YamlCloudformation, err error)

GenerateYamlStack - generate a stack definition from ./configs

type YamlConfig

type YamlConfig struct {
	AWSTemplateFormatVersion string            `yaml:"AWSTemplateFormatVersion,omitempty"`
	Description              string            `yaml:"Description,omitempty"`
	Parameters               types.ValueMap    `yaml:"Parameters,omitempty"`
	Mappings                 types.ValueMap    `yaml:"Mappings,omitempty"`
	Conditions               types.ValueMap    `yaml:"Conditions,omitempty"`
	Transform                types.ValueMap    `yaml:"Transform,omitempty"`
	Resources                types.ResourceMap `yaml:"Resources"`
	Outputs                  types.ValueMap    `yaml:"Outputs,omitempty"`
}

Jump to

Keyboard shortcuts

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