mocks

package
v0.1.24 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 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 ClientTransport

type ClientTransport struct {
	mock.Mock
}

ClientTransport is an autogenerated mock type for the ClientTransport type

func (*ClientTransport) Submit

func (_m *ClientTransport) Submit(_a0 *runtime.ClientOperation) (interface{}, error)

Submit provides a mock function with given fields: _a0

type FaaSDriver

type FaaSDriver struct {
	mock.Mock
}

FaaSDriver is an autogenerated mock type for the FaaSDriver type

func (*FaaSDriver) Create

func (_m *FaaSDriver) Create(ctx context.Context, f *functions.Function) error

Create provides a mock function with given fields: ctx, f

func (*FaaSDriver) Delete

func (_m *FaaSDriver) Delete(ctx context.Context, f *functions.Function) error

Delete provides a mock function with given fields: ctx, f

func (*FaaSDriver) GetRunnable

GetRunnable provides a mock function with given fields: e

type ImageBuilder added in v0.1.13

type ImageBuilder struct {
	mock.Mock
}

ImageBuilder is an autogenerated mock type for the ImageBuilder type

func (*ImageBuilder) BuildImage added in v0.1.13

func (_m *ImageBuilder) BuildImage(ctx context.Context, f *functions.Function, code []byte) (string, error)

BuildImage provides a mock function with given fields: ctx, f, code

func (*ImageBuilder) RemoveImage added in v0.1.23

func (_m *ImageBuilder) RemoveImage(ctx context.Context, f *functions.Function) error

RemoveImage provides a mock function with given fields: ctx, f

type SecretInjector

type SecretInjector struct {
	mock.Mock
}

SecretInjector is an autogenerated mock type for the SecretInjector type

func (*SecretInjector) GetMiddleware

func (_m *SecretInjector) GetMiddleware(organizationID string, secrets []string, cookie string) functions.Middleware

GetMiddleware provides a mock function with given fields: organizationID, secrets, cookie

type ServiceInjector added in v0.1.13

type ServiceInjector struct {
	mock.Mock
}

ServiceInjector is an autogenerated mock type for the ServiceInjector type

func (*ServiceInjector) GetMiddleware added in v0.1.13

func (_m *ServiceInjector) GetMiddleware(organizationID string, services []string, cookie string) functions.Middleware

GetMiddleware provides a mock function with given fields: organizationID, services, cookie

type Validator

type Validator struct {
	mock.Mock
}

Validator is an autogenerated mock type for the Validator type

func (*Validator) GetMiddleware

func (_m *Validator) GetMiddleware(schemas *functions.Schemas) functions.Middleware

GetMiddleware provides a mock function with given fields: schemas

Jump to

Keyboard shortcuts

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