Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSnapshotVersion ¶
GetSnapshotVersion generates a version string by hashing the certs
Types ¶
type Secret ¶ added in v1.5.0
type Secret struct { SslCaFile string SslKeyFile string SslCertFile string ServerCert string // name of a tls_certificate_sds_secret_config ValidationContext string // name of the validation_context_sds_secret_config }
Secret represents an envoy auth secret
type Server ¶ added in v1.5.0
type Server struct {
// contains filtered or unexported fields
}
Server is the SDS server. Holds config & secrets.
func SetupEnvoySDS ¶
SetupEnvoySDS creates a new SDSServer. The returned server can be started with Run()
func (*Server) ID ¶ added in v1.5.0
func (s *Server) ID(_ *envoy_config_core_v3.Node) string
ID needed for snapshotCache
Click to show internal directories.
Click to hide internal directories.