Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController(fs afero.Fs, gh RepositoriesService, testdataOutputter TestdataOutputter) *Controller
type Package ¶
type Package struct { Info *registry.PackageInfo Version string }
type RepositoriesService ¶
type RepositoriesService interface { Get(ctx context.Context, owner, repo string) (*github.Repository, *github.Response, error) GetLatestRelease(ctx context.Context, repoOwner, repoName string) (*github.RepositoryRelease, *github.Response, error) GetReleaseByTag(ctx context.Context, owner, repo, tag string) (*github.RepositoryRelease, *github.Response, error) ListReleaseAssets(ctx context.Context, owner, repo string, id int64, opts *github.ListOptions) ([]*github.ReleaseAsset, *github.Response, error) ListReleases(ctx context.Context, owner, repo string, opts *github.ListOptions) ([]*github.RepositoryRelease, *github.Response, error) }
type TestdataOutputter ¶
Click to show internal directories.
Click to hide internal directories.