Documentation
¶
Index ¶
- Variables
- func CheckCacheFilePath(a *rel.MirrorAsset) (bool, error)
- func DownloadAndCacheFile(a *rel.MirrorAsset) (string, error)
- func GetInstaller(c string, archive, dest string) (string, pipeline.Piper)
- func InstalledPath(component, version string) string
- func IsBuiltin(c string) bool
- func IsBuiltinUpgrade(c string) bool
- func IsSupportFormat(url string) bool
- func KmdoInstall(args []string, f bool) error
- func ShouldSkip(c string) bool
- type BuiltinComponent
- type CheckCachedPiper
- type CheckInstalledPiper
- type DownloadAssertPiper
- type PrepareInstallerdPiper
- type RunInstallerdPiper
- type SearchPiper
- type SelectAssertPiper
- type SelectVersionPiper
Constants ¶
This section is empty.
Variables ¶
View Source
var Builtins map[string]BuiltinComponent = map[string]BuiltinComponent{ "kmdo": { Name: "kmdo", BinPath: "bin/kmdo", Installer: installer.KmdoInstaller, }, "kmpkg": { Name: "kmpkg", BinPath: "bin/kmpkg", Installer: installer.KmpkgInstaller, }, "kmup": { Name: "kmup", BinPath: "bin/kmup", Installer: installer.KmupInstaller, }, "kmcmake": { Name: "kmcmake", BinPath: "", Installer: installer.KmcmakeInstaller, }, "kmpkgtool": { Name: "kmpkgtool", BinPath: "", Installer: installer.KmpkgToolInstaller, }, "cmake": { Name: "cmake", BinPath: "", Installer: installer.CmakeInstaller, }, }
View Source
var SupportedFormats = []string{".tar.gz"}
Functions ¶
func CheckCacheFilePath ¶
func CheckCacheFilePath(a *rel.MirrorAsset) (bool, error)
func DownloadAndCacheFile ¶
func DownloadAndCacheFile(a *rel.MirrorAsset) (string, error)
func InstalledPath ¶
func IsBuiltinUpgrade ¶
func IsSupportFormat ¶
func KmdoInstall ¶
func ShouldSkip ¶
Types ¶
type BuiltinComponent ¶
type BuiltinComponent struct {
Name string
BinPath string
Installer installer.InstallerFactory
}
type CheckCachedPiper ¶
type CheckCachedPiper struct{}
func (CheckCachedPiper) String ¶
func (CheckCachedPiper) String() string
type CheckInstalledPiper ¶
type CheckInstalledPiper struct{}
func (CheckInstalledPiper) String ¶
func (CheckInstalledPiper) String() string
type DownloadAssertPiper ¶
type DownloadAssertPiper struct{}
func (DownloadAssertPiper) String ¶
func (DownloadAssertPiper) String() string
type PrepareInstallerdPiper ¶
type PrepareInstallerdPiper struct{}
func (PrepareInstallerdPiper) Default ¶
func (PrepareInstallerdPiper) Default(ctx *context.Context) error
func (PrepareInstallerdPiper) String ¶
func (PrepareInstallerdPiper) String() string
type RunInstallerdPiper ¶
type RunInstallerdPiper struct{}
func (RunInstallerdPiper) String ¶
func (RunInstallerdPiper) String() string
type SearchPiper ¶
type SearchPiper struct{}
func (SearchPiper) String ¶
func (SearchPiper) String() string
type SelectAssertPiper ¶
type SelectAssertPiper struct{}
func (SelectAssertPiper) String ¶
func (SelectAssertPiper) String() string
type SelectVersionPiper ¶
type SelectVersionPiper struct{}
func (SelectVersionPiper) String ¶
func (SelectVersionPiper) String() string
Source Files
¶
Click to show internal directories.
Click to hide internal directories.