checkrepo

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 29, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckRepo

func CheckRepo(ctx context.Context, afs afero.Fs, httpClient *http.Client, pkgName string) error

Types

type Alias

type Alias struct {
	Name string
}

type Package

type Package struct {
	RepoOwner string `yaml:"repo_owner"`
	RepoName  string `yaml:"repo_name"`
	Aliases   []*Alias
}

type Redirect

type Redirect struct {
	RepoOwner      string
	RepoName       string
	NewRepoOwner   string
	NewRepoName    string
	NewPackageName string
}

func CheckRedirect

func CheckRedirect(ctx context.Context, afs afero.Fs, httpClient *http.Client, pkgName string) (*Redirect, error)

type Registry

type Registry struct {
	Packages []*Package
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL