Documentation ¶
Index ¶
- Constants
- type MockCloudManager
- func (staticMgr *MockCloudManager) CanSpawn() (bool, error)
- func (staticMgr *MockCloudManager) Configure(settings *evergreen.Settings) error
- func (staticMgr *MockCloudManager) GetDNSName(host *host.Host) (string, error)
- func (staticMgr *MockCloudManager) GetInstanceStatus(host *host.Host) (cloud.CloudStatus, error)
- func (staticMgr *MockCloudManager) GetSSHOptions(host *host.Host, keyPath string) ([]string, error)
- func (_ *MockCloudManager) GetSettings() cloud.ProviderSettings
- func (staticMgr *MockCloudManager) IsSSHReachable(host *host.Host, keyPath string) (bool, error)
- func (staticMgr *MockCloudManager) IsUp(host *host.Host) (bool, error)
- func (staticMsg *MockCloudManager) OnUp(host *host.Host) error
- func (staticMgr *MockCloudManager) SpawnInstance(distro *distro.Distro, owner string, userHost bool) (*host.Host, error)
- func (staticMgr *MockCloudManager) TerminateInstance(host *host.Host) error
- func (staticMgr *MockCloudManager) TimeTilNextPayment(host *host.Host) time.Duration
- func (_ *MockCloudManager) Validate() error
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 (*MockCloudManager) GetSettings ¶
func (_ *MockCloudManager) GetSettings() cloud.ProviderSettings
func (*MockCloudManager) IsSSHReachable ¶
func (*MockCloudManager) IsUp ¶
func (staticMgr *MockCloudManager) IsUp(host *host.Host) (bool, error)
func (*MockCloudManager) SpawnInstance ¶
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
Click to show internal directories.
Click to hide internal directories.