Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockProg
- type MockProgMockRecorder
- type MockStore
- func (m *MockStore) CreateJob(job *config.Workload) error
- func (m *MockStore) CreateService(service *config.Workload) error
- func (m *MockStore) EXPECT() *MockStoreMockRecorder
- func (m *MockStore) GetApplication(appName string) (*config.Application, error)
- func (m *MockStore) ListJobs(appName string) ([]*config.Workload, error)
- func (m *MockStore) ListServices(appName string) ([]*config.Workload, error)
- type MockStoreMockRecorder
- func (mr *MockStoreMockRecorder) CreateJob(job interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) CreateService(service interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetApplication(appName interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) ListJobs(appName interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) ListServices(appName interface{}) *gomock.Call
- type MockWorkloadAdder
- type MockWorkloadAdderMockRecorder
- type MockWorkspace
- func (m *MockWorkspace) EXPECT() *MockWorkspaceMockRecorder
- func (m *MockWorkspace) Path() (string, error)
- func (m *MockWorkspace) WriteJobManifest(marshaler encoding.BinaryMarshaler, jobName string) (string, error)
- func (m *MockWorkspace) WriteServiceManifest(marshaler encoding.BinaryMarshaler, serviceName string) (string, error)
- type MockWorkspaceMockRecorder
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.
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) CreateService ¶
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.
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) error
AddJobToApp mocks base method.
func (*MockWorkloadAdder) AddServiceToApp ¶
func (m *MockWorkloadAdder) AddServiceToApp(app *config.Application, serviceName string) error
AddServiceToApp mocks base method.
func (*MockWorkloadAdder) EXPECT ¶
func (m *MockWorkloadAdder) EXPECT() *MockWorkloadAdderMockRecorder
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{}) *gomock.Call
AddJobToApp indicates an expected call of AddJobToApp.
func (*MockWorkloadAdderMockRecorder) AddServiceToApp ¶
func (mr *MockWorkloadAdderMockRecorder) AddServiceToApp(app, serviceName 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 ¶
func (m *MockWorkspace) EXPECT() *MockWorkspaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockWorkspace) Path ¶ added in v1.14.0
func (m *MockWorkspace) Path() (string, error)
Path 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) Path ¶ added in v1.14.0
func (mr *MockWorkspaceMockRecorder) Path() *gomock.Call
Path indicates an expected call of Path.
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.