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.0 (latest)
Published
Apr 23, 2025
Platform
linux/amd64
Imports
1 packages
Last checked
3 hours ago

Tools for package owners.