Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultCachePath = ".goac/cache/"
View Source
var DefaultFilesToExclude = map[Target][]string{
TargetBuild: {".goacproject.yaml", "*_test.go"},
TargetBuildImage: {".goacproject.yaml", "*_test.go"},
}
View Source
var DefaultFilesToInclude = map[Target][]string{
TargetBuild: {"*.go"},
TargetBuildImage: {},
}
View Source
var PahToSearch = "."
View Source
var RootPath = "."
Functions ¶
func Discover ¶
func Discover(opts *DiscoverOptions) error
Types ¶
type DiscoverOptions ¶
type Project ¶
type Project struct { Version string Name string Path string `yaml:",omitempty"` CleanPath string `yaml:",omitempty"` Target map[Target]*TargetConfig HashPath string `yaml:",omitempty"` Module *Module `yaml:",omitempty"` HashPool *sync.Pool `yaml:",omitempty"` Metadata *Metadata `yaml:",omitempty"` Cache *Cache `yaml:",omitempty"` Rule *scan.Rule `yaml:",omitempty"` CMDOptions *Options `yaml:",omitempty"` }
type TargetConfig ¶
Click to show internal directories.
Click to hide internal directories.