mocks

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2015 License: MIT 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 {
	mock.Mock
}

func (*Client) DestroyUnit

func (m *Client) DestroyUnit(name string) (*http.Response, error)

func (*Client) StartUnit

func (m *Client) StartUnit(name string, options []fleet.UnitOption) (*http.Response, error)

func (*Client) UnitState

func (m *Client) UnitState(name string) (fleet.UnitState, error)

func (*Client) Units

func (m *Client) Units() ([]fleet.Unit, error)

Jump to

Keyboard shortcuts

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