Documentation ¶
Overview ¶
Package annotations makes it possible to track use of resource annotations within a procress in order to generate documentation for these uses.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Annotation ¶
type Annotation struct { // The name of the annotation. Name string // Description of the annotation. Description string // Hide the existence of this annotation when outputting usage information. Hidden bool // Mark this annotation as deprecated when generating usage information. Deprecated bool }
Annotation describes a single resource annotation
func Descriptions ¶
func Descriptions() []Annotation
Returns a description of this process' annotations, sorted by name.
func Register ¶
func Register(name string, description string) Annotation
Register registers a new annotation.
Click to show internal directories.
Click to hide internal directories.