mocks

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockStore

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

MockStore is a mock of Store interface.

func NewMockStore

func NewMockStore(ctrl *gomock.Controller) *MockStore

NewMockStore creates a new mock instance.

func (*MockStore) EXPECT

func (m *MockStore) EXPECT() *MockStoreMockRecorder

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

func (*MockStore) GetApplication

func (m *MockStore) GetApplication(appName string) (*config.Application, error)

GetApplication mocks base method.

func (*MockStore) ListJobs

func (m *MockStore) ListJobs(appName string) ([]*config.Workload, error)

ListJobs mocks base method.

func (*MockStore) ListServices

func (m *MockStore) ListServices(appName string) ([]*config.Workload, error)

ListServices mocks base method.

type MockStoreMockRecorder

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

MockStoreMockRecorder is the mock recorder for MockStore.

func (*MockStoreMockRecorder) GetApplication

func (mr *MockStoreMockRecorder) GetApplication(appName interface{}) *gomock.Call

GetApplication indicates an expected call of GetApplication.

func (*MockStoreMockRecorder) ListJobs

func (mr *MockStoreMockRecorder) ListJobs(appName interface{}) *gomock.Call

ListJobs indicates an expected call of ListJobs.

func (*MockStoreMockRecorder) ListServices

func (mr *MockStoreMockRecorder) ListServices(appName interface{}) *gomock.Call

ListServices indicates an expected call of ListServices.

type MockWorkspace

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

MockWorkspace is a mock of Workspace interface.

func NewMockWorkspace

func NewMockWorkspace(ctrl *gomock.Controller) *MockWorkspace

NewMockWorkspace creates a new mock instance.

func (*MockWorkspace) EXPECT

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

func (*MockWorkspace) ListJobs

func (m *MockWorkspace) ListJobs() ([]string, error)

ListJobs mocks base method.

func (*MockWorkspace) ListServices

func (m *MockWorkspace) ListServices() ([]string, error)

ListServices mocks base method.

type MockWorkspaceMockRecorder

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

MockWorkspaceMockRecorder is the mock recorder for MockWorkspace.

func (*MockWorkspaceMockRecorder) ListJobs

func (mr *MockWorkspaceMockRecorder) ListJobs() *gomock.Call

ListJobs indicates an expected call of ListJobs.

func (*MockWorkspaceMockRecorder) ListServices

func (mr *MockWorkspaceMockRecorder) ListServices() *gomock.Call

ListServices indicates an expected call of ListServices.

Jump to

Keyboard shortcuts

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