certs

package
v1.2.5 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2024 License: Apache-2.0 Imports: 18 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AtomicCertsUpdater = "/usr/local/bin/atomic-certs-update.sh"

Functions

This section is empty.

Types

type ProxyCerts

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

func NewProxyCerts

func NewProxyCerts(ctx context.Context, key *edgeproto.CloudletKey, rootLBAPI RootLBAPI, nodeMgr *node.NodeMgr, haMgr *redundancy.HighAvailabilityManager, platformFeatures *edgeproto.PlatformFeatures, commercialCerts bool, envoyImage string, cache *certscache.ProxyCertsCache) *ProxyCerts

func (*ProxyCerts) RefreshCerts

func (s *ProxyCerts) RefreshCerts(ctx context.Context) error

func (*ProxyCerts) SetupTLSCerts

func (s *ProxyCerts) SetupTLSCerts(ctx context.Context, fqdn, lbname string, client ssh.Client) error

func (*ProxyCerts) Start

func (s *ProxyCerts) Start(ctx context.Context)

Start starts proxy cert refresh thread

func (*ProxyCerts) Stop

func (s *ProxyCerts) Stop()

func (*ProxyCerts) TriggerRootLBCertsRefresh

func (s *ProxyCerts) TriggerRootLBCertsRefresh()

type RootLBAPI

type RootLBAPI interface {
	// Get ssh clients of all root LBs
	GetRootLBClients(ctx context.Context) (map[string]platform.RootLBClient, error)
}

Jump to

Keyboard shortcuts

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