package
0.0.20
Repository: https://github.com/kform-dev/choreo.git
Documentation: pkg.go.dev

# Functions

ExpandPathsToFileVisitors will return a slice of FileVisitors that will handle files from the provided path.
FileVisitorForSTDIN return a special FileVisitor just for STDIN.
No description provided by the author
the user supplied visitor function is invoked, giving them the opportunity to mutate the Info object or terminate early with an error.
NewFlattenListVisitor creates a visitor that will expand list style runtime.Objects into individual items and then visit them individually.
No description provided by the author
NewStreamVisitor is a helper function that is useful when we want to change the fields of the struct but keep calls the same.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
DecoratedVisitor will invoke the decorators in order prior to invoking the visitor function passed to Visit.
No description provided by the author
FileVisitor is wrapping around a StreamVisitor, to handle open/close files.
FlattenListVisitor flattens any objects that runtime.ExtractList recognizes as a list - has an "Items" public field that is a slice of runtime.Objects or objects satisfying that interface - into multiple Infos.
No description provided by the author
No description provided by the author
StreamVisitor reads objects from an io.Reader and walks them.
URLVisitor downloads the contents of a URL, and if successful, returns an info object representing the downloaded object.

# Interfaces

Visitor lets clients walk a list of resources.

# Type aliases

EagerVisitorList implements Visit for the sub visitors it contains.
VisitorFunc implements the Visitor interface for a matching function.
VisitorList implements Visit for the sub visitors it contains.