gogoutils

package
v1.6.0-beta16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 3, 2020 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoolGogoToProto

func BoolGogoToProto(pr *types.BoolValue) *wrappers.BoolValue

func BoolProtoToGogo

func BoolProtoToGogo(pr *wrappers.BoolValue) *types.BoolValue

func DurationGogoToProto

func DurationGogoToProto(pr *types.Duration) *duration.Duration

func DurationProtoToGogo

func DurationProtoToGogo(pr *duration.Duration) *types.Duration

func DurationProtoToStd

func DurationProtoToStd(pr *duration.Duration) *time.Duration

func DurationStdToProto

func DurationStdToProto(pr *time.Duration) *duration.Duration

func ToEnvoyDatadogConfiguration

func ToEnvoyDatadogConfiguration(glooDatadogConfig *envoytrace_gloo.DatadogConfig, clusterName string) (*envoytrace.DatadogConfig, error)

func ToEnvoyHeaderValueOptionList

func ToEnvoyHeaderValueOptionList(option []*envoycore_sk.HeaderValueOption, secrets *v1.SecretList) ([]*envoy_config_core_v3.HeaderValueOption, error)

func ToEnvoyHeaderValueOptions added in v1.4.11

func ToEnvoyHeaderValueOptions(option *envoycore_sk.HeaderValueOption, secrets *v1.SecretList) ([]*envoy_config_core_v3.HeaderValueOption, error)

func ToEnvoyHealthCheckList

func ToEnvoyHealthCheckList(check []*envoycore_gloo.HealthCheck, secrets *v1.SecretList) ([]*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 ToEnvoyZipkinConfiguration

func ToEnvoyZipkinConfiguration(glooZipkinConfig *envoytrace_gloo.ZipkinConfig, clusterName string) (*envoytrace.ZipkinConfig, 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 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 UInt32GogoToProto

func UInt32GogoToProto(pr *types.UInt32Value) *wrappers.UInt32Value

func UInt32ProtoToGogo

func UInt32ProtoToGogo(pr *wrappers.UInt32Value) *types.UInt32Value

func UInt64GogoToProto

func UInt64GogoToProto(pr *types.UInt64Value) *wrappers.UInt64Value

func UInt64ProtoToGogo

func UInt64ProtoToGogo(pr *wrappers.UInt64Value) *types.UInt64Value

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL