m1small

package
v0.0.164 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2015 License: GPL-2.0, GPL-2.0 Imports: 7 Imported by: 0

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

Jump to

Keyboard shortcuts

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