Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnvoyConfParser ¶
type EnvoyConfParser struct { ReadUnmarshalEnvoyConfigCall struct { CallCount int Receives struct { EnvoyConfFile string } Returns struct { EnvoyConf parser.EnvoyConf Error error } } GetClustersCall struct { CallCount int Receives struct { EnvoyConf parser.EnvoyConf } Returns struct { Clusters []parser.Cluster NameToPortAndCiphersMap map[string]parser.PortAndCiphers } } GetMTLSCall struct { CallCount int Receives struct { EnvoyConf parser.EnvoyConf } Returns struct { MTLS bool } } }
func (*EnvoyConfParser) GetClusters ¶
func (e *EnvoyConfParser) GetClusters(envoyConf parser.EnvoyConf) ([]parser.Cluster, map[string]parser.PortAndCiphers)
func (*EnvoyConfParser) GetMTLS ¶ added in v0.4.0
func (e *EnvoyConfParser) GetMTLS(envoyConf parser.EnvoyConf) bool
func (*EnvoyConfParser) ReadUnmarshalEnvoyConfig ¶ added in v0.4.0
func (e *EnvoyConfParser) ReadUnmarshalEnvoyConfig(envoyConfFile string) (parser.EnvoyConf, error)
type SdsCredParser ¶
type SdsCredParser struct { GetCertAndKeyCall struct { CallCount int Returns struct { Cert string Key string Error error } } }
func (SdsCredParser) GetCertAndKey ¶
func (e SdsCredParser) GetCertAndKey() (string, string, error)
type SdsServerValidationParser ¶
type SdsServerValidationParser struct { GetCACertCall struct { CallCount int Returns struct { CA string Error error } } }
func (SdsServerValidationParser) GetCACert ¶
func (s SdsServerValidationParser) GetCACert() (string, error)
Click to show internal directories.
Click to hide internal directories.