Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPrefixedValue ¶
Types ¶
type Doc ¶
type FieldSorter ¶ added in v0.33.0
func (FieldSorter) Len ¶ added in v0.33.0
func (s FieldSorter) Len() int
func (FieldSorter) Less ¶ added in v0.33.0
func (s FieldSorter) Less(i, j int) bool
func (FieldSorter) Swap ¶ added in v0.33.0
func (s FieldSorter) Swap(i, j int)
type SourceLister ¶
type SourceLister struct { Logger logr.Logger Sources map[string]SourceDir IgnoredSources []string IncludeSources []string DefaultValueFromTagExtractor func(string) string Index *Doc DocGeneratedHook func(doc *Doc) error Header string }
func NewSourceLister ¶
func NewSourceLister(sources map[string]SourceDir, logger logr.Logger) *SourceLister
func (*SourceLister) Generate ¶
func (lister *SourceLister) Generate() error
func (*SourceLister) ListSources ¶
func (sl *SourceLister) ListSources() ([]DocItem, error)
Click to show internal directories.
Click to hide internal directories.