constrainttemplate

package
v1.13.0-rc.7 Latest Latest
Warning

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

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

Documentation

Overview

Package constrainttemplate includes a controller and reconciler for PolicyController constraint templates.

Index

Constants

View Source
const (

	// TemplatesGroup is the api group for gatekeeper constraint templates
	TemplatesGroup = "templates.gatekeeper.sh"
)

Variables

View Source
var (

	// GVK is the GVK for gatekeeper ConstraintTemplates.
	GVK = gk.WithVersion("v1beta1")
)

Functions

func AddController

func AddController(mgr manager.Manager) error

AddController adds the ConstraintTemplate controller to the given Manager.

func EmptyConstraintTemplate

func EmptyConstraintTemplate() unstructured.Unstructured

EmptyConstraintTemplate returns an empty ConstraintTemplate.

func MatchesGK

MatchesGK returns true if the given CRD defines the gatekeeper ConstraintTemplate.

Types

This section is empty.

Jump to

Keyboard shortcuts

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