Documentation
¶
Index ¶
- type BatchStep
- type Config
- type ConstantLinkSelector
- type Id
- type IntersectLinkSelector
- type LinkSelector
- type Modifier
- type ModifierFactory
- type Provider
- type RegisteredStep
- type RegisteredVisitor
- type Step
- type UnionLinkSelector
- type VisitorStep
- func (step *VisitorStep[V]) Kind() string
- func (step *VisitorStep[V]) ListIndex() string
- func (step *VisitorStep[V]) Options() manager.Options
- func (step *VisitorStep[V]) Run(tree *tftree.SpanTree)
- func (step *VisitorStep[V]) UnmarshalJSON(buf []byte) error
- func (*VisitorStep[V]) UnmarshalNewJSON(buf []byte) (Step, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // The config ID, used to generate the cache ID. Id Id // The config name, used in search page display. Name string // Base config name without modifiers, used to help reconstruct the name. BaseName string // Names of modifiers, used to help reconstruct the name. ModifierNames sets.Set[string] // Only links with roles in this set are followed. LinkSelector LinkSelector // The extension traces for this config. Extensions []extension.Provider // The steps to transform the tree Steps []Step }
func (*Config) RecomputeName ¶
func (config *Config) RecomputeName()
type ConstantLinkSelector ¶
type ConstantLinkSelector bool
func (ConstantLinkSelector) Admit ¶
func (selector ConstantLinkSelector) Admit( parent utilobject.Key, child utilobject.Key, parentIsSource bool, linkClass string, ) LinkSelector
type IntersectLinkSelector ¶
type IntersectLinkSelector []LinkSelector
func (IntersectLinkSelector) Admit ¶
func (selector IntersectLinkSelector) Admit( parentKey utilobject.Key, childKey utilobject.Key, parentIsSource bool, linkClass string, ) LinkSelector
type LinkSelector ¶
type LinkSelector interface { // Whether to follow the given link. // // If link should be followed, return a non-nil LinkSelector. // The returned object will be used to recursively follow links in the linked object. Admit(parent utilobject.Key, child utilobject.Key, parentIsSource bool, linkClass string) LinkSelector }
type ModifierFactory ¶
type ModifierFactory interface { manager.IndexedListImpl Build(jsonBuf []byte) (Modifier, error) }
type RegisteredStep ¶
type RegisteredVisitor ¶
type RegisteredVisitor interface { tftree.TreeVisitor Kind() string }
type UnionLinkSelector ¶
type UnionLinkSelector []LinkSelector
func (UnionLinkSelector) Admit ¶
func (selector UnionLinkSelector) Admit( parentKey utilobject.Key, childKey utilobject.Key, parentIsSource bool, linkClass string, ) LinkSelector
type VisitorStep ¶
type VisitorStep[V RegisteredVisitor] struct { manager.BaseComponent Visitor V `managerSkipFill:""` }
func (*VisitorStep[V]) Kind ¶
func (step *VisitorStep[V]) Kind() string
func (*VisitorStep[V]) ListIndex ¶
func (step *VisitorStep[V]) ListIndex() string
func (*VisitorStep[V]) Options ¶
func (step *VisitorStep[V]) Options() manager.Options
func (*VisitorStep[V]) Run ¶
func (step *VisitorStep[V]) Run(tree *tftree.SpanTree)
func (*VisitorStep[V]) UnmarshalJSON ¶
func (step *VisitorStep[V]) UnmarshalJSON(buf []byte) error
func (*VisitorStep[V]) UnmarshalNewJSON ¶
func (*VisitorStep[V]) UnmarshalNewJSON(buf []byte) (Step, error)
Click to show internal directories.
Click to hide internal directories.