signer

package
v1.29.2 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: Apache-2.0 Imports: 22 Imported by: 32

Documentation

Overview

Package signer implements a CA signer that uses keys stored on local disk.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CSRSigningController added in v1.18.0

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

func NewCSRSigningController

func NewCSRSigningController(
	ctx context.Context,
	controllerName string,
	signerName string,
	client clientset.Interface,
	csrInformer certificatesinformers.CertificateSigningRequestInformer,
	caFile, caKeyFile string,
	certTTL time.Duration,
) (*CSRSigningController, error)

func NewKubeAPIServerClientCSRSigningController added in v1.19.0

func NewKubeAPIServerClientCSRSigningController(
	ctx context.Context,
	client clientset.Interface,
	csrInformer certificatesinformers.CertificateSigningRequestInformer,
	caFile, caKeyFile string,
	certTTL time.Duration,
) (*CSRSigningController, error)

func NewKubeletClientCSRSigningController added in v1.19.0

func NewKubeletClientCSRSigningController(
	ctx context.Context,
	client clientset.Interface,
	csrInformer certificatesinformers.CertificateSigningRequestInformer,
	caFile, caKeyFile string,
	certTTL time.Duration,
) (*CSRSigningController, error)

func NewKubeletServingCSRSigningController added in v1.19.0

func NewKubeletServingCSRSigningController(
	ctx context.Context,
	client clientset.Interface,
	csrInformer certificatesinformers.CertificateSigningRequestInformer,
	caFile, caKeyFile string,
	certTTL time.Duration,
) (*CSRSigningController, error)

func NewLegacyUnknownCSRSigningController added in v1.19.0

func NewLegacyUnknownCSRSigningController(
	ctx context.Context,
	client clientset.Interface,
	csrInformer certificatesinformers.CertificateSigningRequestInformer,
	caFile, caKeyFile string,
	certTTL time.Duration,
) (*CSRSigningController, error)

func (*CSRSigningController) Run added in v1.18.0

func (c *CSRSigningController) Run(ctx context.Context, workers int)

Run the main goroutine responsible for watching and syncing jobs.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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