package
0.44.2
Repository: https://github.com/sethamazon/cadvisor.git
Documentation: pkg.go.dev

# Functions

FromGRPC returns the underlying error from a grpc service based on the grpc error code.
IsAlreadyExists returns true if the error is due to an already existing metadata item.
IsCanceled returns true if the error is due to `context.Canceled`.
IsDeadlineExceeded returns true if the error is due to `context.DeadlineExceeded`.
IsFailedPrecondition returns true if an operation could not proceed to the lack of a particular condition.
IsInvalidArgument returns true if the error is due to an invalid argument.
IsNotFound returns true if the error is due to a missing object.
IsNotImplemented returns true if the error is due to not being implemented.
IsUnavailable returns true if the error is due to a resource being unavailable.
ToGRPC will attempt to map the backend containerd error into a grpc error, using the original error message as a description.
ToGRPCf maps the error to grpc error codes, assembling the formatting string and combining it with the target error string.

# Variables

Definitions of common error types used throughout containerd.
Definitions of common error types used throughout containerd.
Definitions of common error types used throughout containerd.
Definitions of common error types used throughout containerd.
represents not supported and unimplemented.
Definitions of common error types used throughout containerd.
used internally to represent a missed mapping.