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.