Documentation ¶
Index ¶
- Variables
- func Check(store *binny.Store, toolName string, resolvedVersion string, ...) error
- func Install(tool binny.Tool, intent binny.VersionIntent, store *binny.Store, ...) (err error)
- func New(t Config) (binny.Tool, error)
- func ResolveVersion(tool binny.VersionResolver, intent binny.VersionIntent) (string, error)
- func VersionResolverMethods() []string
- type Config
- type DetailConfig
- type VerifyConfig
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrAlreadyInstalled = errors.New("already installed")
Functions ¶
func Install ¶
func Install(tool binny.Tool, intent binny.VersionIntent, store *binny.Store, verifyConfig VerifyConfig) (err error)
func ResolveVersion ¶
func ResolveVersion(tool binny.VersionResolver, intent binny.VersionIntent) (string, error)
func VersionResolverMethods ¶ added in v0.2.0
func VersionResolverMethods() []string
Types ¶
type Config ¶
type Config struct { Name string InstallerConfig DetailConfig VersionResolverConfig DetailConfig }
type DetailConfig ¶
type VerifyConfig ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.