Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrImportCycle errImportCycle
ErrImportCycle is returned when component dependencies form a cycle
View Source
var ErrInvalidDir errInvalidDir
ErrInvalidDir is returned when the repo dir is invalid
Functions ¶
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
Cache is a config engine cache by path
func NewCache ¶
func NewCache(repos *repofetcher.Cache, engines confengine.Map) *Cache
NewCache creates a new *Cache
func (*Cache) Get ¶
func (c *Cache) Get(ctx context.Context, kind string, spec repofetcher.Spec, dir string) (confengine.ConfEngine, error)
type Component ¶
type Component struct { Spec repofetcher.Spec Dir string Templates []Template }
Component is a package of files to generate
type Opts ¶
type Opts struct { DryRun bool NoNetwork bool ForceFetch bool RepoChecksumFile string GitDir string GitBin string GitBinQuiet bool JsonnetLibName string }
Opts holds generation opts
type RepoChecksumData ¶
type RepoChecksumData struct {
Repos []repofetcher.RepoChecksum `json:"repos"`
}
RepoChecksumData is the shape of a repo checksum file
Click to show internal directories.
Click to hide internal directories.