Documentation ¶
Overview ¶
Package inventory implements the go library for OPI to be used to query inventory
Package inventory implements the go library for OPI to be used to query inventory
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InvClient ¶ added in v0.2.0
InvClient is an interface for querying inventory data from an OPI server
func New ¶ added in v0.2.0
New creates an inventory client for use with OPI server at the given address
func NewWithArgs ¶ added in v0.2.0
func NewWithArgs(c grpcOpi.Connector, getter PbInvClientGetter) (InvClient, error)
NewWithArgs creates an inventory client for use with OPI server using the given gRPC client and the given function for retrieving an inventory protobuf client
type PbInvClientGetter ¶ added in v0.2.0
type PbInvClientGetter func(c grpc.ClientConnInterface) pb.InventorySvcClient
PbInvClientGetter defines the function type used to retrieve an inventory protobuf client
Click to show internal directories.
Click to hide internal directories.