approver

package
v0.1.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2023 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(podNs, metricsAddr, healthAddr string, webhookPort int, enableLeaderElection bool, setupLog logr.Logger) error

Types

type CertHandler

type CertHandler interface {
	HandleServerCert(ctx context.Context, csr *certv1.CertificateSigningRequest) error
	HandleClientCert(ctx context.Context, csr *certv1.CertificateSigningRequest) error
}

func NewCertHandler

func NewCertHandler(log logr.Logger, client client.Client) CertHandler

type RawK8sClient

type RawK8sClient interface {
	Get(ctx context.Context, namespacedName types.NamespacedName, obj client.Object) error
}

func NewRawK8sClient

func NewRawK8sClient(client client.Client) RawK8sClient

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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