mock_serverless

package
v0.0.0-...-a52e8f6 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_serverless is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockFunctionService

type MockFunctionService struct {
	// contains filtered or unexported fields
}

MockFunctionService is a mock of FunctionService interface

func NewMockFunctionService

func NewMockFunctionService(ctrl *gomock.Controller) *MockFunctionService

NewMockFunctionService creates a new mock instance

func (*MockFunctionService) Create

func (m *MockFunctionService) Create(name, namespace string, labels gqlschema.Labels, size, runtime string) (*v1alpha1.Function, error)

Create mocks base method

func (*MockFunctionService) Delete

func (m *MockFunctionService) Delete(name, namespace string) error

Delete mocks base method

func (*MockFunctionService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockFunctionService) Find

func (m *MockFunctionService) Find(name, namespace string) (*v1alpha1.Function, error)

Find mocks base method

func (*MockFunctionService) List

func (m *MockFunctionService) List(namespace string) ([]*v1alpha1.Function, error)

List mocks base method

func (*MockFunctionService) Update

func (m *MockFunctionService) Update(name, namespace string, params gqlschema.FunctionUpdateInput) (*v1alpha1.Function, error)

Update mocks base method

type MockFunctionServiceMockRecorder

type MockFunctionServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockFunctionServiceMockRecorder is the mock recorder for MockFunctionService

func (*MockFunctionServiceMockRecorder) Create

func (mr *MockFunctionServiceMockRecorder) Create(name, namespace, labels, size, runtime interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockFunctionServiceMockRecorder) Delete

func (mr *MockFunctionServiceMockRecorder) Delete(name, namespace interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockFunctionServiceMockRecorder) Find

func (mr *MockFunctionServiceMockRecorder) Find(name, namespace interface{}) *gomock.Call

Find indicates an expected call of Find

func (*MockFunctionServiceMockRecorder) List

func (mr *MockFunctionServiceMockRecorder) List(namespace interface{}) *gomock.Call

List indicates an expected call of List

func (*MockFunctionServiceMockRecorder) Update

func (mr *MockFunctionServiceMockRecorder) Update(name, namespace, params interface{}) *gomock.Call

Update indicates an expected call of Update

Jump to

Keyboard shortcuts

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