mock_service

package
v0.0.0-...-ed2735e Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package mock_service is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCommand

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

MockCommand is a mock of Command interface

func NewMockCommand

func NewMockCommand(ctrl *gomock.Controller) *MockCommand

NewMockCommand creates a new mock instance

func (*MockCommand) DeleteApp

func (m *MockCommand) DeleteApp(app_id string) error

DeleteApp mocks base method

func (*MockCommand) EXPECT

func (m *MockCommand) EXPECT() *MockCommandMockRecorder

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

func (*MockCommand) GetApp

func (m *MockCommand) GetApp(app_id string) (map[string]interface{}, error)

GetApp mocks base method

func (*MockCommand) GetAppList

func (m *MockCommand) GetAppList() ([]map[string]interface{}, error)

GetAppList mocks base method

func (*MockCommand) InsertComposeFile

func (m *MockCommand) InsertComposeFile(description, state string) (map[string]interface{}, error)

InsertComposeFile mocks base method

func (*MockCommand) UpdateAppEvent

func (m *MockCommand) UpdateAppEvent(app_id, repo, tag, event string) error

UpdateAppEvent mocks base method

func (*MockCommand) UpdateAppInfo

func (m *MockCommand) UpdateAppInfo(app_id, description string) error

UpdateAppInfo mocks base method

func (*MockCommand) UpdateAppState

func (m *MockCommand) UpdateAppState(app_id, state string) error

UpdateAppState mocks base method

type MockCommandMockRecorder

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

MockCommandMockRecorder is the mock recorder for MockCommand

func (*MockCommandMockRecorder) DeleteApp

func (mr *MockCommandMockRecorder) DeleteApp(app_id interface{}) *gomock.Call

DeleteApp indicates an expected call of DeleteApp

func (*MockCommandMockRecorder) GetApp

func (mr *MockCommandMockRecorder) GetApp(app_id interface{}) *gomock.Call

GetApp indicates an expected call of GetApp

func (*MockCommandMockRecorder) GetAppList

func (mr *MockCommandMockRecorder) GetAppList() *gomock.Call

GetAppList indicates an expected call of GetAppList

func (*MockCommandMockRecorder) InsertComposeFile

func (mr *MockCommandMockRecorder) InsertComposeFile(description, state interface{}) *gomock.Call

InsertComposeFile indicates an expected call of InsertComposeFile

func (*MockCommandMockRecorder) UpdateAppEvent

func (mr *MockCommandMockRecorder) UpdateAppEvent(app_id, repo, tag, event interface{}) *gomock.Call

UpdateAppEvent indicates an expected call of UpdateAppEvent

func (*MockCommandMockRecorder) UpdateAppInfo

func (mr *MockCommandMockRecorder) UpdateAppInfo(app_id, description interface{}) *gomock.Call

UpdateAppInfo indicates an expected call of UpdateAppInfo

func (*MockCommandMockRecorder) UpdateAppState

func (mr *MockCommandMockRecorder) UpdateAppState(app_id, state interface{}) *gomock.Call

UpdateAppState indicates an expected call of UpdateAppState

Jump to

Keyboard shortcuts

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