Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
Repository is an autogenerated mock type for the Repository type
func NewRepository ¶
func NewRepository(t interface { mock.TestingT Cleanup(func()) }) *Repository
NewRepository creates a new instance of Repository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Repository) Compare ¶
func (_m *Repository) Compare(pid interface{}, opt *gitlab.CompareOptions, options ...gitlab.RequestOptionFunc) (*gitlab.Compare, *gitlab.Response, error)
Compare provides a mock function with given fields: pid, opt, options
type RepositoryFile ¶
RepositoryFile is an autogenerated mock type for the RepositoryFile type
func NewRepositoryFile ¶
func NewRepositoryFile(t interface { mock.TestingT Cleanup(func()) }) *RepositoryFile
NewRepositoryFile creates a new instance of RepositoryFile. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*RepositoryFile) GetRawFile ¶
func (_m *RepositoryFile) GetRawFile(pid interface{}, fileName string, opt *gitlab.GetRawFileOptions, options ...gitlab.RequestOptionFunc) ([]byte, *gitlab.Response, error)
GetRawFile provides a mock function with given fields: pid, fileName, opt, options