secrets

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2024 License: MPL-2.0 Imports: 34 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

This section is empty.

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 = transform.Controller[*config.MachineConfig, *secrets.Kubelet]

KubeletController manages secrets.Kubelet based on configuration.

func NewKubeletController added in v1.5.0

func NewKubeletController() *KubeletController

NewKubeletController instanciates the controller.

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 KubernetesDynamicCertsController added in v1.4.2

type KubernetesDynamicCertsController struct{}

KubernetesDynamicCertsController manages secrets.KubernetesDynamicCerts based on configuration.

func (*KubernetesDynamicCertsController) Inputs added in v1.4.2

Inputs implements controller.Controller interface.

func (*KubernetesDynamicCertsController) Name added in v1.4.2

Name implements controller.Controller interface.

func (*KubernetesDynamicCertsController) Outputs added in v1.4.2

Outputs implements controller.Controller interface.

func (*KubernetesDynamicCertsController) Run added in v1.4.2

Run implements controller.Controller interface.

type MaintenanceCertSANsController added in v1.5.0

type MaintenanceCertSANsController struct{}

MaintenanceCertSANsController manages secrets.APICertSANs based on configuration.

func (*MaintenanceCertSANsController) Inputs added in v1.5.0

Inputs implements controller.Controller interface.

func (*MaintenanceCertSANsController) Name added in v1.5.0

Name implements controller.Controller interface.

func (*MaintenanceCertSANsController) Outputs added in v1.5.0

Outputs implements controller.Controller interface.

func (*MaintenanceCertSANsController) Run added in v1.5.0

Run implements controller.Controller interface.

type MaintenanceController added in v1.5.0

type MaintenanceController struct{}

MaintenanceController manages secrets.MaintenanceServiceCerts.

func (*MaintenanceController) Inputs added in v1.5.0

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

Inputs implements controller.Controller interface.

func (*MaintenanceController) Name added in v1.5.0

func (ctrl *MaintenanceController) Name() string

Name implements controller.Controller interface.

func (*MaintenanceController) Outputs added in v1.5.0

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

Outputs implements controller.Controller interface.

func (*MaintenanceController) Run added in v1.5.0

Run implements controller.Controller interface.

type MaintenanceRootController added in v1.5.0

type MaintenanceRootController struct{}

MaintenanceRootController manages secrets.Root based on configuration.

func (*MaintenanceRootController) Inputs added in v1.5.0

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

Inputs implements controller.Controller interface.

func (*MaintenanceRootController) Name added in v1.5.0

func (ctrl *MaintenanceRootController) Name() string

Name implements controller.Controller interface.

func (*MaintenanceRootController) Outputs added in v1.5.0

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

Outputs implements controller.Controller interface.

func (*MaintenanceRootController) Run added in v1.5.0

Run implements controller.Controller interface.

type RootEtcdController added in v1.5.0

type RootEtcdController = transform.Controller[*config.MachineConfig, *secrets.EtcdRoot]

RootEtcdController manages secrets.EtcdRoot based on configuration.

func NewRootEtcdController added in v1.5.0

func NewRootEtcdController() *RootEtcdController

NewRootEtcdController instanciates the controller.

type RootKubernetesController added in v1.5.0

type RootKubernetesController = transform.Controller[*config.MachineConfig, *secrets.KubernetesRoot]

RootKubernetesController manages secrets.KubernetesRoot based on configuration.

func NewRootKubernetesController added in v1.5.0

func NewRootKubernetesController() *RootKubernetesController

NewRootKubernetesController instanciates the controller.

type RootOSController added in v1.5.0

type RootOSController = transform.Controller[*config.MachineConfig, *secrets.OSRoot]

RootOSController manages secrets.OSRoot based on configuration.

func NewRootOSController added in v1.5.0

func NewRootOSController() *RootOSController

NewRootOSController instanciates the controller.

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.

type TrustedRootsController added in v1.8.0

type TrustedRootsController struct{}

TrustedRootsController manages CA trusted roots based on configuration.

func (*TrustedRootsController) Inputs added in v1.8.0

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

Inputs implements controller.Controller interface.

func (*TrustedRootsController) Name added in v1.8.0

func (ctrl *TrustedRootsController) Name() string

Name implements controller.Controller interface.

func (*TrustedRootsController) Outputs added in v1.8.0

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

Outputs implements controller.Controller interface.

func (*TrustedRootsController) Run added in v1.8.0

Run implements controller.Controller interface.

Jump to

Keyboard shortcuts

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