fakeinnkeeperclient

package
v0.0.151 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IKClient

type IKClient struct {
	innkeeperclient.InnkeeperClient
	FakeStatus  []string
	FakeMessage []string
	FakeData    []innkeeperclient.RequestData

	SpyStatusCallCount         *int64
	StatusCallCountForComplete int64
	SpyRequestID               string
	Error                      error
	// contains filtered or unexported fields
}

IKClient -- fake!

func (*IKClient) DeProvisionHost added in v0.0.138

func (s *IKClient) DeProvisionHost(requestID string) (resp *innkeeperclient.GetStatusResponse, err error)

DeProvisionHost - make a deprovision call to innkeeper for a given requestID

func (*IKClient) GetStatus added in v0.0.125

func (s *IKClient) GetStatus(requestID string) (resp *innkeeperclient.GetStatusResponse, err error)

GetStatus --

func (*IKClient) ProvisionHost

func (s *IKClient) ProvisionHost(sku string, tenantid string) (result *innkeeperclient.ProvisionHostResponse, err error)

ProvisionHost --

Jump to

Keyboard shortcuts

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