mocks

package
v1.34.0 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2024 License: Apache-2.0 Imports: 5 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 MockProg

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

MockProg is a mock of Prog interface.

func NewMockProg

func NewMockProg(ctrl *gomock.Controller) *MockProg

NewMockProg creates a new mock instance.

func (*MockProg) EXPECT

func (m *MockProg) EXPECT() *MockProgMockRecorder

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

func (*MockProg) Start

func (m *MockProg) Start(label string)

Start mocks base method.

func (*MockProg) Stop

func (m *MockProg) Stop(label string)

Stop mocks base method.

type MockProgMockRecorder

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

MockProgMockRecorder is the mock recorder for MockProg.

func (*MockProgMockRecorder) Start

func (mr *MockProgMockRecorder) Start(label interface{}) *gomock.Call

Start indicates an expected call of Start.

func (*MockProgMockRecorder) Stop

func (mr *MockProgMockRecorder) Stop(label interface{}) *gomock.Call

Stop indicates an expected call of Stop.

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) CreateJob

func (m *MockStore) CreateJob(job *config.Workload) error

CreateJob mocks base method.

func (*MockStore) CreateService

func (m *MockStore) CreateService(service *config.Workload) error

CreateService mocks base method.

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) CreateJob

func (mr *MockStoreMockRecorder) CreateJob(job interface{}) *gomock.Call

CreateJob indicates an expected call of CreateJob.

func (*MockStoreMockRecorder) CreateService

func (mr *MockStoreMockRecorder) CreateService(service interface{}) *gomock.Call

CreateService indicates an expected call of CreateService.

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 MockWorkloadAdder

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

MockWorkloadAdder is a mock of WorkloadAdder interface.

func NewMockWorkloadAdder

func NewMockWorkloadAdder(ctrl *gomock.Controller) *MockWorkloadAdder

NewMockWorkloadAdder creates a new mock instance.

func (*MockWorkloadAdder) AddJobToApp

func (m *MockWorkloadAdder) AddJobToApp(app *config.Application, jobName string, opts ...cloudformation.AddWorkloadToAppOpt) error

AddJobToApp mocks base method.

func (*MockWorkloadAdder) AddServiceToApp

func (m *MockWorkloadAdder) AddServiceToApp(app *config.Application, serviceName string, opts ...cloudformation.AddWorkloadToAppOpt) error

AddServiceToApp mocks base method.

func (*MockWorkloadAdder) EXPECT

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

type MockWorkloadAdderMockRecorder

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

MockWorkloadAdderMockRecorder is the mock recorder for MockWorkloadAdder.

func (*MockWorkloadAdderMockRecorder) AddJobToApp

func (mr *MockWorkloadAdderMockRecorder) AddJobToApp(app, jobName interface{}, opts ...interface{}) *gomock.Call

AddJobToApp indicates an expected call of AddJobToApp.

func (*MockWorkloadAdderMockRecorder) AddServiceToApp

func (mr *MockWorkloadAdderMockRecorder) AddServiceToApp(app, serviceName interface{}, opts ...interface{}) *gomock.Call

AddServiceToApp indicates an expected call of AddServiceToApp.

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) Rel added in v1.21.0

func (m *MockWorkspace) Rel(path string) (string, error)

Rel mocks base method.

func (*MockWorkspace) WriteJobManifest

func (m *MockWorkspace) WriteJobManifest(marshaler encoding.BinaryMarshaler, jobName string) (string, error)

WriteJobManifest mocks base method.

func (*MockWorkspace) WriteServiceManifest

func (m *MockWorkspace) WriteServiceManifest(marshaler encoding.BinaryMarshaler, serviceName string) (string, error)

WriteServiceManifest mocks base method.

type MockWorkspaceMockRecorder

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

MockWorkspaceMockRecorder is the mock recorder for MockWorkspace.

func (*MockWorkspaceMockRecorder) Rel added in v1.21.0

func (mr *MockWorkspaceMockRecorder) Rel(path interface{}) *gomock.Call

Rel indicates an expected call of Rel.

func (*MockWorkspaceMockRecorder) WriteJobManifest

func (mr *MockWorkspaceMockRecorder) WriteJobManifest(marshaler, jobName interface{}) *gomock.Call

WriteJobManifest indicates an expected call of WriteJobManifest.

func (*MockWorkspaceMockRecorder) WriteServiceManifest

func (mr *MockWorkspaceMockRecorder) WriteServiceManifest(marshaler, serviceName interface{}) *gomock.Call

WriteServiceManifest indicates an expected call of WriteServiceManifest.

Jump to

Keyboard shortcuts

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