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

mocks

package
v0.1.15 Latest Latest
Warning

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

Go to latest
Published: May 24, 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

type ImagesClient added in v0.1.15

type ImagesClient struct {
	mock.Mock
}

ImagesClient is an autogenerated mock type for the ImagesClient type

func (*ImagesClient) CreateBaseImage added in v0.1.15

func (_m *ImagesClient) CreateBaseImage(_a0 context.Context, _a1 *v1.BaseImage) (*v1.BaseImage, error)

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

func (*ImagesClient) CreateImage added in v0.1.15

func (_m *ImagesClient) CreateImage(_a0 context.Context, _a1 *v1.Image) (*v1.Image, error)

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

func (*ImagesClient) DeleteBaseImage added in v0.1.15

func (_m *ImagesClient) DeleteBaseImage(ctx context.Context, baseImageName string) (*v1.BaseImage, error)

DeleteBaseImage provides a mock function with given fields: ctx, baseImageName

func (*ImagesClient) DeleteImage added in v0.1.15

func (_m *ImagesClient) DeleteImage(ctx context.Context, imageName string) (*v1.Image, error)

DeleteImage provides a mock function with given fields: ctx, imageName

func (*ImagesClient) GetBaseImage added in v0.1.15

func (_m *ImagesClient) GetBaseImage(ctx context.Context, baseImageName string) (*v1.BaseImage, error)

GetBaseImage provides a mock function with given fields: ctx, baseImageName

func (*ImagesClient) GetImage added in v0.1.15

func (_m *ImagesClient) GetImage(ctx context.Context, imageName string) (*v1.Image, error)

GetImage provides a mock function with given fields: ctx, imageName

func (*ImagesClient) ListBaseImages added in v0.1.15

func (_m *ImagesClient) ListBaseImages(_a0 context.Context) ([]v1.BaseImage, error)

ListBaseImages provides a mock function with given fields: _a0

func (*ImagesClient) ListImages added in v0.1.15

func (_m *ImagesClient) ListImages(_a0 context.Context) ([]v1.Image, error)

ListImages provides a mock function with given fields: _a0

func (*ImagesClient) UpdateBaseImage added in v0.1.15

func (_m *ImagesClient) UpdateBaseImage(_a0 context.Context, _a1 *v1.BaseImage) (*v1.BaseImage, error)

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

func (*ImagesClient) UpdateImage added in v0.1.15

func (_m *ImagesClient) UpdateImage(_a0 context.Context, _a1 *v1.Image) (*v1.Image, error)

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

type SecretsClient added in v0.1.15

type SecretsClient struct {
	mock.Mock
}

SecretsClient is an autogenerated mock type for the SecretsClient type

func (*SecretsClient) CreateSecret added in v0.1.15

func (_m *SecretsClient) CreateSecret(_a0 context.Context, _a1 *v1.Secret) (*v1.Secret, error)

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

func (*SecretsClient) DeleteSecret added in v0.1.15

func (_m *SecretsClient) DeleteSecret(ctx context.Context, secretName string) error

DeleteSecret provides a mock function with given fields: ctx, secretName

func (*SecretsClient) GetSecret added in v0.1.15

func (_m *SecretsClient) GetSecret(ctx context.Context, secretName string) (*v1.Secret, error)

GetSecret provides a mock function with given fields: ctx, secretName

func (*SecretsClient) ListSecrets added in v0.1.15

func (_m *SecretsClient) ListSecrets(_a0 context.Context) ([]v1.Secret, error)

ListSecrets provides a mock function with given fields: _a0

func (*SecretsClient) UpdateSecret added in v0.1.15

func (_m *SecretsClient) UpdateSecret(_a0 context.Context, _a1 *v1.Secret) (*v1.Secret, error)

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

type ServicesClient added in v0.1.15

type ServicesClient struct {
	mock.Mock
}

ServicesClient is an autogenerated mock type for the ServicesClient type

func (*ServicesClient) CreateServiceInstance added in v0.1.15

func (_m *ServicesClient) CreateServiceInstance(_a0 context.Context, _a1 *v1.ServiceInstance) (*v1.ServiceInstance, error)

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

func (*ServicesClient) DeleteServiceInstance added in v0.1.15

func (_m *ServicesClient) DeleteServiceInstance(ctx context.Context, serviceInstanceName string) error

DeleteServiceInstance provides a mock function with given fields: ctx, serviceInstanceName

func (*ServicesClient) GetServiceClass added in v0.1.15

func (_m *ServicesClient) GetServiceClass(ctx context.Context, serviceClassName string) (*v1.ServiceClass, error)

GetServiceClass provides a mock function with given fields: ctx, serviceClassName

func (*ServicesClient) GetServiceInstance added in v0.1.15

func (_m *ServicesClient) GetServiceInstance(ctx context.Context, serviceInstanceName string) (*v1.ServiceInstance, error)

GetServiceInstance provides a mock function with given fields: ctx, serviceInstanceName

func (*ServicesClient) ListServiceClasses added in v0.1.15

func (_m *ServicesClient) ListServiceClasses(_a0 context.Context) ([]v1.ServiceClass, error)

ListServiceClasses provides a mock function with given fields: _a0

func (*ServicesClient) ListServiceInstances added in v0.1.15

func (_m *ServicesClient) ListServiceInstances(_a0 context.Context) ([]v1.ServiceInstance, error)

ListServiceInstances provides a mock function with given fields: _a0

Jump to

Keyboard shortcuts

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