# Packages

Package mocks is a generated GoMock package.

# Functions

GatewayFromContext retrieves info about a gateway from the context or nil if there is none.
NewManager returns a new Manager isntance.
No description provided by the author
NewRequestHandler initializes a RequestHandler instance and wraps it in a github.com/envoyproxy/go-control-plane/pkg/server/v3,(*CallbackFuncs) so that it can be used by the stock go-control-plane server implementation.
NEWSDSServer initializes an SDSServer instance.
NewSecretManager returns a secret manager that manages the use of an underlying SecretClient and SecretCache to track and keep TLS secrets up-to-date.
SPIFFEStreamMiddleware verifies the spiffe entries for the certificate and sets the client identidy on the request context.

# Variables

No description provided by the author

# Structs

Manager wraps and manages an envoy process and its bootstrap configuration.
ManagerConfig configures a Manager.
MultiSecretClient implements a registry of secret clients that handle fetching secrets based off of the protocol they're given in the secret name.
RequestHandler implements the handlers for an SDS Delta server.
SDSServer wraps a gRPC-based SDS Delta server.

# Interfaces

CertificateFetcher is used to fetch the CA and server certificate that the server should use for TLS.
SecretCache is used as an intermediate cache for pushing tls certificates into.
SecretClient is used to retrieve TLS secrets.
SecretManager handles the lifecycle of watched TLS secrets.