Documentation ¶ Overview ¶ Package fallbacks provides functionality for managing tool fallback sources. Index ¶ type Fallbacks func (f Fallbacks) Build(sourceType sources.Type) []sources.Type func (f Fallbacks) Compacted() Fallbacks func (f *Fallbacks) UnmarshalYAML(value *yaml.Node) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Fallbacks ¶ type Fallbacks []sources.Type Fallbacks represents a collection of fallback sources for the tool. It can either be a single source type or a slice of source types, allowing flexibility in specifying multiple fallback methods if the primary source fails. func (Fallbacks) Build ¶ func (f Fallbacks) Build(sourceType sources.Type) []sources.Type func (Fallbacks) Compacted ¶ func (f Fallbacks) Compacted() Fallbacks func (*Fallbacks) UnmarshalYAML ¶ func (f *Fallbacks) UnmarshalYAML(value *yaml.Node) error UnmarshalYAML implements custom unmarshaling for Tags, allowing the field to be either a single string or a list of strings. Source Files ¶ View all Source files fallbacks.go Click to show internal directories. Click to hide internal directories.