patchchecksum

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindFirstMappingNode added in v0.2.0

func FindFirstMappingNode(seq *ast.SequenceNode, idx int) (*ast.MappingNode, int)

func GetPackagesAST added in v0.2.0

func GetPackagesAST(file *ast.File) (*ast.SequenceNode, error)

func PatchChecksum

func PatchChecksum(ctx context.Context, logE *logrus.Entry, configFilePath string) error

Types

type GitHubClient added in v0.1.7

type GitHubClient interface {
	GetLatestRelease(ctx context.Context, repoOwner, repoName string) (*github.RepositoryRelease, *github.Response, error)
	ListReleaseAssets(ctx context.Context, owner, repo string, id int64, opts *github.ListOptions) ([]*github.ReleaseAsset, *github.Response, error)
}

Jump to

Keyboard shortcuts

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