Documentation ¶
Index ¶
- Variables
- func NewGitClient(client *github.Client) formula_updater_types.GitClient
- func NewLocalCloneChangePusher() formula_updater_types.ChangePusher
- func NewRemoteChangePusher(gitClient *github.Client) formula_updater_types.ChangePusher
- func NewRemoteShaGetter() formula_updater_types.RemoteShaGetter
- func UpdateFormulaBytes(byt []byte, version string, versionSha string, ...) ([]byte, error)
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 NewRemoteShaGetter ¶
func NewRemoteShaGetter() formula_updater_types.RemoteShaGetter
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.
Click to show internal directories.
Click to hide internal directories.