Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultConftestVersionEnvKey = "DEFAULT_CONFTEST_VERSION"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Arg ¶
func NewPolicyArg ¶
type ConfTestExecutorWorkflow ¶
type ConfTestExecutorWorkflow struct { SourceResolver SourceResolver VersionCache cache.ExecutionVersionCache DefaultConftestVersion *version.Version Exec runtime_models.Exec }
ConfTestExecutorWorkflow runs a versioned conftest binary with the args built from the project context. Project context defines whether conftest runs a local policy set or runs a test on a remote policy set.
func NewConfTestExecutorWorkflow ¶
func NewConfTestExecutorWorkflow(log logging.SimpleLogging, versionRootDir string, conftestDownloder terraform.Downloader) *ConfTestExecutorWorkflow
func (*ConfTestExecutorWorkflow) EnsureExecutorVersion ¶
func (c *ConfTestExecutorWorkflow) EnsureExecutorVersion(log logging.SimpleLogging, v *version.Version) (string, error)
type ConfTestVersionDownloader ¶
type ConfTestVersionDownloader struct {
// contains filtered or unexported fields
}
type ConftestTestCommandArgs ¶
type LocalSourceResolver ¶
type LocalSourceResolver struct { }
LocalSourceResolver resolves a local policy set to a local fs path
type SourceResolver ¶
SourceResolver resolves the policy set to a local fs path
type SourceResolverProxy ¶
type SourceResolverProxy struct {
// contains filtered or unexported fields
}
SourceResolverProxy proxies to underlying source resolvers dynamically
Click to show internal directories.
Click to hide internal directories.