Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MemPathVisitor ¶
type MemPathVisitor struct { MemFs billy.Filesystem // Where to send output. Iostreams genericclioptions.IOStreams }
func (*MemPathVisitor) ExpandPathsToFileVisitors ¶
func (mpv *MemPathVisitor) ExpandPathsToFileVisitors(mapper resource.InfoMapper, path string, recursive bool, extensions []string, schema resource.ContentValidator) ([]resource.Visitor, error)
ExpandPathsToFileVisitors
func (*MemPathVisitor) FileVisitorForSTDIN ¶
func (mpv *MemPathVisitor) FileVisitorForSTDIN(builder *resource.Builder) resource.Visitor
type MemoryFileVisitor ¶
type MemoryFileVisitor struct { MemFile billy.File *resource.StreamVisitor }
MemoryFileVisitor is wrapping around a StreamVisitor, to handle open/close files
func (*MemoryFileVisitor) Visit ¶
func (v *MemoryFileVisitor) Visit(fn resource.VisitorFunc) error
Visit in a FileVisitor is just taking care of opening/closing files
Click to show internal directories.
Click to hide internal directories.