istio: istio.io/istio/galley/pkg/config/util/pb Index | Files

package pb

import "istio.io/istio/galley/pkg/config/util/pb"

Index

Package Files

proto.go

func UnmarshalData Uses

func UnmarshalData(pb proto.Message, data interface{}) error

UnmarshalData data into the proto.

func UnmarshalFromJSON Uses

func UnmarshalFromJSON(s collection.Schema, js string) (proto.Message, error)

UnmarshalFromJSON converts a canonical JSON to a proto message

func UnmarshalFromJSONMap Uses

func UnmarshalFromJSONMap(s collection.Schema, data interface{}) (proto.Message, error)

UnmarshalFromJSONMap converts from a generic map to a proto message using canonical JSON encoding JSON encoding is specified here: https://developers.google.com/protocol-buffers/docs/proto3#json

func UnmarshalFromYAML Uses

func UnmarshalFromYAML(s collection.Schema, yml string) (proto.Message, error)

UnmarshalFromYAML converts a canonical YAML to a proto message

Package pb imports 9 packages (graph) and is imported by 1 packages. Updated 2020-02-16. Refresh now. Tools for package owners.