Documentation ¶
Index ¶
Constants ¶
View Source
const PluginName = "CertificateApproval"
PluginName is a string with the name of the plugin
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Plugin ¶
Plugin holds state for and implements the admission plugin.
func (*Plugin) SetAuthorizer ¶
func (p *Plugin) SetAuthorizer(authz authorizer.Authorizer)
SetAuthorizer sets the authorizer.
func (*Plugin) Validate ¶
func (p *Plugin) Validate(ctx context.Context, a admission.Attributes, _ admission.ObjectInterfaces) error
Validate verifies that the requesting user has permission to approve CertificateSigningRequests for the specified signerName.
Click to show internal directories.
Click to hide internal directories.