Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Strategy ¶
type Strategy interface { // Generate updates the annotations based on constraint rules. The updates are applied to a copy // of the annotations, and returned. Generate(annotations map[string]string, container *api.Container) (map[string]string, error) // Validate ensures that the specified values fall within the range of the strategy. Validate(pod *api.Pod, container *api.Container) field.ErrorList }
Strategy defines the interface for all AppArmor constraint strategies.
func NewStrategy ¶
NewStrategy creates a new strategy that enforces AppArmor profile constraints.
Click to show internal directories.
Click to hide internal directories.