Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //ErrInvalidDispenserResponse - error for invalid statscode response on //dispenser call ErrInvalidDispenserResponse = errors.New("invalid dispenser response statuscode") )
Functions ¶
This section is empty.
Types ¶
type LeaseRequestBody ¶
type LeaseRequestBody struct { LeaseID string `json:"lease_id"` InventoryID string `json:"inventory_id"` Username string `json:"username"` Sku string `json:"sku"` LeaseDuration int64 `json:"lease_duration"` LeaseEndDate int64 `json:"lease_end_date"` LeaseStartDate int64 `json:"lease_start_date"` LeaseProcurementMeta map[string]interface{} `json:"procurement_meta"` }
LeaseRequestBody - request lease body object structure
type PDClient ¶
PDClient - dispenser client object
type TaskResponse ¶ added in v0.0.124
type TaskResponse struct { ID string `json:"ID"` Timestamp int64 `json:"Timestamp"` Expires int64 `json:"Expires"` Status string `json:"Status"` Profile string `json:"Profile"` CallerName string `json:"CallerName"` MetaData map[string]interface{} `json:"MetaData"` }
TaskResponse - a response object for a get task call
Click to show internal directories.
Click to hide internal directories.