...

Package certclient

import "github.com/GoogleCloudPlatform/k8s-config-connector/pkg/webhook/cert/certclient"
Overview
Index

Overview ▾

type CertClient

CertClient is responsible for installing webhook manifests and provisioning and rotating their certs.

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

func New

func New(opts Options) (*CertClient, error)

func (*CertClient) RefreshCertsAndInstall

func (c *CertClient) RefreshCertsAndInstall() error

func (*CertClient) Start

func (c *CertClient) Start(ctx context.Context) error

type Options

type Options struct {
    WebhookManifests []client.Object
    Service          *corev1.Service
    KubeClient       client.Client
    CertDir          string
    CertWriter       writer.CertWriter
}