ctbattest

package
v1.29.4 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

View Source
const PluginName = "ClusterTrustBundleAttest"

Variables

This section is empty.

Functions

func Register

func Register(plugins *admission.Plugins)

Types

type Plugin

type Plugin struct {
	*admission.Handler
	// contains filtered or unexported fields
}

Plugin is the ClusterTrustBundle attest plugin.

In order to create or update a ClusterTrustBundle that sets signerName, you must have the following permission: group=certificates.k8s.io resource=signers resourceName=<the signer name> verb=attest.

func NewPlugin

func NewPlugin() *Plugin

func (*Plugin) InspectFeatureGates

func (p *Plugin) InspectFeatureGates(featureGates featuregate.FeatureGate)

InspectFeatureGates implements WantsFeatures.

func (*Plugin) SetAuthorizer

func (p *Plugin) SetAuthorizer(authz authorizer.Authorizer)

SetAuthorizer sets the plugin's authorizer.

func (*Plugin) Validate

func (*Plugin) ValidateInitialization

func (p *Plugin) ValidateInitialization() error

ValidateInitialization checks that the plugin was initialized correctly.

Jump to

Keyboard shortcuts

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