package errors

import "k8s.io/kubernetes/pkg/kubelet/checkpointmanager/errors"

Index

Variables

var ErrCheckpointNotFound = fmt.Errorf("checkpoint is not found")

ErrCheckpointNotFound is reported when checkpoint is not found for a given key

Types

type CorruptCheckpointError

type CorruptCheckpointError struct {
	ActualCS, ExpectedCS uint64
}

ErrCorruptCheckpoint error is reported when checksum does not match. Check for it with:

var csErr *CorruptCheckpointError
if errors.As(err, &csErr) { ... }
if errors.Is(err, CorruptCheckpointError{}) { ... }

func (CorruptCheckpointError) Error

func (err CorruptCheckpointError) Error() string

func (CorruptCheckpointError) Is

func (err CorruptCheckpointError) Is(target error) bool

Source Files

errors.go

Version
v1.33.2 (latest)
Published
Jun 17, 2025
Platform
js/wasm
Imports
1 packages
Last checked
4 minutes ago

Tools for package owners.