Help us shape the future of Go! Take the 2026 Go Developer Survey

parse

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2016 License: MIT Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Output

type Output struct {
	Description, Value interface{}
}

type Parameter

type Parameter struct {
	Type string
}

type Template

type Template struct {
	Resources  map[string]TemplateResource
	Parameters map[string]Parameter
	Outputs    map[string]Output
}

func ParseTemplateJSON

func ParseTemplateJSON(data []byte, forgiving bool) (*Template, error)

type TemplateResource

type TemplateResource struct {
	Type string

	Metadata map[string]interface{}
	// contains filtered or unexported fields
}

func NewTemplateResource

func NewTemplateResource(awsType string, properties map[string]interface{}) TemplateResource

func (TemplateResource) Properties

func (tr TemplateResource) Properties() []string

func (TemplateResource) PropertyValue

func (tr TemplateResource) PropertyValue(name string) (interface{}, bool)

func (*TemplateResource) UnmarshalJSON

func (d *TemplateResource) UnmarshalJSON(b []byte) error

Jump to

Keyboard shortcuts

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