Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Darwin ¶
type Darwin struct {
// contains filtered or unexported fields
}
func NewDarwinAdapter ¶
func NewDarwinAdapter(exec utilsexec.Interface) Darwin
func (Darwin) InstallPackage ¶
func (d Darwin) InstallPackage(packageName string)
func (Darwin) UpdatePackageList ¶
func (d Darwin) UpdatePackageList(packageManager string)
type Linux ¶
type Linux struct {
// contains filtered or unexported fields
}
func NewLinuxAdapter ¶
func NewLinuxAdapter(exec utilsexec.Interface) Linux
func (Linux) InstallPackage ¶
func (l Linux) InstallPackage(packageName string)
func (Linux) UpdatePackageList ¶
func (l Linux) UpdatePackageList(packageManager string)
type PlatformAdapterInterface ¶
type PlatformAdapterInterface interface {
InstallPackage(packageName string)
UpdatePackageList(packageManager string)
}
type WindowsAdapter ¶
type WindowsAdapter struct {
// contains filtered or unexported fields
}
func NewWindowsAdapter ¶
func NewWindowsAdapter(exec utilsexec.Interface) WindowsAdapter
func (WindowsAdapter) InstallPackage ¶
func (w WindowsAdapter) InstallPackage(packageName string)
func (WindowsAdapter) UpdatePackageList ¶
func (w WindowsAdapter) UpdatePackageList(packageManager string)
Click to show internal directories.
Click to hide internal directories.