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 Config ¶ added in v2.45.0
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 Group ¶ added in v2.17.0
type Group struct {
// contains filtered or unexported fields
}
func (*Group) VersionConstraint ¶ added in v2.45.0
type RawConfig ¶ added in v2.45.0
type RawConfig struct { VersionFilter string `json:"version_filter,omitempty" yaml:"version_filter"` VersionPrefix string `json:"version_prefix,omitempty" yaml:"version_prefix"` AllAssetsFilter string `json:"all_assets_filter,omitempty" yaml:"all_assets_filter"` Package string `json:"name" yaml:"name"` }
type Release ¶
type Release struct { ID int64 Tag string Version *version.Version VersionPrefix string // contains filtered or unexported fields }
func (*Release) GreaterThan ¶ added in v2.45.0
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.