approver

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateAgentCSR

func ValidateAgentCSR(req *x509.CertificateRequest, usages sets.Set[string]) error

ValidateAgentCSR used to determine if the CSR is a valid agent's CSR.

Types

type AgentCSRApprovingController

type AgentCSRApprovingController struct {
	Client kubernetes.Interface
}

AgentCSRApprovingController is used to automatically approve the agent's CSR.

func (*AgentCSRApprovingController) Reconcile

Reconcile performs a full reconciliation for the object referred to by the Request. The Controller will requeue the Request to be processed again if an error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.

func (*AgentCSRApprovingController) SetupWithManager

SetupWithManager creates a controller and registers to controller manager.

Jump to

Keyboard shortcuts

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