types

package
Version: v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2019 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CfResource

type CfResource struct {
	Type           string      `yaml:"Type"`
	Properties     interface{} `yaml:"Properties"`
	Condition      interface{} `yaml:"Condition,omitempty"`
	Metadata       interface{} `yaml:"Metadata,omitempty"`
	DependsOn      interface{} `yaml:"DependsOn,omitempty"`
	CreationPolicy interface{} `yaml:"CreationPolicy,omitempty"`
	UpdatePolicy   interface{} `yaml:"UpdatePolicy,omitempty"`
	DeletionPolicy interface{} `yaml:"DeletionPolicy,omitempty"`
}

CfResource - A CloudFormation Resource

type ParserFunc

type ParserFunc func(
	name string,
	data string,
) (

	source string,

	conditions TemplateObject,
	metadata TemplateObject,
	mappings TemplateObject,
	outputs TemplateObject,
	parameters TemplateObject,
	resources TemplateObject,
	transform TemplateObject,
	errors []error,
)

ParserFunc - a definition of the function called for resource/output/mapping parsers

type ResourceMap

type ResourceMap map[string]CfResource

ResourceMap - a map of resouces

type TemplateObject

type TemplateObject map[string]interface{}

TemplateObject - the type for objects in a template

type Validatable

type Validatable interface {
	Validate() []error
}

Source Files

Jump to

Keyboard shortcuts

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