Documentation ¶
Overview ¶
Package ocrpcs contains utilities related to ocrpcs.proto.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Read ¶
Read returns all RPCs for the given OpenConfig API.
- downloadPath specifies the folder to download the associated OpenConfig repo in order to allow for proto file parsing.
func ValidateRPCs ¶
ValidateRPCs verifies whether the RPCs listed in protocols are valid.
It returns the number of valid RPCs found, and an error if any RPC is invalid, or there was an issue downloading or parsing OpenConfig protobuf files.
- downloadPath is a path to the folder which will contain OpenConfig repositories that will be downloaded in order to validate the existence of provided RPCs.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.