Documentation ¶
Index ¶
Constants ¶
View Source
const (
// SkuName -- name of this sku duh...
SkuName = "m1.small"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SkuM1Small ¶
type SkuM1Small struct { Client innkeeperclient.InnkeeperClient TaskManager taskmanager.TaskManagerInterface ProcurementMeta map[string]interface{} }
SkuM1Small - a object representing a m1small sku
func (*SkuM1Small) New ¶
func (s *SkuM1Small) New(tm skurepo.TaskManager, procurementMeta map[string]interface{}) skurepo.Sku
New -- return a new SKU provider
func (*SkuM1Small) PollForTasks ¶
func (s *SkuM1Small) PollForTasks()
PollForTasks -- no longer needed, agent.Run in already asynchronous
func (*SkuM1Small) Procurement ¶
func (s *SkuM1Small) Procurement() *taskmanager.Task
Procurement -- use agent to run async task
func (*SkuM1Small) ReStock ¶
func (s *SkuM1Small) ReStock() (tm *taskmanager.Task)
ReStock -- WARNING not implemented
Click to show internal directories.
Click to hide internal directories.