Documentation
¶
Index ¶
- Variables
- type OCProtocol
- func (*OCProtocol) Descriptor() ([]byte, []int)deprecated
- func (x *OCProtocol) GetMethodName() []string
- func (x *OCProtocol) GetVersion() string
- func (*OCProtocol) ProtoMessage()
- func (x *OCProtocol) ProtoReflect() protoreflect.Message
- func (x *OCProtocol) Reset()
- func (x *OCProtocol) String() string
- type OCRPCs
Constants ¶
This section is empty.
Variables ¶
View Source
var File_ocrpcs_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type OCProtocol ¶
type OCProtocol struct { // Full name of the gRPC method specification. // Format: <package>.<service>.<rpc> // Example: gnoi.healthz.Healthz.Get // Example: gnmi.gNMI.Subscribe MethodName []string `protobuf:"bytes,1,rep,name=method_name,json=methodName,proto3" json:"method_name,omitempty"` // The semantic version of the gRPC protocol release. // // This must refer to a release tag when "v" is prepended to the string. Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
OCProtocol is the list of OpenConfig RPC methods supported or required that belong to the same OpenConfig RPC protocol (e.g. gNOI, gNMI, gRIBI, gNSI).
func (*OCProtocol) Descriptor
deprecated
func (*OCProtocol) Descriptor() ([]byte, []int)
Deprecated: Use OCProtocol.ProtoReflect.Descriptor instead.
func (*OCProtocol) GetMethodName ¶
func (x *OCProtocol) GetMethodName() []string
func (*OCProtocol) GetVersion ¶
func (x *OCProtocol) GetVersion() string
func (*OCProtocol) ProtoMessage ¶
func (*OCProtocol) ProtoMessage()
func (*OCProtocol) ProtoReflect ¶
func (x *OCProtocol) ProtoReflect() protoreflect.Message
func (*OCProtocol) Reset ¶
func (x *OCProtocol) Reset()
func (*OCProtocol) String ¶
func (x *OCProtocol) String() string
type OCRPCs ¶
type OCRPCs struct { // Required OpenConfig RPC service support for this entity. // // The key of this map is the full name of the gRPC protocol in lower caps. // Examples: gnoi, gnmi, gnsi, gribi. OcProtocols map[string]*OCProtocol `` /* 182-byte string literal not displayed */ // contains filtered or unexported fields }
OCRPCs is the complete list of all OpenConfig RPCs associated with some entity (e.g. NOS, or RPC requirements list for a particular device role).
func (*OCRPCs) Descriptor
deprecated
func (*OCRPCs) GetOcProtocols ¶
func (x *OCRPCs) GetOcProtocols() map[string]*OCProtocol
func (*OCRPCs) ProtoMessage ¶
func (*OCRPCs) ProtoMessage()
func (*OCRPCs) ProtoReflect ¶
func (x *OCRPCs) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.