Documentation ¶
Index ¶
- type GitClient
- func (_m *GitClient) CreateRef(_a0 context.Context, _a1 string, _a2 string, _a3 *github.Reference) (*github.Reference, *github.Response, error)
- func (_m *GitClient) DeleteRef(_a0 context.Context, _a1 string, _a2 string, _a3 string) (*github.Response, error)
- func (_m *GitClient) GetRef(_a0 context.Context, _a1 string, _a2 string, _a3 string) (*github.Reference, *github.Response, error)
- type RepositoriesClient
- func (_m *RepositoriesClient) CreateRelease(_a0 context.Context, _a1 string, _a2 string, _a3 *github.RepositoryRelease) (*github.RepositoryRelease, *github.Response, error)
- func (_m *RepositoriesClient) DeleteRelease(_a0 context.Context, _a1 string, _a2 string, _a3 int64) (*github.Response, error)
- func (_m *RepositoriesClient) GetReleaseByTag(_a0 context.Context, _a1 string, _a2 string, _a3 string) (*github.RepositoryRelease, *github.Response, error)
- func (_m *RepositoriesClient) UploadReleaseAsset(_a0 context.Context, _a1 string, _a2 string, _a3 int64, ...) (*github.ReleaseAsset, *github.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitClient ¶
GitClient is an autogenerated mock type for the GitClient type
func (*GitClient) CreateRef ¶
func (_m *GitClient) CreateRef(_a0 context.Context, _a1 string, _a2 string, _a3 *github.Reference) (*github.Reference, *github.Response, error)
CreateRef provides a mock function with given fields: _a0, _a1, _a2, _a3
type RepositoriesClient ¶
RepositoriesClient is an autogenerated mock type for the RepositoriesClient type
func (*RepositoriesClient) CreateRelease ¶
func (_m *RepositoriesClient) CreateRelease(_a0 context.Context, _a1 string, _a2 string, _a3 *github.RepositoryRelease) (*github.RepositoryRelease, *github.Response, error)
CreateRelease provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*RepositoriesClient) DeleteRelease ¶
func (_m *RepositoriesClient) DeleteRelease(_a0 context.Context, _a1 string, _a2 string, _a3 int64) (*github.Response, error)
DeleteRelease provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*RepositoriesClient) GetReleaseByTag ¶
func (_m *RepositoriesClient) GetReleaseByTag(_a0 context.Context, _a1 string, _a2 string, _a3 string) (*github.RepositoryRelease, *github.Response, error)
GetReleaseByTag provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*RepositoriesClient) UploadReleaseAsset ¶
func (_m *RepositoriesClient) UploadReleaseAsset(_a0 context.Context, _a1 string, _a2 string, _a3 int64, _a4 *github.UploadOptions, _a5 *os.File) (*github.ReleaseAsset, *github.Response, error)
UploadReleaseAsset provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4, _a5
Click to show internal directories.
Click to hide internal directories.