Documentation ¶
Index ¶
Constants ¶
View Source
const ( StartTag = `<cfndoc>` EndTag = `</cfndoc>` )
TODO - Parse CfnDoc as yaml field instead of comment, then group by resource type
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ResourceDoc ¶
type ResourceDoc struct { FieldName string // "QueueName", "FunctionName", etc Resource string // referenced label Documentation string }
func Parse ¶
func Parse(cfn string) (docs []*ResourceDoc)
func ReadCfn ¶
func ReadCfn(paths ...string) (docs []*ResourceDoc, err error)
Click to show internal directories.
Click to hide internal directories.