mocks

package
v0.0.0-...-69a28d2 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2016 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 {
	mock.Mock
}

func (*Client) Build

func (_m *Client) Build(_a0 string, _a1 string, _a2 int) (*drone.Build, error)

func (*Client) BuildList

func (_m *Client) BuildList(_a0 string, _a1 string) ([]*drone.Build, error)

func (*Client) BuildLogs

func (_m *Client) BuildLogs(_a0 string, _a1 string, _a2 int, _a3 int) (io.ReadCloser, error)

func (*Client) BuildStart

func (_m *Client) BuildStart(_a0 string, _a1 string, _a2 int) (*drone.Build, error)

func (*Client) BuildStop

func (_m *Client) BuildStop(_a0 string, _a1 string, _a2 int, _a3 int) error

func (*Client) Node

func (_m *Client) Node(_a0 int64) (*drone.Node, error)

func (*Client) NodeDel

func (_m *Client) NodeDel(_a0 int64) error

func (*Client) NodeList

func (_m *Client) NodeList() ([]*drone.Node, error)

func (*Client) NodePost

func (_m *Client) NodePost(_a0 *drone.Node) (*drone.Node, error)

func (*Client) Repo

func (_m *Client) Repo(_a0 string, _a1 string) (*drone.Repo, error)

func (*Client) RepoDel

func (_m *Client) RepoDel(_a0 string, _a1 string) error

func (*Client) RepoKey

func (_m *Client) RepoKey(_a0 string, _a1 string) (*drone.Key, error)

func (*Client) RepoList

func (_m *Client) RepoList() ([]*drone.Repo, error)

func (*Client) RepoPatch

func (_m *Client) RepoPatch(_a0 *drone.Repo) (*drone.Repo, error)

func (*Client) RepoPost

func (_m *Client) RepoPost(_a0 string, _a1 string) (*drone.Repo, error)

func (*Client) Self

func (_m *Client) Self() (*drone.User, error)

func (*Client) User

func (_m *Client) User(_a0 string) (*drone.User, error)

func (*Client) UserDel

func (_m *Client) UserDel(_a0 string) error

func (*Client) UserFeed

func (_m *Client) UserFeed() ([]*drone.Activity, error)

func (*Client) UserList

func (_m *Client) UserList() ([]*drone.User, error)

func (*Client) UserPatch

func (_m *Client) UserPatch(_a0 *drone.User) (*drone.User, error)

func (*Client) UserPost

func (_m *Client) UserPost(_a0 *drone.User) (*drone.User, error)

Jump to

Keyboard shortcuts

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