Documentation ¶
Overview ¶
Package common contains object types used by multiple packages
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Handler interface{}
Handler interface
Functions ¶
Types ¶
type Description ¶
type Description struct { Refs []Ref `json:"refs" yaml:"refs"` Tldr string `json:"tldr" yaml:"tldr"` Detailed string `json:"detailed" yaml:"detailed"` }
Description detailed description for the policy rule
type MatchSpec ¶
type MatchSpec struct { Name string `json:"name" yaml:"name"` Precondition []string `json:"precondition" yaml:"precondition"` Description Description `json:"description" yaml:"description"` Yaml string `json:"yaml" yaml:"yaml"` Spec pol.KubeArmorPolicySpec `json:"spec,omitempty" yaml:"spec,omitempty"` }
MatchSpec spec to match for defining policy
Click to show internal directories.
Click to hide internal directories.