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") ErrNoComposeFile = errors.New("no compose file found") ErrNoComposeServices = errors.New("no services found in compose spec") // container images ErrImageShortName = errors.New("failed to resolve image short name: use the full name i.e registry/image:tag") // 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") ErrRunActionInvalid = errors.New("invalid run action") ErrUnsupportedFilesystemOperation = errors.New("unsupported filesystem operation") // networking ErrNoContent = errors.New("no content") ErrNilResponse = errors.New("received nil response") ErrNetwork = errors.New("network") // authentication ErrAuthenticationFailed = errors.New("authentication failed") // io ErrReadingPath = errors.New("failed reading path") ErrPathIsDir = errors.New("provided path is a directory") ErrNotFound = errors.New("not found") ErrNotExist = os.ErrNotExist ErrInvalidPath = errors.New("invalid path") // images ErrImageNotFound = errors.New("image not found") // policy ErrDownloadPolicyNotReady = errors.New("download policy not ready") ErrUpdatePolicyNotReady = errors.New("update policy not ready") ErrInvalidPolicyType = errors.New("invalid policy type") )
Functions ¶
func FromStderr ¶ added in v0.4.0
FromStderr converts stderr output from a command into an error type.
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.