Documentation ¶
Index ¶
- Variables
- func Execute(c Config, st stratum, action Action, stdout, stderr io.Writer) error
- func IsAlreadyInstalled(name string) (bool, error)
- func PullAquifer(ctx context.Context, c Config) error
- func ReadStratum(c Config, name string) (stratum, error)
- func Version() string
- type Action
- type Config
- type OS
Constants ¶
This section is empty.
Variables ¶
View Source
var Actions = map[string]Action{ string(Install): Install, string(Uninstall): Uninstall, }
View Source
var ErrPackageAlreadyInstalled = errors.New("package already installed")
View Source
var OSs = map[string]OS{ string(linux): linux, string(darwin): darwin, }
Functions ¶
func IsAlreadyInstalled ¶
func PullAquifer ¶
PullAquifer AquiferをRemoteから取得する。
func ReadStratum ¶
ReadStratum AquiferPathにあるStratumのうち、指定されたStratumを取得する。
Types ¶
Click to show internal directories.
Click to hide internal directories.