Documentation
¶
Index ¶
Constants ¶
View Source
const ManifestName = "policy-manifest.yaml"
ManifestName is the name of the file containing the Policy Manifest.
Variables ¶
This section is empty.
Functions ¶
func IsPolicyFile ¶
func IsPolicyTestFile ¶
Types ¶
type Config ¶
type Config struct {
Dir string
}
Config is the configuration for the package source.
func (*Config) NewPackageSource ¶
func (c *Config) NewPackageSource() (packagesources.PackageSource, error)
NewPackageSource creates a new PackageSource from configuration. It validates the configuration.
type PackageSource ¶
type PackageSource struct {
// contains filtered or unexported fields
}
PackageSource can load packages from a local directory.
Click to show internal directories.
Click to hide internal directories.