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

mocks

package
v0.1.21 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2018 License: Apache-2.0 Imports: 4 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(ctx context.Context, organizationID string, function *v1.Function) (*v1.Function, error)

CreateFunction provides a mock function with given fields: ctx, organizationID, function

func (*FunctionsClient) DeleteFunction

func (_m *FunctionsClient) DeleteFunction(ctx context.Context, organizationID string, functionName string) (*v1.Function, error)

DeleteFunction provides a mock function with given fields: ctx, organizationID, functionName

func (*FunctionsClient) GetFunction

func (_m *FunctionsClient) GetFunction(ctx context.Context, organizationID string, functionName string) (*v1.Function, error)

GetFunction provides a mock function with given fields: ctx, organizationID, functionName

func (*FunctionsClient) GetFunctionRun

func (_m *FunctionsClient) GetFunctionRun(ctx context.Context, organizationID string, opts client.FunctionOpts) (*v1.Run, error)

GetFunctionRun provides a mock function with given fields: ctx, organizationID, opts

func (*FunctionsClient) ListFunctions

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

ListFunctions provides a mock function with given fields: ctx, organizationID

func (*FunctionsClient) ListRuns

func (_m *FunctionsClient) ListRuns(ctx context.Context, organizationID string, opts client.FunctionOpts) ([]v1.Run, error)

ListRuns provides a mock function with given fields: ctx, organizationID, opts

func (*FunctionsClient) RunFunction

func (_m *FunctionsClient) RunFunction(ctx context.Context, organizationID string, run *v1.Run) (*v1.Run, error)

RunFunction provides a mock function with given fields: ctx, organizationID, run

func (*FunctionsClient) UpdateFunction

func (_m *FunctionsClient) UpdateFunction(ctx context.Context, organizationID string, function *v1.Function) (*v1.Function, error)

UpdateFunction provides a mock function with given fields: ctx, organizationID, function

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(ctx context.Context, organizationID string, baseImage *v1.BaseImage) (*v1.BaseImage, error)

CreateBaseImage provides a mock function with given fields: ctx, organizationID, baseImage

func (*ImagesClient) CreateImage added in v0.1.15

func (_m *ImagesClient) CreateImage(ctx context.Context, organizationID string, image *v1.Image) (*v1.Image, error)

CreateImage provides a mock function with given fields: ctx, organizationID, image

func (*ImagesClient) DeleteBaseImage added in v0.1.15

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

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

func (*ImagesClient) DeleteImage added in v0.1.15

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

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

func (*ImagesClient) GetBaseImage added in v0.1.15

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

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

func (*ImagesClient) GetImage added in v0.1.15

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

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

func (*ImagesClient) ListBaseImages added in v0.1.15

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

ListBaseImages provides a mock function with given fields: ctx, organizationID

func (*ImagesClient) ListImages added in v0.1.15

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

ListImages provides a mock function with given fields: ctx, organizationID

func (*ImagesClient) UpdateBaseImage added in v0.1.15

func (_m *ImagesClient) UpdateBaseImage(ctx context.Context, organizationID string, baseImage *v1.BaseImage) (*v1.BaseImage, error)

UpdateBaseImage provides a mock function with given fields: ctx, organizationID, baseImage

func (*ImagesClient) UpdateImage added in v0.1.15

func (_m *ImagesClient) UpdateImage(ctx context.Context, organizationID string, image *v1.Image) (*v1.Image, error)

UpdateImage provides a mock function with given fields: ctx, organizationID, image

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(ctx context.Context, organizationID string, secret *v1.Secret) (*v1.Secret, error)

CreateSecret provides a mock function with given fields: ctx, organizationID, secret

func (*SecretsClient) DeleteSecret added in v0.1.15

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

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

func (*SecretsClient) GetSecret added in v0.1.15

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

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

func (*SecretsClient) ListSecrets added in v0.1.15

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

ListSecrets provides a mock function with given fields: ctx, organizationID

func (*SecretsClient) UpdateSecret added in v0.1.15

func (_m *SecretsClient) UpdateSecret(ctx context.Context, organizationID string, secret *v1.Secret) (*v1.Secret, error)

UpdateSecret provides a mock function with given fields: ctx, organizationID, secret

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(ctx context.Context, organizationID string, serviceInstance *v1.ServiceInstance) (*v1.ServiceInstance, error)

CreateServiceInstance provides a mock function with given fields: ctx, organizationID, serviceInstance

func (*ServicesClient) DeleteServiceInstance added in v0.1.15

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

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

func (*ServicesClient) GetServiceClass added in v0.1.15

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

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

func (*ServicesClient) GetServiceInstance added in v0.1.15

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

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

func (*ServicesClient) ListServiceClasses added in v0.1.15

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

ListServiceClasses provides a mock function with given fields: ctx, organizationID

func (*ServicesClient) ListServiceInstances added in v0.1.15

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

ListServiceInstances provides a mock function with given fields: ctx, organizationID

Jump to

Keyboard shortcuts

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