package
2.0.0+incompatible
Repository: https://github.com/nginxinc/nginx-service-mesh.git
Documentation: pkg.go.dev

# Packages

Code generated by counterfeiter.

# Functions

NewCertManager returns a new instance of the CertManager.
NewCertManagerWithReloader returns a new instance of the CertManager.
NewDiskSVIDWriter creates a new instance of Writer.
NewX509CertFetcher creates a new instance of CertFetcher.
ParseCABundle converts an X509Context into a native go bundle.

# Constants

# Variables

ErrCertTimeout occurs when CertManager does not receive the initial trust bundle before the configured timeout.
ErrNoCertificates occurs when a workloadapi.X509Context contains no certificates, but is expected to by a parsing function.

# Structs

CABundleManager manages SPIRE events and CA Bundles.
CertManager writes SVID certificates and keys to disk.
DiskSVIDConfig contains the configuration for a Writer.
DiskSVIDWriter implements SVIDWriter interface.
X509CertFetcher fetches certs from the X509 SPIFFE Workload API.

# Interfaces

CertFetcher fetches certificates counterfeiter:generate ./.
Client wraps the workloadapi.Client counterfeiter:generate ./.
Reloader knows how to reload a process counterfeiter:generate ./.
SVIDWriter knows how extract and write certificates and keys from a SPIFFE X509-SVID.