Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrRetryable = errors.New("retryable error") ErrNoRetry = errors.New("no retry") // bootstrap ErrEnrollmentRequestFailed = errors.New("enrollment request failed") ErrEnrollmentRequestDenied = errors.New("enrollment request denied") // applications ErrAppNameRequired = errors.New("application name is required") ErrAppNotFound = errors.New("application not found") ErrUnsupportedAppType = errors.New("unsupported application type") ErrParseAppType = errors.New("failed to parse application type") ErrAppDependency = errors.New("failed to resolve application dependency") ErrUnsupportedAppProvider = errors.New("unsupported application provider") // spec ErrMissingRenderedSpec = errors.New("missing rendered spec") ErrReadingRenderedSpec = errors.New("reading rendered spec") ErrWritingRenderedSpec = errors.New("writing rendered spec") ErrCheckingFileExists = errors.New("checking if file exists") ErrCopySpec = errors.New("copying spec") ErrGettingBootcStatus = errors.New("getting current bootc status") ErrGettingDeviceSpec = errors.New("getting device spec") ErrParseRenderedVersion = errors.New("failed to convert version to integer") ErrUnmarshalSpec = errors.New("unmarshalling spec") ErrInvalidSpecType = errors.New("invalid spec type") ErrInvalidSpec = errors.New("invalid spec") // hooks ErrInvalidTokenFormat = errors.New("invalid token: formatting") ErrTokenNotSupported = errors.New("invalid token: not supported") ErrActionTypeNotFound = errors.New("failed to find action type") ErrUnsupportedFilesystemOperation = errors.New("unsupported filesystem operation") // networking ErrNoContent = errors.New("no content") ErrNilResponse = errors.New("received nil response") // authentication ErrAuthenticationFailed = errors.New("authentication failed") )
Functions ¶
func IsRetryable ¶
TODO: tighten up the retryable errors ideally all retryable errors should be explicitly defined
func IsTimeoutError ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.