protomap

package
v0.10.12 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2021 License: Apache-2.0 Imports: 10 Imported by: 2

Documentation

Overview

Package protomap provides utilities that map ygen-generated protobuf messages to and from other types (e.g., gNMI Notification messages, or ygen-generated GoStructs).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PathsFromProto

func PathsFromProto(p proto.Message) (map[*gpb.Path]interface{}, error)

PathsFromProto returns, from a populated proto, a map between the YANG schema path (as specified in the yext.schemapath extension) and the value populated in the message.

Types

This section is empty.

Directories

Path Synopsis
Package integration_tests performs tests against real-world schemas for protomap.
Package integration_tests performs tests against real-world schemas for protomap.

Jump to

Keyboard shortcuts

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