Documentation ¶ Index ¶ type Client func (m *Client) DestroyUnit(name string) (*http.Response, error) func (m *Client) StartUnit(name string, options []fleet.UnitOption) (*http.Response, error) func (m *Client) UnitState(name string) (fleet.UnitState, error) func (m *Client) Units() ([]fleet.Unit, error) 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) Source Files ¶ View all Source files client.go Click to show internal directories. Click to hide internal directories.