Documentation
¶
Index ¶
- type Builder
- func (b *Builder) Build(ctx context.Context) error
- func (b *Builder) WithExcluded(excluded []string) *Builder
- func (b *Builder) WithOutput(w io.Writer) *Builder
- func (b *Builder) WithRevision(revision string) *Builder
- func (b *Builder) WithSources(srcs []*Source) *Builder
- func (b *Builder) WithTarget(target string) *Builder
- type Dir
- type PackageConflictErr
- type Source
- type Transform
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
func (*Builder) WithExcluded ¶
func (*Builder) WithRevision ¶
func (*Builder) WithSources ¶
func (*Builder) WithTarget ¶
type PackageConflictErr ¶
type PackageConflictErr struct {
Requirement *Source
Package *ast.Package
// contains filtered or unexported fields
}
func (*PackageConflictErr) Error ¶
func (err *PackageConflictErr) Error() string
type Source ¶
type Source struct {
Name string
Requirements []ext_config.Requirement
Transforms []Transform
// contains filtered or unexported fields
}
Source represents a collection of policy and data files with dependencies. Sources can depend on other sources via Requirements and apply transformations to data files before building.
Click to show internal directories.
Click to hide internal directories.