Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockRepo
- func (m *MockRepo) AddUser(name string)
- func (m *MockRepo) EXPECT() *MockRepoMockRecorder
- func (m *MockRepo) GetDataPath() string
- func (m *MockRepo) GetGitRepo() *v1.GitRepository
- func (m *MockRepo) GetLoadPath() string
- func (m *MockRepo) GetPath() string
- func (m *MockRepo) GetSourceName() string
- func (m *MockRepo) GetSourceNameSpace() string
- func (m *MockRepo) IsSynced() bool
- func (m *MockRepo) LinkData(layerPath, sourcePath string) error
- func (m *MockRepo) RemoveUser(namer string) bool
- func (m *MockRepo) SetGitRepo(src *v1.GitRepository, rootPath string)
- func (m *MockRepo) SetHTTPClient(client *http.Client)
- func (m *MockRepo) SetHostName(hostName string)
- func (m *MockRepo) SetTarConsumer(tarConsumer tarconsumer.TarConsumer)
- func (m *MockRepo) SyncRepo() error
- func (m *MockRepo) TidyAll() error
- func (m *MockRepo) TidyRepo() error
- type MockRepoMockRecorder
- func (mr *MockRepoMockRecorder) AddUser(name interface{}) *gomock.Call
- func (mr *MockRepoMockRecorder) GetDataPath() *gomock.Call
- func (mr *MockRepoMockRecorder) GetGitRepo() *gomock.Call
- func (mr *MockRepoMockRecorder) GetLoadPath() *gomock.Call
- func (mr *MockRepoMockRecorder) GetPath() *gomock.Call
- func (mr *MockRepoMockRecorder) GetSourceName() *gomock.Call
- func (mr *MockRepoMockRecorder) GetSourceNameSpace() *gomock.Call
- func (mr *MockRepoMockRecorder) IsSynced() *gomock.Call
- func (mr *MockRepoMockRecorder) LinkData(layerPath, sourcePath interface{}) *gomock.Call
- func (mr *MockRepoMockRecorder) RemoveUser(namer interface{}) *gomock.Call
- func (mr *MockRepoMockRecorder) SetGitRepo(src, rootPath interface{}) *gomock.Call
- func (mr *MockRepoMockRecorder) SetHTTPClient(client interface{}) *gomock.Call
- func (mr *MockRepoMockRecorder) SetHostName(hostName interface{}) *gomock.Call
- func (mr *MockRepoMockRecorder) SetTarConsumer(tarConsumer interface{}) *gomock.Call
- func (mr *MockRepoMockRecorder) SyncRepo() *gomock.Call
- func (mr *MockRepoMockRecorder) TidyAll() *gomock.Call
- func (mr *MockRepoMockRecorder) TidyRepo() *gomock.Call
- type MockRepos
- func (m *MockRepos) Add(srcRepo *v1.GitRepository) repos.Repo
- func (m *MockRepos) Delete(name string)
- func (m *MockRepos) EXPECT() *MockReposMockRecorder
- func (m *MockRepos) Get(name string) repos.Repo
- func (m *MockRepos) GetRootPath() string
- func (m *MockRepos) List() map[string]repos.Repo
- func (m *MockRepos) SetHTTPClient(client *http.Client)
- func (m *MockRepos) SetHostName(hostName string)
- func (m *MockRepos) SetRootPath(path string)
- func (m *MockRepos) SetTimeOut(timeOut time.Duration)
- type MockReposMockRecorder
- func (mr *MockReposMockRecorder) Add(srcRepo interface{}) *gomock.Call
- func (mr *MockReposMockRecorder) Delete(name interface{}) *gomock.Call
- func (mr *MockReposMockRecorder) Get(name interface{}) *gomock.Call
- func (mr *MockReposMockRecorder) GetRootPath() *gomock.Call
- func (mr *MockReposMockRecorder) List() *gomock.Call
- func (mr *MockReposMockRecorder) SetHTTPClient(client interface{}) *gomock.Call
- func (mr *MockReposMockRecorder) SetHostName(hostName interface{}) *gomock.Call
- func (mr *MockReposMockRecorder) SetRootPath(path interface{}) *gomock.Call
- func (mr *MockReposMockRecorder) SetTimeOut(timeOut interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRepo ¶
type MockRepo struct {
// contains filtered or unexported fields
}
MockRepo is a mock of Repo interface
func NewMockRepo ¶
func NewMockRepo(ctrl *gomock.Controller) *MockRepo
NewMockRepo creates a new mock instance
func (*MockRepo) EXPECT ¶
func (m *MockRepo) EXPECT() *MockRepoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRepo) GetDataPath ¶
GetDataPath mocks base method
func (*MockRepo) GetGitRepo ¶
func (m *MockRepo) GetGitRepo() *v1.GitRepository
GetGitRepo mocks base method
func (*MockRepo) GetLoadPath ¶
GetLoadPath mocks base method
func (*MockRepo) GetSourceName ¶
GetSourceName mocks base method
func (*MockRepo) GetSourceNameSpace ¶
GetSourceNameSpace mocks base method
func (*MockRepo) RemoveUser ¶
RemoveUser mocks base method
func (*MockRepo) SetGitRepo ¶
func (m *MockRepo) SetGitRepo(src *v1.GitRepository, rootPath string)
SetGitRepo mocks base method
func (*MockRepo) SetHTTPClient ¶
SetHTTPClient mocks base method
func (*MockRepo) SetHostName ¶
SetHostName mocks base method
func (*MockRepo) SetTarConsumer ¶
func (m *MockRepo) SetTarConsumer(tarConsumer tarconsumer.TarConsumer)
SetTarConsumer mocks base method
type MockRepoMockRecorder ¶
type MockRepoMockRecorder struct {
// contains filtered or unexported fields
}
MockRepoMockRecorder is the mock recorder for MockRepo
func (*MockRepoMockRecorder) AddUser ¶
func (mr *MockRepoMockRecorder) AddUser(name interface{}) *gomock.Call
AddUser indicates an expected call of AddUser
func (*MockRepoMockRecorder) GetDataPath ¶
func (mr *MockRepoMockRecorder) GetDataPath() *gomock.Call
GetDataPath indicates an expected call of GetDataPath
func (*MockRepoMockRecorder) GetGitRepo ¶
func (mr *MockRepoMockRecorder) GetGitRepo() *gomock.Call
GetGitRepo indicates an expected call of GetGitRepo
func (*MockRepoMockRecorder) GetLoadPath ¶
func (mr *MockRepoMockRecorder) GetLoadPath() *gomock.Call
GetLoadPath indicates an expected call of GetLoadPath
func (*MockRepoMockRecorder) GetPath ¶
func (mr *MockRepoMockRecorder) GetPath() *gomock.Call
GetPath indicates an expected call of GetPath
func (*MockRepoMockRecorder) GetSourceName ¶
func (mr *MockRepoMockRecorder) GetSourceName() *gomock.Call
GetSourceName indicates an expected call of GetSourceName
func (*MockRepoMockRecorder) GetSourceNameSpace ¶
func (mr *MockRepoMockRecorder) GetSourceNameSpace() *gomock.Call
GetSourceNameSpace indicates an expected call of GetSourceNameSpace
func (*MockRepoMockRecorder) IsSynced ¶ added in v0.3.0
func (mr *MockRepoMockRecorder) IsSynced() *gomock.Call
IsSynced indicates an expected call of IsSynced
func (*MockRepoMockRecorder) LinkData ¶
func (mr *MockRepoMockRecorder) LinkData(layerPath, sourcePath interface{}) *gomock.Call
LinkData indicates an expected call of LinkData
func (*MockRepoMockRecorder) RemoveUser ¶
func (mr *MockRepoMockRecorder) RemoveUser(namer interface{}) *gomock.Call
RemoveUser indicates an expected call of RemoveUser
func (*MockRepoMockRecorder) SetGitRepo ¶
func (mr *MockRepoMockRecorder) SetGitRepo(src, rootPath interface{}) *gomock.Call
SetGitRepo indicates an expected call of SetGitRepo
func (*MockRepoMockRecorder) SetHTTPClient ¶
func (mr *MockRepoMockRecorder) SetHTTPClient(client interface{}) *gomock.Call
SetHTTPClient indicates an expected call of SetHTTPClient
func (*MockRepoMockRecorder) SetHostName ¶
func (mr *MockRepoMockRecorder) SetHostName(hostName interface{}) *gomock.Call
SetHostName indicates an expected call of SetHostName
func (*MockRepoMockRecorder) SetTarConsumer ¶
func (mr *MockRepoMockRecorder) SetTarConsumer(tarConsumer interface{}) *gomock.Call
SetTarConsumer indicates an expected call of SetTarConsumer
func (*MockRepoMockRecorder) SyncRepo ¶
func (mr *MockRepoMockRecorder) SyncRepo() *gomock.Call
SyncRepo indicates an expected call of SyncRepo
func (*MockRepoMockRecorder) TidyAll ¶
func (mr *MockRepoMockRecorder) TidyAll() *gomock.Call
TidyAll indicates an expected call of TidyAll
func (*MockRepoMockRecorder) TidyRepo ¶
func (mr *MockRepoMockRecorder) TidyRepo() *gomock.Call
TidyRepo indicates an expected call of TidyRepo
type MockRepos ¶
type MockRepos struct {
// contains filtered or unexported fields
}
MockRepos is a mock of Repos interface
func NewMockRepos ¶
func NewMockRepos(ctrl *gomock.Controller) *MockRepos
NewMockRepos creates a new mock instance
func (*MockRepos) Add ¶
func (m *MockRepos) Add(srcRepo *v1.GitRepository) repos.Repo
Add mocks base method
func (*MockRepos) EXPECT ¶
func (m *MockRepos) EXPECT() *MockReposMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRepos) GetRootPath ¶
GetRootPath mocks base method
func (*MockRepos) SetHTTPClient ¶
SetHTTPClient mocks base method
func (*MockRepos) SetHostName ¶
SetHostName mocks base method
func (*MockRepos) SetRootPath ¶
SetRootPath mocks base method
func (*MockRepos) SetTimeOut ¶
SetTimeOut mocks base method
type MockReposMockRecorder ¶
type MockReposMockRecorder struct {
// contains filtered or unexported fields
}
MockReposMockRecorder is the mock recorder for MockRepos
func (*MockReposMockRecorder) Add ¶
func (mr *MockReposMockRecorder) Add(srcRepo interface{}) *gomock.Call
Add indicates an expected call of Add
func (*MockReposMockRecorder) Delete ¶
func (mr *MockReposMockRecorder) Delete(name interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockReposMockRecorder) Get ¶
func (mr *MockReposMockRecorder) Get(name interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockReposMockRecorder) GetRootPath ¶
func (mr *MockReposMockRecorder) GetRootPath() *gomock.Call
GetRootPath indicates an expected call of GetRootPath
func (*MockReposMockRecorder) List ¶
func (mr *MockReposMockRecorder) List() *gomock.Call
List indicates an expected call of List
func (*MockReposMockRecorder) SetHTTPClient ¶
func (mr *MockReposMockRecorder) SetHTTPClient(client interface{}) *gomock.Call
SetHTTPClient indicates an expected call of SetHTTPClient
func (*MockReposMockRecorder) SetHostName ¶
func (mr *MockReposMockRecorder) SetHostName(hostName interface{}) *gomock.Call
SetHostName indicates an expected call of SetHostName
func (*MockReposMockRecorder) SetRootPath ¶
func (mr *MockReposMockRecorder) SetRootPath(path interface{}) *gomock.Call
SetRootPath indicates an expected call of SetRootPath
func (*MockReposMockRecorder) SetTimeOut ¶
func (mr *MockReposMockRecorder) SetTimeOut(timeOut interface{}) *gomock.Call
SetTimeOut indicates an expected call of SetTimeOut