errors

package
v0.32.0-alpha.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2024 License: Apache-2.0 Imports: 3 Imported by: 17

Documentation

Overview

Package errors provides helper functions for use by the kubelet to deal with CRI errors.

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrRegistryUnavailable - Get http error on the PullImage RPC call.
	ErrRegistryUnavailable = errors.New("RegistryUnavailable")

	// ErrSignatureValidationFailed - Unable to validate the image signature on the PullImage RPC call.
	ErrSignatureValidationFailed = errors.New("SignatureValidationFailed")

	// ErrRROUnsupported - Unable to enforce recursive readonly mounts
	ErrRROUnsupported = errors.New("RROUnsupported")
)

Functions

func IsNotFound

func IsNotFound(err error) bool

IsNotFound returns a boolean indicating whether the error is grpc not found error. See https://github.com/grpc/grpc/blob/master/doc/statuscodes.md for a list of grpc status codes.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL