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.
Click to show internal directories.
Click to hide internal directories.