Help us shape the future of Go! Take the 2026 Go Developer Survey

mocks

package
v0.1.14 Latest Latest
Warning

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

Go to latest
Published: May 15, 2018 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 FunctionsClient

type FunctionsClient struct {
	mock.Mock
}

FunctionsClient is an autogenerated mock type for the FunctionsClient type

func (*FunctionsClient) CreateFunction

func (_m *FunctionsClient) CreateFunction(_a0 context.Context, _a1 *v1.Function) (*v1.Function, error)

CreateFunction provides a mock function with given fields: _a0, _a1

func (*FunctionsClient) DeleteFunction

func (_m *FunctionsClient) DeleteFunction(_a0 context.Context, _a1 string) (*v1.Function, error)

DeleteFunction provides a mock function with given fields: _a0, _a1

func (*FunctionsClient) GetFunction

func (_m *FunctionsClient) GetFunction(_a0 context.Context, _a1 string) (*v1.Function, error)

GetFunction provides a mock function with given fields: _a0, _a1

func (*FunctionsClient) GetFunctionRun

func (_m *FunctionsClient) GetFunctionRun(ctx context.Context, functionName string, runName string) (*v1.Run, error)

GetFunctionRun provides a mock function with given fields: ctx, functionName, runName

func (*FunctionsClient) ListFunctionRuns

func (_m *FunctionsClient) ListFunctionRuns(_a0 context.Context, _a1 string) ([]v1.Run, error)

ListFunctionRuns provides a mock function with given fields: _a0, _a1

func (*FunctionsClient) ListFunctions

func (_m *FunctionsClient) ListFunctions(_a0 context.Context) ([]v1.Function, error)

ListFunctions provides a mock function with given fields: _a0

func (*FunctionsClient) ListRuns

func (_m *FunctionsClient) ListRuns(_a0 context.Context) ([]v1.Run, error)

ListRuns provides a mock function with given fields: _a0

func (*FunctionsClient) RunFunction

func (_m *FunctionsClient) RunFunction(_a0 context.Context, _a1 *v1.Run) (*v1.Run, error)

RunFunction provides a mock function with given fields: _a0, _a1

func (*FunctionsClient) UpdateFunction

func (_m *FunctionsClient) UpdateFunction(_a0 context.Context, _a1 *v1.Function) (*v1.Function, error)

UpdateFunction provides a mock function with given fields: _a0, _a1

Jump to

Keyboard shortcuts

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