cri-apik8s.io/cri-api/pkg/errors Index | Files

package errors

import "k8s.io/cri-api/pkg/errors"

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

Index

Variables

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")

	// ErrImageVolumeMountFailed - Unable to mount an image volume.
	ErrImageVolumeMountFailed = errors.New("ImageVolumeMountFailed")
)

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.

Source Files

doc.go errors.go

Version
v0.33.0 (latest)
Published
Apr 11, 2025
Platform
linux/amd64
Imports
3 packages
Last checked
2 days ago

Tools for package owners.