secrets

package
v1.4.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2023 License: MPL-2.0 Imports: 28 Imported by: 0

Documentation

Overview

Package secrets provides controllers which manage secret resources.

Index

Constants

View Source
const KubernetesCertificateValidityDuration = constants.KubernetesDefaultCertificateValidityDuration

KubernetesCertificateValidityDuration is the validity duration for the certificates created with this controller.

Controller automatically refreshes certs at 50% of CertificateValidityDuration.

Variables

This section is empty.

Functions

func RateLimitEvents

func RateLimitEvents(ctx context.Context, in <-chan controller.ReconcileEvent, interval time.Duration) <-chan controller.ReconcileEvent

RateLimitEvents to reduce the rate of reconcile events.

RateLimitEvents makes sure that reconcile events are not coming faster than interval. Any reconcile events which come during the waiting delay are coalesced with the original events.

Types

type APICertSANsController

type APICertSANsController struct{}

APICertSANsController manages secrets.APICertSANs based on configuration.

func (*APICertSANsController) Inputs

func (ctrl *APICertSANsController) Inputs() []controller.Input

Inputs implements controller.Controller interface.

func (*APICertSANsController) Name

func (ctrl *APICertSANsController) Name() string

Name implements controller.Controller interface.

func (*APICertSANsController) Outputs

func (ctrl *APICertSANsController) Outputs() []controller.Output

Outputs implements controller.Controller interface.

func (*APICertSANsController) Run

Run implements controller.Controller interface.

type APIController

type APIController struct{}

APIController manages secrets.API based on configuration to provide apid certificate.

func (*APIController) Inputs

func (ctrl *APIController) Inputs() []controller.Input

Inputs implements controller.Controller interface.

func (*APIController) Name

func (ctrl *APIController) Name() string

Name implements controller.Controller interface.

func (*APIController) Outputs

func (ctrl *APIController) Outputs() []controller.Output

Outputs implements controller.Controller interface.

func (*APIController) Run

func (ctrl *APIController) Run(ctx context.Context, r controller.Runtime, logger *zap.Logger) error

Run implements controller.Controller interface.

type EtcdController

type EtcdController struct{}

EtcdController manages secrets.Etcd based on configuration.

func (*EtcdController) Inputs

func (ctrl *EtcdController) Inputs() []controller.Input

Inputs implements controller.Controller interface.

func (*EtcdController) Name

func (ctrl *EtcdController) Name() string

Name implements controller.Controller interface.

func (*EtcdController) Outputs

func (ctrl *EtcdController) Outputs() []controller.Output

Outputs implements controller.Controller interface.

func (*EtcdController) Run

func (ctrl *EtcdController) Run(ctx context.Context, r controller.Runtime, logger *zap.Logger) error

Run implements controller.Controller interface.

type KubeletController

type KubeletController struct{}

KubeletController manages secrets.Kubelet based on configuration.

func (*KubeletController) Inputs

func (ctrl *KubeletController) Inputs() []controller.Input

Inputs implements controller.Controller interface.

func (*KubeletController) Name

func (ctrl *KubeletController) Name() string

Name implements controller.Controller interface.

func (*KubeletController) Outputs

func (ctrl *KubeletController) Outputs() []controller.Output

Outputs implements controller.Controller interface.

func (*KubeletController) Run

func (ctrl *KubeletController) Run(ctx context.Context, r controller.Runtime, logger *zap.Logger) error

Run implements controller.Controller interface.

type KubernetesCertSANsController

type KubernetesCertSANsController struct{}

KubernetesCertSANsController manages secrets.KubernetesCertSANs based on configuration.

func (*KubernetesCertSANsController) Inputs

Inputs implements controller.Controller interface.

func (*KubernetesCertSANsController) Name

func (ctrl *KubernetesCertSANsController) Name() string

Name implements controller.Controller interface.

func (*KubernetesCertSANsController) Outputs

Outputs implements controller.Controller interface.

func (*KubernetesCertSANsController) Run

Run implements controller.Controller interface.

type KubernetesController

type KubernetesController struct{}

KubernetesController manages secrets.Kubernetes based on configuration.

func (*KubernetesController) Inputs

func (ctrl *KubernetesController) Inputs() []controller.Input

Inputs implements controller.Controller interface.

func (*KubernetesController) Name

func (ctrl *KubernetesController) Name() string

Name implements controller.Controller interface.

func (*KubernetesController) Outputs

func (ctrl *KubernetesController) Outputs() []controller.Output

Outputs implements controller.Controller interface.

func (*KubernetesController) Run

Run implements controller.Controller interface.

type RootController

type RootController struct{}

RootController manages secrets.Root based on configuration.

func (*RootController) Inputs

func (ctrl *RootController) Inputs() []controller.Input

Inputs implements controller.Controller interface.

func (*RootController) Name

func (ctrl *RootController) Name() string

Name implements controller.Controller interface.

func (*RootController) Outputs

func (ctrl *RootController) Outputs() []controller.Output

Outputs implements controller.Controller interface.

func (*RootController) Run

func (ctrl *RootController) Run(ctx context.Context, r controller.Runtime, logger *zap.Logger) error

Run implements controller.Controller interface.

type TrustdController

type TrustdController struct{}

TrustdController manages secrets.API based on configuration to provide apid certificate.

func (*TrustdController) Inputs

func (ctrl *TrustdController) Inputs() []controller.Input

Inputs implements controller.Controller interface.

func (*TrustdController) Name

func (ctrl *TrustdController) Name() string

Name implements controller.Controller interface.

func (*TrustdController) Outputs

func (ctrl *TrustdController) Outputs() []controller.Output

Outputs implements controller.Controller interface.

func (*TrustdController) Run

func (ctrl *TrustdController) Run(ctx context.Context, r controller.Runtime, logger *zap.Logger) error

Run implements controller.Controller interface.

Jump to

Keyboard shortcuts

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