Documentation ¶
Index ¶
- type GithubRepoClient
- func (_m *GithubRepoClient) CreateRelease(ctx context.Context, owner string, repo string, ...) (*github.RepositoryRelease, *github.Response, error)
- func (_m *GithubRepoClient) DeleteReleaseAsset(ctx context.Context, owner string, repo string, id int64) (*github.Response, error)
- func (_m *GithubRepoClient) GetLatestRelease(ctx context.Context, owner string, repo string) (*github.RepositoryRelease, *github.Response, error)
- func (_m *GithubRepoClient) ListReleaseAssets(ctx context.Context, owner string, repo string, id int64, ...) ([]*github.ReleaseAsset, *github.Response, error)
- func (_m *GithubRepoClient) UploadReleaseAsset(ctx context.Context, owner string, repo string, id int64, ...) (*github.ReleaseAsset, *github.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GithubRepoClient ¶
GithubRepoClient is an autogenerated mock type for the GithubRepoClient type
func (*GithubRepoClient) CreateRelease ¶
func (_m *GithubRepoClient) CreateRelease(ctx context.Context, owner string, repo string, release *github.RepositoryRelease) (*github.RepositoryRelease, *github.Response, error)
CreateRelease provides a mock function with given fields: ctx, owner, repo, release
func (*GithubRepoClient) DeleteReleaseAsset ¶
func (_m *GithubRepoClient) DeleteReleaseAsset(ctx context.Context, owner string, repo string, id int64) (*github.Response, error)
DeleteReleaseAsset provides a mock function with given fields: ctx, owner, repo, id
func (*GithubRepoClient) GetLatestRelease ¶
func (_m *GithubRepoClient) GetLatestRelease(ctx context.Context, owner string, repo string) (*github.RepositoryRelease, *github.Response, error)
GetLatestRelease provides a mock function with given fields: ctx, owner, repo
func (*GithubRepoClient) ListReleaseAssets ¶
func (_m *GithubRepoClient) ListReleaseAssets(ctx context.Context, owner string, repo string, id int64, opt *github.ListOptions) ([]*github.ReleaseAsset, *github.Response, error)
ListReleaseAssets provides a mock function with given fields: ctx, owner, repo, id, opt
func (*GithubRepoClient) UploadReleaseAsset ¶
func (_m *GithubRepoClient) UploadReleaseAsset(ctx context.Context, owner string, repo string, id int64, opt *github.UploadOptions, file *os.File) (*github.ReleaseAsset, *github.Response, error)
UploadReleaseAsset provides a mock function with given fields: ctx, owner, repo, id, opt, file
Click to show internal directories.
Click to hide internal directories.