Documentation ¶
Index ¶
Constants ¶
View Source
const ( WARNING = "warning" ERROR = "error" TARGET_RESOURCE = "resource" )
Variables ¶
View Source
var PolicyFileSchema = &hcl.BodySchema{ Blocks: []hcl.BlockHeaderSchema{ { Type: "policy", LabelNames: []string{"name"}, }, }, }
Functions ¶
This section is empty.
Types ¶
type Output ¶
type Output struct { Name string `json:"name"` Validated bool `json:"is_valid"` Severity string `json:"severity,omitempty"` InvalidResources []ports.InvalidResource `json:"invalid_resources,omitempty"` }
Click to show internal directories.
Click to hide internal directories.