fakemachine

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2020 License: Apache-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 Client

type Client struct {
	Failing bool
}

func NewClient

func NewClient() *Client

func (*Client) Delete

func (c *Client) Delete(deleteConfig machine.DeleteConfig) (machine.DeleteResult, error)

func (*Client) Exists

func (c *Client) Exists(name string) (bool, error)

func (*Client) GetConsoleURL

func (c *Client) GetConsoleURL(consoleConfig machine.ConsoleConfig) (machine.ConsoleResult, error)

func (*Client) GetProxyConfig

func (c *Client) GetProxyConfig(machineName string) (*network.ProxyConfig, error)

func (*Client) IP

func (c *Client) IP(ipConfig machine.IPConfig) (machine.IPResult, error)

func (*Client) PowerOff

func (c *Client) PowerOff(powerOff machine.PowerOffConfig) (machine.PowerOffResult, error)

func (*Client) Start

func (c *Client) Start(startConfig machine.StartConfig) (machine.StartResult, error)

func (*Client) Status

func (*Client) Stop

func (c *Client) Stop(stopConfig machine.StopConfig) (machine.StopResult, error)

Jump to

Keyboard shortcuts

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