Documentation ¶
Index ¶
Constants ¶
View Source
const GlooH2Annotation = "gloo.solo.io/h2_service"
View Source
const GlooSslRootCaAnnotation = "gloo.solo.io/sslService.rootCa"
View Source
const GlooSslSecretAnnotation = "gloo.solo.io/sslService.secret"
View Source
const GlooSslTlsCertAnnotation = "gloo.solo.io/sslService.tlsCert"
View Source
const GlooSslTlsKeyAnnotation = "gloo.solo.io/sslService.tlsKey"
Variables ¶
View Source
var DefaultServiceConverters []ServiceConverter
the default annotation converters that will be used these are initialized at runtime
Functions ¶
This section is empty.
Types ¶
type ServiceConverter ¶
type ServiceConverter interface {
ConvertService(svc *kubev1.Service, port kubev1.ServicePort, spec *v1.UpstreamSpec) error
}
ServiceConverters apply extra changes to an upstream spec before the upstream is created use this to support things like custom config from annotations
type UseHttp2Converter ¶
type UseHttp2Converter struct{}
sets UseHttp2 on the upstream if the service has the relevant port name
func (*UseHttp2Converter) ConvertService ¶
func (u *UseHttp2Converter) ConvertService(svc *kubev1.Service, port kubev1.ServicePort, spec *v1.UpstreamSpec) error
type UseSslConverter ¶
type UseSslConverter struct{}
sets UseSsl on the upstream if the service has the relevant port name
func (*UseSslConverter) ConvertService ¶
func (u *UseSslConverter) ConvertService(svc *kubev1.Service, port kubev1.ServicePort, spec *v1.UpstreamSpec) error
Click to show internal directories.
Click to hide internal directories.