mock

package
v0.0.0-...-900fa13 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2015 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const ProviderName = "mock"

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCloudManager

type MockCloudManager struct{}

func (*MockCloudManager) CanSpawn

func (staticMgr *MockCloudManager) CanSpawn() (bool, error)

func (*MockCloudManager) Configure

func (staticMgr *MockCloudManager) Configure(settings *evergreen.Settings) error

func (*MockCloudManager) GetDNSName

func (staticMgr *MockCloudManager) GetDNSName(host *host.Host) (string, error)

get instance DNS

func (*MockCloudManager) GetInstanceStatus

func (staticMgr *MockCloudManager) GetInstanceStatus(host *host.Host) (cloud.CloudStatus, error)

get the status of an instance

func (*MockCloudManager) GetSSHOptions

func (staticMgr *MockCloudManager) GetSSHOptions(host *host.Host, keyPath string) ([]string, error)

func (*MockCloudManager) GetSettings

func (_ *MockCloudManager) GetSettings() cloud.ProviderSettings

func (*MockCloudManager) IsSSHReachable

func (staticMgr *MockCloudManager) IsSSHReachable(host *host.Host, keyPath string) (bool, error)

func (*MockCloudManager) IsUp

func (staticMgr *MockCloudManager) IsUp(host *host.Host) (bool, error)

func (*MockCloudManager) OnUp

func (staticMsg *MockCloudManager) OnUp(host *host.Host) error

func (*MockCloudManager) SpawnInstance

func (staticMgr *MockCloudManager) SpawnInstance(distro *distro.Distro, owner string, userHost bool) (*host.Host, error)

func (*MockCloudManager) TerminateInstance

func (staticMgr *MockCloudManager) TerminateInstance(host *host.Host) error

terminate an instance

func (*MockCloudManager) TimeTilNextPayment

func (staticMgr *MockCloudManager) TimeTilNextPayment(host *host.Host) time.Duration

func (*MockCloudManager) Validate

func (_ *MockCloudManager) Validate() error

Jump to

Keyboard shortcuts

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