errors

package
v0.30.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2023 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")
)

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