cfndoc

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2020 License: AGPL-3.0, Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StartTag = `<cfndoc>`
	EndTag   = `</cfndoc>`
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ByLabel

type ByLabel []*ResourceDoc

func (ByLabel) Len

func (a ByLabel) Len() int

func (ByLabel) Less

func (a ByLabel) Less(i, j int) bool

func (ByLabel) Swap

func (a ByLabel) Swap(i, j int)

type ResourceDoc

type ResourceDoc struct {
	Resource      string // referenced label
	Documentation string
}

func Parse

func Parse(cfn string) (docs []*ResourceDoc)

func Read

func Read(fileName string) (docs []*ResourceDoc, err error)

func ReadCfn

func ReadCfn(paths ...string) (docs []*ResourceDoc, err error)

Jump to

Keyboard shortcuts

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