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: 0

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