internal

package
v0.25.1 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrAlreadyUpdated               = eris.New("pkgmgmtutils: formula already updated")
	ErrMissingRequiredVersion       = eris.New("pkgmgmtutils: missing required version")
	ErrMissingRequiredVersionTagSha = eris.New("pkgmgmtutils: missing required version tag sha")
	ErrMissingRequiredDarwinSha     = eris.New("pkgmgmtutils: missing required sha for darwin binary")
	ErrMissingRequiredLinuxSha      = eris.New("pkgmgmtutils: missing required sha for linux binary")
	ErrMissingRequiredWindowsSha    = eris.New("pkgmgmtutils: missing required sha for windows binary")
)
View Source
var ErrNoShaDataFound = eris.New("pkgmgmtutils: no data in SHA256 file")

Functions

func NewGitClient

func NewGitClient(client *github.Client) formula_updater_types.GitClient

uses real dependencies- i.e. actually communicates with GitHub

func NewLocalCloneChangePusher

func NewLocalCloneChangePusher() formula_updater_types.ChangePusher

func NewRemoteChangePusher

func NewRemoteChangePusher(gitClient *github.Client) formula_updater_types.ChangePusher

func UpdateFormulaBytes

func UpdateFormulaBytes(byt []byte, version string, versionSha string, shas *formula_updater_types.PerPlatformSha256, fOpt *formula_updater_types.FormulaOptions) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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