Documentation
¶
Overview ¶
Package constraint includes a controller and reconciler for PolicyController constraints.
Index ¶
Constants ¶
View Source
const (
// ConstraintsGroup is the api group for gatekeeper constraints
ConstraintsGroup = "constraints.gatekeeper.sh"
)
Variables ¶
This section is empty.
Functions ¶
func AddController ¶
AddController adds a controller for the specified constraint kind to the given Manager.
func GVK ¶
func GVK(kind string) schema.GroupVersionKind
GVK returns the fully qualified GroupVersionKind of the given constraint kind.
func MatchesGroup ¶
func MatchesGroup(crd *apiextensionsv1.CustomResourceDefinition) bool
MatchesGroup returns true if the given CRD seems to be in the constraints group.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.