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

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.29.6
Published
Apr 4, 2024
Platform
js/wasm
Imports
3 packages
Last checked
13 hours ago

Tools for package owners.