Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( BuiltInFactories = []Factory{ FileContentFactory{}, FileFactory{}, JqFactory{}, RepositoryFactory{}, XpathFactory{}, } )
Functions ¶
This section is empty.
Types ¶
type FileContent ¶
func (*FileContent) String ¶
func (fcl *FileContent) String() string
type FileContentFactory ¶
type FileContentFactory struct{}
func (FileContentFactory) Create ¶
func (f FileContentFactory) Create(params params.Params) (Filter, error)
func (FileContentFactory) Name ¶
func (f FileContentFactory) Name() string
type FileFactory ¶
type FileFactory struct{}
func (FileFactory) Name ¶
func (f FileFactory) Name() string
type FilterRepository ¶
type Jq ¶ added in v0.15.0
Jq is a filter that applies a jq expression to a file in the repository.
type JqFactory ¶ added in v0.15.0
type JqFactory struct{}
JqFactory creates jq filters.
type Repository ¶
func (*Repository) String ¶
func (r *Repository) String() string
type RepositoryFactory ¶
type RepositoryFactory struct{}
func (RepositoryFactory) Create ¶
func (f RepositoryFactory) Create(params params.Params) (Filter, error)
func (RepositoryFactory) Name ¶
func (f RepositoryFactory) Name() string
type Reverse ¶
type Reverse struct {
// contains filtered or unexported fields
}
Reverse takes the result of a wrapped filter and returns the opposite.
type Xpath ¶ added in v0.13.0
Xpath filters repositories by applying an XPath expression to a file in the repository.
type XpathFactory ¶ added in v0.13.0
type XpathFactory struct{}
XpathFactory creates Xpath filters.
func (XpathFactory) Create ¶ added in v0.13.0
func (f XpathFactory) Create(params params.Params) (Filter, error)
Create implements Factory.
func (XpathFactory) Name ¶ added in v0.13.0
func (f XpathFactory) Name() string
Name implements Factory.
Click to show internal directories.
Click to hide internal directories.