Documentation
¶
Index ¶
- Variables
- type OsHelper
- func (o OsHelper) GetArch() (string, error)
- func (o OsHelper) GetDebVersion(name string) (string, error)
- func (o OsHelper) GetMk8sClusterId(path string) string
- func (o OsHelper) GetOsName() (string, error)
- func (o OsHelper) GetServiceUptime(serviceName string) (time.Duration, error)
- func (o OsHelper) GetSystemUptime() (time.Duration, error)
- func (o OsHelper) GetUname() (string, error)
- func (o OsHelper) InstallPackage(packageName string, version string) error
- func (o OsHelper) UpdateRepo(scriptPath string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrDebNotFound = fmt.Errorf("package not found")
Functions ¶
This section is empty.
Types ¶
type OsHelper ¶
type OsHelper struct { }
func NewOsHelper ¶
func NewOsHelper() *OsHelper
func (OsHelper) GetMk8sClusterId ¶
func (OsHelper) GetServiceUptime ¶
func (OsHelper) InstallPackage ¶
func (OsHelper) UpdateRepo ¶
Click to show internal directories.
Click to hide internal directories.