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.35.0-alpha.0
Published
Aug 2, 2025
Platform
js/wasm
Imports
24 packages
Last checked
8 minutes ago

Tools for package owners.