Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAnnotation ¶
GetAnnotation extracts the annotation from comment text. It will return "foo" for comment "+kubebuilder:webhook:foo" .
func ParseDir ¶
ParseDir parses the Go files under given directory and parses the annotation by invoking the parseFn function on each comment group (multi-lines comments). TODO(droot): extend it to multiple dirs
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.