Documentation ¶
Index ¶
- Constants
- func DeployBundle(p *platform.Platform, bundlePath string) error
- func Install(platform *platform.Platform) error
- func InstallGatekeeper(p *platform.Platform) error
- func InstallKubemgmt(platform *platform.Platform) error
- func Test(p *platform.Platform, test *console.TestResults)
- func TestGatekeeper(p *platform.Platform, test *console.TestResults)
- func TestOPA(p *platform.Platform, test *console.TestResults)
- type AuditResource
- type AuditResourceStatus
- type AuditResourceViolation
- type Error
- type Fixture
- type Violation
- type ViolationConfig
Constants ¶
View Source
const ( Namespace = "opa" GatekeeperNamespace = "gatekeeper-system" )
Variables ¶
This section is empty.
Functions ¶
func InstallGatekeeper ¶ added in v0.20.0
func InstallKubemgmt ¶ added in v0.20.0
func TestGatekeeper ¶ added in v0.20.0
func TestGatekeeper(p *platform.Platform, test *console.TestResults)
Types ¶
type AuditResource ¶ added in v0.20.0
type AuditResource struct {
Status AuditResourceStatus `yaml:"status,omitempty"`
}
type AuditResourceStatus ¶ added in v0.20.0
type AuditResourceStatus struct {
Violations []AuditResourceViolation `yaml:"violations,omitempty"`
}
type AuditResourceViolation ¶ added in v0.20.0
type Error ¶ added in v0.17.15
type Error struct { Status string `json:"status"` Error struct { Code string `json:"code"` Message string `json:"message"` Errors []struct { Code string `json:"code"` Message string `json:"message"` Location struct { File string `json:"file"` Row int `json:"row"` Col int `json:"col"` } `json:"location"` } `json:"errors"` } `json:"error"` }
type Fixture ¶ added in v0.20.0
type Fixture struct { Kind string `yaml:"kind,omitempty"` Metadata metav1.ObjectMeta `yaml:"metadata,omitemoty"` }
type ViolationConfig ¶ added in v0.20.0
type ViolationConfig struct {
Violations []Violation `yaml:"violations,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.