inventory

package
v0.0.0-...-62e3c31 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL