Documentation ¶
Index ¶
- Constants
- func PathAsString(matcher *v1.Matcher) string
- func SortRoutesByPath(routes []*v1.Route)
- type CertSource
- type SslConfigTranslator
- func (s *SslConfigTranslator) ResolveCommonSslConfig(cs CertSource) (*envoyauth.CommonTlsContext, error)
- func (s *SslConfigTranslator) ResolveDownstreamSslConfig(dc *v1.SslConfig) (*envoyauth.DownstreamTlsContext, error)
- func (s *SslConfigTranslator) ResolveUpstreamSslConfig(uc *v1.UpstreamSslConfig) (*envoyauth.UpstreamTlsContext, error)
Constants ¶
View Source
const (
MetadataPluginName = "envoy.grpc_credentials.file_based_metadata"
)
Variables ¶
This section is empty.
Functions ¶
func PathAsString ¶
func SortRoutesByPath ¶
opinionated method to sort routes by convention routes are sorted in the following way: 1. exact path < regex path < path prefix 2. longer path string < shorter path string
Types ¶
type CertSource ¶
type CertSource interface { GetSecretRef() *core.ResourceRef GetSslFiles() *v1.SSLFiles GetSds() *v1.SDSConfig GetVerifySubjectAltName() []string GetParameters() *v1.SslParameters }
type SslConfigTranslator ¶
type SslConfigTranslator struct {
// contains filtered or unexported fields
}
func NewSslConfigTranslator ¶
func NewSslConfigTranslator(secrets v1.SecretList) *SslConfigTranslator
func (*SslConfigTranslator) ResolveCommonSslConfig ¶
func (s *SslConfigTranslator) ResolveCommonSslConfig(cs CertSource) (*envoyauth.CommonTlsContext, error)
func (*SslConfigTranslator) ResolveDownstreamSslConfig ¶
func (s *SslConfigTranslator) ResolveDownstreamSslConfig(dc *v1.SslConfig) (*envoyauth.DownstreamTlsContext, error)
func (*SslConfigTranslator) ResolveUpstreamSslConfig ¶
func (s *SslConfigTranslator) ResolveUpstreamSslConfig(uc *v1.UpstreamSslConfig) (*envoyauth.UpstreamTlsContext, error)
Click to show internal directories.
Click to hide internal directories.