Documentation ¶
Index ¶
Constants ¶
View Source
const ( //StatusComplete - a status flag for complete tasks StatusComplete = "complete" //StatusFailed - a status for failed tasks StatusFailed = "failed" //StatusProcessing - a status for in process items StatusProcessing = "processing" //StatusOutsourced - this is to indicate the the task tracking has been outsourced StatusOutsourced = "outsourced" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Sku ¶
type Sku interface { Procurement(meta map[string]interface{}) (status string, taskMeta map[string]interface{}) ReStock(meta map[string]interface{}) (status string, taskMeta map[string]interface{}) }
Sku - interface for a sku object
type Sku2CSmall ¶
type Sku2CSmall struct { Client vcdClient TaskManager taskManager }
Sku2CSmall - a object representing a 2csmall sku
func New2CSmallSku ¶ added in v0.0.58
func New2CSmallSku(client vcdClient, tm taskManager) *Sku2CSmall
func (*Sku2CSmall) Procurement ¶
func (s *Sku2CSmall) Procurement(meta map[string]interface{}) (status string, taskMeta map[string]interface{})
Procurement - this method will walk the procurement flow for the 2csmall object
Click to show internal directories.
Click to hide internal directories.