ctbattest

package
v1.28.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2023 License: Apache-2.0 Imports: 11 Imported by: 2

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