Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DownloadDBExpectation ¶ added in v0.4.0
type DownloadDBExpectation struct { Args DownloadDBInput ReturnArgs DownloadDBOutput }
type DownloadDBInput ¶ added in v0.4.0
type DownloadDBInput struct {
FileName string
}
type DownloadDBOutput ¶ added in v0.4.0
type MockClient ¶ added in v0.3.0
func NewMockClient ¶ added in v0.4.0
func NewMockClient(downloadDBExpectations []DownloadDBExpectation) (*MockClient, error)
func (*MockClient) DownloadDB ¶ added in v0.3.0
func (_m *MockClient) DownloadDB(ctx context.Context, fileName string) (io.ReadCloser, int, error)
type Repository ¶
type Repository struct {
// contains filtered or unexported fields
}
func (Repository) DownloadAsset ¶
func (r Repository) DownloadAsset(ctx context.Context, id int64) (io.ReadCloser, string, error)
func (Repository) ListReleases ¶
func (r Repository) ListReleases(ctx context.Context, opt *github.ListOptions) ([]*github.RepositoryRelease, *github.Response, error)
type RepositoryInterface ¶
Click to show internal directories.
Click to hide internal directories.