Documentation ¶
Overview ¶
Package secrets provides controllers which manage secret resources.
Index ¶
- Constants
- type APICertSANsController
- type APIController
- type EtcdController
- type KubeletController
- type KubernetesCertSANsController
- func (ctrl *KubernetesCertSANsController) Inputs() []controller.Input
- func (ctrl *KubernetesCertSANsController) Name() string
- func (ctrl *KubernetesCertSANsController) Outputs() []controller.Output
- func (ctrl *KubernetesCertSANsController) Run(ctx context.Context, r controller.Runtime, logger *zap.Logger) error
- type KubernetesController
- type KubernetesDynamicCertsController
- func (ctrl *KubernetesDynamicCertsController) Inputs() []controller.Input
- func (ctrl *KubernetesDynamicCertsController) Name() string
- func (ctrl *KubernetesDynamicCertsController) Outputs() []controller.Output
- func (ctrl *KubernetesDynamicCertsController) Run(ctx context.Context, r controller.Runtime, logger *zap.Logger) error
- type MaintenanceCertSANsController
- func (ctrl *MaintenanceCertSANsController) Inputs() []controller.Input
- func (ctrl *MaintenanceCertSANsController) Name() string
- func (ctrl *MaintenanceCertSANsController) Outputs() []controller.Output
- func (ctrl *MaintenanceCertSANsController) Run(ctx context.Context, r controller.Runtime, logger *zap.Logger) error
- type MaintenanceController
- type MaintenanceRootController
- func (ctrl *MaintenanceRootController) Inputs() []controller.Input
- func (ctrl *MaintenanceRootController) Name() string
- func (ctrl *MaintenanceRootController) Outputs() []controller.Output
- func (ctrl *MaintenanceRootController) Run(ctx context.Context, r controller.Runtime, logger *zap.Logger) error
- type RootEtcdController
- type RootKubernetesController
- type RootOSController
- type TrustdController
Constants ¶
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 ¶
func (ctrl *APICertSANsController) Run(ctx context.Context, r controller.Runtime, logger *zap.Logger) error
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 ¶
func NewKubeletController() *KubeletController
NewKubeletController instanciates the controller.
type KubernetesCertSANsController ¶
type KubernetesCertSANsController struct{}
KubernetesCertSANsController manages secrets.KubernetesCertSANs based on configuration.
func (*KubernetesCertSANsController) Inputs ¶
func (ctrl *KubernetesCertSANsController) Inputs() []controller.Input
Inputs implements controller.Controller interface.
func (*KubernetesCertSANsController) Name ¶
func (ctrl *KubernetesCertSANsController) Name() string
Name implements controller.Controller interface.
func (*KubernetesCertSANsController) Outputs ¶
func (ctrl *KubernetesCertSANsController) Outputs() []controller.Output
Outputs implements controller.Controller interface.
func (*KubernetesCertSANsController) Run ¶
func (ctrl *KubernetesCertSANsController) Run(ctx context.Context, r controller.Runtime, logger *zap.Logger) error
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 ¶
func (ctrl *KubernetesController) Run(ctx context.Context, r controller.Runtime, logger *zap.Logger) error
Run implements controller.Controller interface.
type KubernetesDynamicCertsController ¶
type KubernetesDynamicCertsController struct{}
KubernetesDynamicCertsController manages secrets.KubernetesDynamicCerts based on configuration.
func (*KubernetesDynamicCertsController) Inputs ¶
func (ctrl *KubernetesDynamicCertsController) Inputs() []controller.Input
Inputs implements controller.Controller interface.
func (*KubernetesDynamicCertsController) Name ¶
func (ctrl *KubernetesDynamicCertsController) Name() string
Name implements controller.Controller interface.
func (*KubernetesDynamicCertsController) Outputs ¶
func (ctrl *KubernetesDynamicCertsController) Outputs() []controller.Output
Outputs implements controller.Controller interface.
func (*KubernetesDynamicCertsController) Run ¶
func (ctrl *KubernetesDynamicCertsController) Run(ctx context.Context, r controller.Runtime, logger *zap.Logger) error
Run implements controller.Controller interface.
type MaintenanceCertSANsController ¶
type MaintenanceCertSANsController struct{}
MaintenanceCertSANsController manages secrets.APICertSANs based on configuration.
func (*MaintenanceCertSANsController) Inputs ¶
func (ctrl *MaintenanceCertSANsController) Inputs() []controller.Input
Inputs implements controller.Controller interface.
func (*MaintenanceCertSANsController) Name ¶
func (ctrl *MaintenanceCertSANsController) Name() string
Name implements controller.Controller interface.
func (*MaintenanceCertSANsController) Outputs ¶
func (ctrl *MaintenanceCertSANsController) Outputs() []controller.Output
Outputs implements controller.Controller interface.
func (*MaintenanceCertSANsController) Run ¶
func (ctrl *MaintenanceCertSANsController) Run(ctx context.Context, r controller.Runtime, logger *zap.Logger) error
Run implements controller.Controller interface.
type MaintenanceController ¶
type MaintenanceController struct{}
MaintenanceController manages secrets.MaintenanceServiceCerts.
func (*MaintenanceController) Inputs ¶
func (ctrl *MaintenanceController) Inputs() []controller.Input
Inputs implements controller.Controller interface.
func (*MaintenanceController) Name ¶
func (ctrl *MaintenanceController) Name() string
Name implements controller.Controller interface.
func (*MaintenanceController) Outputs ¶
func (ctrl *MaintenanceController) Outputs() []controller.Output
Outputs implements controller.Controller interface.
func (*MaintenanceController) Run ¶
func (ctrl *MaintenanceController) Run(ctx context.Context, r controller.Runtime, logger *zap.Logger) error
Run implements controller.Controller interface.
type MaintenanceRootController ¶
type MaintenanceRootController struct{}
MaintenanceRootController manages secrets.Root based on configuration.
func (*MaintenanceRootController) Inputs ¶
func (ctrl *MaintenanceRootController) Inputs() []controller.Input
Inputs implements controller.Controller interface.
func (*MaintenanceRootController) Name ¶
func (ctrl *MaintenanceRootController) Name() string
Name implements controller.Controller interface.
func (*MaintenanceRootController) Outputs ¶
func (ctrl *MaintenanceRootController) Outputs() []controller.Output
Outputs implements controller.Controller interface.
func (*MaintenanceRootController) Run ¶
func (ctrl *MaintenanceRootController) Run(ctx context.Context, r controller.Runtime, logger *zap.Logger) error
Run implements controller.Controller interface.
type RootEtcdController ¶
type RootEtcdController = transform.Controller[*config.MachineConfig, *secrets.EtcdRoot]
RootEtcdController manages secrets.EtcdRoot based on configuration.
func NewRootEtcdController ¶
func NewRootEtcdController() *RootEtcdController
NewRootEtcdController instanciates the controller.
type RootKubernetesController ¶
type RootKubernetesController = transform.Controller[*config.MachineConfig, *secrets.KubernetesRoot]
RootKubernetesController manages secrets.KubernetesRoot based on configuration.
func NewRootKubernetesController ¶
func NewRootKubernetesController() *RootKubernetesController
NewRootKubernetesController instanciates the controller.
type RootOSController ¶
type RootOSController = transform.Controller[*config.MachineConfig, *secrets.OSRoot]
RootOSController manages secrets.OSRoot based on configuration.
func NewRootOSController ¶
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.