Documentation ¶
Overview ¶
Package unimplemented provides a convenience type to stub out unimplemented gNMI RPCs.
Index ¶
- type Server
- func (*Server) Capabilities(context.Context, *pb.CapabilityRequest) (*pb.CapabilityResponse, error)
- func (*Server) Get(context.Context, *pb.GetRequest) (*pb.GetResponse, error)
- func (*Server) Set(context.Context, *pb.SetRequest) (*pb.SetResponse, error)
- func (s *Server) Subscribe(stream pb.GNMI_SubscribeServer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct{}
Server is a type that can be embedded anonymously in a gNMI server to stub out all RPCs that are not implemented with a proper return code.
func (*Server) Capabilities ¶
func (*Server) Capabilities(context.Context, *pb.CapabilityRequest) (*pb.CapabilityResponse, error)
Capabilities satisfies the gNMI service definition.
func (*Server) Get ¶
func (*Server) Get(context.Context, *pb.GetRequest) (*pb.GetResponse, error)
Get satisfies the gNMI service definition.
func (*Server) Set ¶
func (*Server) Set(context.Context, *pb.SetRequest) (*pb.SetResponse, error)
Set satisfies the gNMI service definition.
Click to show internal directories.
Click to hide internal directories.