mocks

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2020 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) JobNames

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

JobNames mocks base method

func (*MockWorkspace) ServiceNames

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

ServiceNames mocks base method

type MockWorkspaceMockRecorder

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

MockWorkspaceMockRecorder is the mock recorder for MockWorkspace

func (*MockWorkspaceMockRecorder) JobNames

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

JobNames indicates an expected call of JobNames

func (*MockWorkspaceMockRecorder) ServiceNames

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

ServiceNames indicates an expected call of ServiceNames

Jump to

Keyboard shortcuts

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