doc

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Doc

type Doc struct {
	Usage      string
	Parameters []Parameter
	Outputs    []Output
}

Doc represents the CF template Documentation

func Create

func Create(cfTemplate []byte) *Doc

Create creates a Doc type with the contents of the Template

type Output

type Output struct {
	Name        string
	Description string
	Export      string
}

Output represents the CF Outputs block

type Parameter

type Parameter struct {
	Name          string
	Description   string
	Default       string
	Type          string
	AllowedValues string
}

Parameter represents CF Parameter block

Jump to

Keyboard shortcuts

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