Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// Rules is a Rego module that verifies agent requests.
Rules []byte
// Settings is a json config file that holds platform-specific configuration.
Settings []byte
// Bin is the genpolicy binary.
Bin []byte
}
Config contains configuration files for genpolicy.
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
Runner is a wrapper around the genpolicy tool.
Create an instance with New(), call Run() to execute the tool, and call Teardown() afterwards to clean up temporary files.
Click to show internal directories.
Click to hide internal directories.