secrets

package
v0.12.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2021 License: MPL-2.0 Imports: 27 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 APIController added in v0.11.0

type APIController struct{}

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

func (*APIController) Inputs added in v0.11.0

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

Inputs implements controller.Controller interface.

func (*APIController) Name added in v0.11.0

func (ctrl *APIController) Name() string

Name implements controller.Controller interface.

func (*APIController) Outputs added in v0.11.0

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

Outputs implements controller.Controller interface.

func (*APIController) Run added in v0.11.0

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

Run implements controller.Controller interface.

type AltNames

type AltNames struct {
	IPs      []net.IP
	DNSNames []string
}

AltNames defines certificate alternative names.

type EtcdController

type EtcdController struct{}

EtcdController manages secrets.Etcd based on configuration.

func (*EtcdController) Inputs added in v0.10.0

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 added in v0.10.0

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 KubernetesController

type KubernetesController struct{}

KubernetesController manages secrets.Kubernetes based on configuration.

func (*KubernetesController) Inputs added in v0.10.0

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 added in v0.10.0

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 added in v0.10.0

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 added in v0.10.0

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.

Jump to

Keyboard shortcuts

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