Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertPkgToVO ¶ added in v2.17.0
func ConvertPkgToVO(pkgInfo *registry.PackageInfo) *registry.VersionOverride
Types ¶
type CargoClient ¶ added in v2.16.3
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController(fs afero.Fs, gh RepositoriesService, testdataOutputter TestdataOutputter, cargoClient CargoClient) *Controller
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.