kubernetesk8s.io/kubernetes/test/utils/hermeticpodcertificatesigner Index | Files

package hermeticpodcertificatesigner

import "k8s.io/kubernetes/test/utils/hermeticpodcertificatesigner"

Index

Functions

func GenerateCAHierarchy

func GenerateCAHierarchy(numIntermediates int) ([]crypto.PrivateKey, [][]byte, error)

GenerateCAHierarchy makes a CA hierarchy, possibly with intermediates. The outputs can be used with Controller.

Types

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

Controller is an in-memory signing controller for PodCertificateRequests.

func New

func New(clock clock.PassiveClock, signerName string, caKeys []crypto.PrivateKey, caCerts [][]byte, kc kubernetes.Interface) *Controller

New creates a new Controller.

func (*Controller) Run

func (c *Controller) Run(ctx context.Context)

Source Files

hermeticpodcertificatesigner.go

Version
v1.34.0-rc.0
Published
Aug 6, 2025
Platform
linux/amd64
Imports
24 packages
Last checked
32 seconds ago

Tools for package owners.