constraint

package
v1.13.1-rc.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 17, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

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

func AddController(mgr manager.Manager, kind string) error

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

MatchesGroup returns true if the given CRD seems to be in the constraints group.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL