Documentation ¶
Index ¶
- Constants
- func CheckForbiddenCustomHeaders(header envoycore_sk.HeaderValue) error
- func ToEnvoyDatadogConfiguration(glooDatadogConfig *envoytracegloo.DatadogConfig, clusterName string) (*envoytrace.DatadogConfig, error)
- func ToEnvoyHeaderValueOptionList(option []*envoycore_sk.HeaderValueOption, secrets *v1.SecretList, ...) ([]*envoy_config_core_v3.HeaderValueOption, error)
- func ToEnvoyHeaderValueOptions(option *envoycore_sk.HeaderValueOption, secrets *v1.SecretList, ...) ([]*envoy_config_core_v3.HeaderValueOption, error)
- func ToEnvoyHealthCheck(check *envoycore_gloo.HealthCheck, secrets *v1.SecretList, ...) (*envoy_config_core_v3.HealthCheck, error)
- func ToEnvoyHealthCheckList(check []*envoycore_gloo.HealthCheck, secrets *v1.SecretList, ...) ([]*envoy_config_core_v3.HealthCheck, error)
- func ToEnvoyInt64Range(int64Range *envoytype_gloo.Int64Range) *envoy_type_v3.Int64Range
- func ToEnvoyInt64RangeList(int64Range []*envoytype_gloo.Int64Range) []*envoy_type_v3.Int64Range
- func ToEnvoyOpenCensusConfiguration(glooOpenCensusConfig *envoytracegloo.OpenCensusConfig) (*envoytrace.OpenCensusConfig, error)
- func ToEnvoyOpenTelemetryonfiguration(glooOpenTelemetryConfig *envoytracegloo.OpenTelemetryConfig, ...) (*envoytrace.OpenTelemetryConfig, error)
- func ToEnvoyOutlierDetection(detection *envoycluster_gloo.OutlierDetection) *envoy_config_cluster_v3.OutlierDetection
- func ToEnvoyOutlierDetectionList(list []*envoycluster_gloo.OutlierDetection) []*envoy_config_cluster_v3.OutlierDetection
- func ToEnvoyPayload(payload *envoycore_gloo.HealthCheck_Payload) *envoy_config_core_v3.HealthCheck_Payload
- func ToEnvoyPayloadList(payload []*envoycore_gloo.HealthCheck_Payload) []*envoy_config_core_v3.HealthCheck_Payload
- func ToEnvoyZipkinCollectorEndpointVersion(version envoytracegloo.ZipkinConfig_CollectorEndpointVersion) envoytrace.ZipkinConfig_CollectorEndpointVersion
- func ToEnvoyZipkinConfiguration(glooZipkinConfig *envoytracegloo.ZipkinConfig, clusterName string) (*envoytrace.ZipkinConfig, error)
- func ToGlooFractionalPercent(fp *envoytype.FractionalPercent) *envoytype_sk.FractionalPercent
- func ToGlooGrpc(grpc *envoy_config_route_v3.RouteMatch_GrpcRouteMatchOptions) *envoyroute_gloo.RouteMatch_GrpcRouteMatchOptions
- func ToGlooHeader(header *envoy_config_route_v3.HeaderMatcher) *envoyroute_gloo.HeaderMatcher
- func ToGlooHeaderValueOption(option *envoy_config_core_v3.HeaderValueOption) *envoycore_sk.HeaderValueOption
- func ToGlooHeaderValueOptionList(option []*envoy_config_core_v3.HeaderValueOption) []*envoycore_sk.HeaderValueOption
- func ToGlooHeaders(headers []*envoy_config_route_v3.HeaderMatcher) []*envoyroute_gloo.HeaderMatcher
- func ToGlooHealthCheck(check *envoy_config_core_v3.HealthCheck) (*envoycore_gloo.HealthCheck, error)
- func ToGlooHealthCheckList(check []*envoy_config_core_v3.HealthCheck) ([]*envoycore_gloo.HealthCheck, error)
- func ToGlooInt64Range(int64Range *envoy_type_v3.Int64Range) *envoytype_gloo.Int64Range
- func ToGlooInt64RangeList(int64Range []*envoy_type_v3.Int64Range) []*envoytype_gloo.Int64Range
- func ToGlooOutlierDetection(detection *envoy_config_cluster_v3.OutlierDetection) *envoycluster_gloo.OutlierDetection
- func ToGlooOutlierDetectionList(list []*envoy_config_cluster_v3.OutlierDetection) []*envoycluster_gloo.OutlierDetection
- func ToGlooPayload(payload *envoy_config_core_v3.HealthCheck_Payload) *envoycore_gloo.HealthCheck_Payload
- func ToGlooPayloadList(payload []*envoy_config_core_v3.HealthCheck_Payload) []*envoycore_gloo.HealthCheck_Payload
- func ToGlooQueryParameterMatcher(queryParamMatcher *envoy_config_route_v3.QueryParameterMatcher) *envoyroute_gloo.QueryParameterMatcher
- func ToGlooQueryParameterMatchers(queryParamMatchers []*envoy_config_route_v3.QueryParameterMatcher) []*envoyroute_gloo.QueryParameterMatcher
- func ToGlooRouteMatch(routeMatch *envoy_config_route_v3.RouteMatch) *envoyroute_gloo.RouteMatch
- func ToGlooRuntimeFractionalPercent(fp *envoy_config_core_v3.RuntimeFractionalPercent) *envoycore_sk.RuntimeFractionalPercent
- type HeaderSecretOptions
Constants ¶
View Source
const MatchingNamespaceEnv = "HEADER_SECRET_REF_NS_MATCHES_US"
Variables ¶
This section is empty.
Functions ¶
func CheckForbiddenCustomHeaders ¶ added in v1.14.14
func CheckForbiddenCustomHeaders(header envoycore_sk.HeaderValue) error
CheckForbiddenCustomHeaders checks whether the custom header is allowed to be modified as per https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_conn_man/headers#custom-request-response-headers
func ToEnvoyDatadogConfiguration ¶
func ToEnvoyDatadogConfiguration(glooDatadogConfig *envoytracegloo.DatadogConfig, clusterName string) (*envoytrace.DatadogConfig, error)
func ToEnvoyHeaderValueOptionList ¶
func ToEnvoyHeaderValueOptionList(option []*envoycore_sk.HeaderValueOption, secrets *v1.SecretList, secretOptions HeaderSecretOptions) ([]*envoy_config_core_v3.HeaderValueOption, error)
func ToEnvoyHeaderValueOptions ¶
func ToEnvoyHeaderValueOptions(option *envoycore_sk.HeaderValueOption, secrets *v1.SecretList, secretOptions HeaderSecretOptions) ([]*envoy_config_core_v3.HeaderValueOption, error)
func ToEnvoyHealthCheck ¶
func ToEnvoyHealthCheck(check *envoycore_gloo.HealthCheck, secrets *v1.SecretList, secretOptions HeaderSecretOptions) (*envoy_config_core_v3.HealthCheck, error)
func ToEnvoyHealthCheckList ¶
func ToEnvoyHealthCheckList(check []*envoycore_gloo.HealthCheck, secrets *v1.SecretList, secretOptions HeaderSecretOptions) ([]*envoy_config_core_v3.HealthCheck, error)
func ToEnvoyInt64Range ¶
func ToEnvoyInt64Range(int64Range *envoytype_gloo.Int64Range) *envoy_type_v3.Int64Range
func ToEnvoyInt64RangeList ¶
func ToEnvoyInt64RangeList(int64Range []*envoytype_gloo.Int64Range) []*envoy_type_v3.Int64Range
func ToEnvoyOpenCensusConfiguration ¶ added in v1.12.37
func ToEnvoyOpenCensusConfiguration(glooOpenCensusConfig *envoytracegloo.OpenCensusConfig) (*envoytrace.OpenCensusConfig, error)
func ToEnvoyOpenTelemetryonfiguration ¶ added in v1.12.36
func ToEnvoyOpenTelemetryonfiguration(glooOpenTelemetryConfig *envoytracegloo.OpenTelemetryConfig, clusterName string) (*envoytrace.OpenTelemetryConfig, error)
func ToEnvoyOutlierDetection ¶
func ToEnvoyOutlierDetection(detection *envoycluster_gloo.OutlierDetection) *envoy_config_cluster_v3.OutlierDetection
func ToEnvoyOutlierDetectionList ¶
func ToEnvoyOutlierDetectionList(list []*envoycluster_gloo.OutlierDetection) []*envoy_config_cluster_v3.OutlierDetection
func ToEnvoyPayload ¶
func ToEnvoyPayload(payload *envoycore_gloo.HealthCheck_Payload) *envoy_config_core_v3.HealthCheck_Payload
func ToEnvoyPayloadList ¶
func ToEnvoyPayloadList(payload []*envoycore_gloo.HealthCheck_Payload) []*envoy_config_core_v3.HealthCheck_Payload
func ToEnvoyZipkinCollectorEndpointVersion ¶
func ToEnvoyZipkinCollectorEndpointVersion(version envoytracegloo.ZipkinConfig_CollectorEndpointVersion) envoytrace.ZipkinConfig_CollectorEndpointVersion
func ToEnvoyZipkinConfiguration ¶
func ToEnvoyZipkinConfiguration(glooZipkinConfig *envoytracegloo.ZipkinConfig, clusterName string) (*envoytrace.ZipkinConfig, error)
func ToGlooFractionalPercent ¶
func ToGlooFractionalPercent(fp *envoytype.FractionalPercent) *envoytype_sk.FractionalPercent
func ToGlooGrpc ¶
func ToGlooGrpc(grpc *envoy_config_route_v3.RouteMatch_GrpcRouteMatchOptions) *envoyroute_gloo.RouteMatch_GrpcRouteMatchOptions
func ToGlooHeader ¶
func ToGlooHeader(header *envoy_config_route_v3.HeaderMatcher) *envoyroute_gloo.HeaderMatcher
func ToGlooHeaderValueOption ¶
func ToGlooHeaderValueOption(option *envoy_config_core_v3.HeaderValueOption) *envoycore_sk.HeaderValueOption
func ToGlooHeaderValueOptionList ¶
func ToGlooHeaderValueOptionList(option []*envoy_config_core_v3.HeaderValueOption) []*envoycore_sk.HeaderValueOption
func ToGlooHeaders ¶
func ToGlooHeaders(headers []*envoy_config_route_v3.HeaderMatcher) []*envoyroute_gloo.HeaderMatcher
func ToGlooHealthCheck ¶
func ToGlooHealthCheck(check *envoy_config_core_v3.HealthCheck) (*envoycore_gloo.HealthCheck, error)
func ToGlooHealthCheckList ¶
func ToGlooHealthCheckList(check []*envoy_config_core_v3.HealthCheck) ([]*envoycore_gloo.HealthCheck, error)
func ToGlooInt64Range ¶
func ToGlooInt64Range(int64Range *envoy_type_v3.Int64Range) *envoytype_gloo.Int64Range
func ToGlooInt64RangeList ¶
func ToGlooInt64RangeList(int64Range []*envoy_type_v3.Int64Range) []*envoytype_gloo.Int64Range
func ToGlooOutlierDetection ¶
func ToGlooOutlierDetection(detection *envoy_config_cluster_v3.OutlierDetection) *envoycluster_gloo.OutlierDetection
func ToGlooOutlierDetectionList ¶
func ToGlooOutlierDetectionList(list []*envoy_config_cluster_v3.OutlierDetection) []*envoycluster_gloo.OutlierDetection
func ToGlooPayload ¶
func ToGlooPayload(payload *envoy_config_core_v3.HealthCheck_Payload) *envoycore_gloo.HealthCheck_Payload
func ToGlooPayloadList ¶
func ToGlooPayloadList(payload []*envoy_config_core_v3.HealthCheck_Payload) []*envoycore_gloo.HealthCheck_Payload
func ToGlooQueryParameterMatcher ¶
func ToGlooQueryParameterMatcher(queryParamMatcher *envoy_config_route_v3.QueryParameterMatcher) *envoyroute_gloo.QueryParameterMatcher
func ToGlooQueryParameterMatchers ¶
func ToGlooQueryParameterMatchers(queryParamMatchers []*envoy_config_route_v3.QueryParameterMatcher) []*envoyroute_gloo.QueryParameterMatcher
func ToGlooRouteMatch ¶
func ToGlooRouteMatch(routeMatch *envoy_config_route_v3.RouteMatch) *envoyroute_gloo.RouteMatch
todo consider movinng this to solo-projects used in enterprise code
func ToGlooRuntimeFractionalPercent ¶
func ToGlooRuntimeFractionalPercent(fp *envoy_config_core_v3.RuntimeFractionalPercent) *envoycore_sk.RuntimeFractionalPercent
Types ¶
type HeaderSecretOptions ¶ added in v1.14.13
type HeaderSecretOptions struct { EnforceNamespaceMatch bool // this will be ignored unless EnforceNamespaceMatch is true UpstreamNamespace string }
HeaderSecretOptions is used to pass around information about whether/how to enforce that secrets and upstream namespace must match
Click to show internal directories.
Click to hide internal directories.