Documentation ¶
Overview ¶
Package inventory is the base inventory functions
Registration functions for the inventory package
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterInventorytoGateway ¶
func RegisterInventorytoGateway(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption)
abstracted registration functions for adding inventory services
func RegisterInventorytoGrpc ¶
func RegisterInventorytoGrpc(svr grpc.ServiceRegistrar)
Types ¶
type Server ¶
type Server struct {
ipb.UnimplementedInventoryServiceServer
}
Server contains inventory related OPI services
func (*Server) GetInventory ¶
func (s *Server) GetInventory(_ context.Context, in *ipb.GetInventoryRequest) (*ipb.Inventory, error)
GetInventory returns inventory information
Click to show internal directories.
Click to hide internal directories.