Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNotRoot = errors.New("This installer must be run with root privileges") ErrNetworkDetectionFailed = errors.New("Network detection failed") ErrK3sInstallFailed = NewCustomError(ErrTypeK3sInstallFailed, "") ErrK3sUninstallFailed = NewCustomError(ErrTypeK3sUninstallFailed, "") ErrNotLinux = NewCustomError(ErrTypeNotLinux, "") ErrInvalidArchitecture = NewCustomError(ErrTypeInvalidArchitecture, "") ErrDistributionDetectionFailed = NewCustomError(ErrTypeDistributionDetectionFailed, "") ErrUnsupportedDistribution = NewCustomError(ErrTypeUnsupportedDistribution, "") ErrUnsupportedVersion = NewCustomError(ErrTypeUnsupportedVersion, "") ErrUnbindInstallFailed = NewCustomError(ErrTypeUnbindInstallFailed, "") )
Errors
Functions ¶
This section is empty.
Types ¶
type CustomError ¶
func NewCustomError ¶
func NewCustomError(t ErrorType, message string) *CustomError
func (*CustomError) Error ¶
func (e *CustomError) Error() string
func (*CustomError) Is ¶
func (e *CustomError) Is(target error) bool
Click to show internal directories.
Click to hide internal directories.