gnmiparse

package
v0.29.6 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2023 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Overview

gnmiparse contains utilities for parsing the textproto of gNMI messages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NotifsFromFile

func NotifsFromFile(file string) ([]*gpb.Notification, error)

NotifsFromFile parses a sequence of Notifications from a textproto file.

The notifications can either be output from a GetResponse or a stream of SubscribeResponses. Any non-Notification messages are discarded.

func SetRequestFromFile

func SetRequestFromFile(file string) (*gpb.SetRequest, error)

SetRequestFromFile parses a SetRequest from a textproto file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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