Expand description
Utils for dealing with protobufs structs
Functionsยง
- optional_
string - os_
and_ arch - Returns the current running OS and architecture
- proto_
struct_ to_ hashmap - Converts a prost struct to a hash map of key -> JSON
- proto_
struct_ to_ json - Converts a prost struct to JSON value
- proto_
struct_ to_ map - Converts a prost struct to a map of key -> JSON
- proto_
value_ to_ json - Converts a prost value to JSON value
- proto_
value_ to_ string - Convert a proto struct into a String
- to_
proto_ struct - Converts a map of key -> JSON to a prost Struct
- to_
proto_ value - Converts a JSON value to a prost struct
- versions_
compatible - Check if the versions are compatible (differ in patch version only)