gogoutils

package
v1.5.25 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2021 License: Apache-2.0 Imports: 18 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 ToEnvoyHeaderValueOptionList

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

func ToEnvoyHeaderValueOptions added in v1.4.11

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

func ToEnvoyHealthCheck

func ToEnvoyHealthCheck(check *envoycore_gloo.HealthCheck, secrets *v1.SecretList) (*envoycore.HealthCheck, error)

func ToEnvoyHealthCheckList

func ToEnvoyHealthCheckList(check []*envoycore_gloo.HealthCheck, secrets *v1.SecretList) ([]*envoycore.HealthCheck, error)

func ToEnvoyInt64Range

func ToEnvoyInt64Range(int64Range *envoytype_gloo.Int64Range) *envoytype.Int64Range

func ToEnvoyInt64RangeList

func ToEnvoyInt64RangeList(int64Range []*envoytype_gloo.Int64Range) []*envoytype.Int64Range

func ToGlooHeaderValueOptionList

func ToGlooHeaderValueOptionList(option []*envoycore.HeaderValueOption) []*envoycore_sk.HeaderValueOption

func ToGlooHeaders

func ToGlooHeaders(headers []*envoyroute.HeaderMatcher) []*envoyroute_gloo.HeaderMatcher

func ToGlooHealthCheck

func ToGlooHealthCheck(check *envoycore.HealthCheck) (*envoycore_gloo.HealthCheck, error)

func ToGlooHealthCheckList

func ToGlooHealthCheckList(check []*envoycore.HealthCheck) ([]*envoycore_gloo.HealthCheck, error)

func ToGlooInt64Range

func ToGlooInt64Range(int64Range *envoytype.Int64Range) *envoytype_gloo.Int64Range

func ToGlooInt64RangeList

func ToGlooInt64RangeList(int64Range []*envoytype.Int64Range) []*envoytype_gloo.Int64Range

func ToGlooQueryParameterMatcher

func ToGlooQueryParameterMatcher(queryParamMatcher *envoyroute.QueryParameterMatcher) *envoyroute_gloo.QueryParameterMatcher

func ToGlooQueryParameterMatchers

func ToGlooQueryParameterMatchers(queryParamMatchers []*envoyroute.QueryParameterMatcher) []*envoyroute_gloo.QueryParameterMatcher

func ToGlooRouteMatch

func ToGlooRouteMatch(routeMatch *envoyroute.RouteMatch) *envoyroute_gloo.RouteMatch

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