utils

package
v0.18.18 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2019 License: Apache-2.0 Imports: 6 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NotFoundError = fmt.Errorf("message not found")

Functions

func ExtensionToProto

func ExtensionToProto(extension *v1.Extension, name string, outproto proto.Message) error

func ExtensionsToProto

func ExtensionsToProto(extensions *v1.Extensions, name string, outproto proto.Message) error

func UnmarshalExtension

func UnmarshalExtension(extensions extensionPluginContainer, name string, outproto proto.Message) error

func UnmarshalStructFromMap

func UnmarshalStructFromMap(protos map[string]*types.Struct, name string, outproto proto.Message) error

func UpdateUpstreamSpec added in v0.18.3

func UpdateUpstreamSpec(original, desired *v1.UpstreamSpec)

for use by UDS plugins copies parts of the UpstreamSpec that are not set by discovery but may be set by the user or function discovery so they are not overwritten when UDS resyncs

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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