package
0.15.0
Repository: https://github.com/armadaproject/armada.git
Documentation: pkg.go.dev

# Functions

CodeFromError maps error types to gRPC return codes.
IsNetworkError returns true if err is a network-related error.
No description provided by the author
NewCombinedErrPodUnschedulable returns a new ErrPodUnschedulable with countFromReasons aggregated over all arguments.
StreamServerInterceptor returns an interceptor that extracts the cause of an error chain and returns it as a gRPC status error.
UnaryServerInterceptor returns an interceptor that extracts the cause of an error chain and returns it as a gRPC status error.

# Variables

No description provided by the author

# Structs

ErrAlreadyExists is a generic error to be returned whenever some resource already exists.
ErrCreateResource indicates that some Kubernetes resource could not be created.
ErrInternalAuthServiceError is returned when an auth service encounters an internal error that is not directly related to the supplied input/ credentials.
ErrInvalidArgument is a generic error to be returned on invalid argument.
ErrInvalidCredentials is returned when a given set of credentials cannot be authenticated by some authentication method/service.
ErrMaxRetriesExceeded is an error that indicates we have retried an operation so many times that we have given up The internal error should contain the last error before giving up.
ErrMissingCredentials is returned when a given set of credentials are missing either due to omission or they cannot otherwise be decoded.
ErrNotFound is a generic error to be returned whenever some resource isn't found.
ErrPodUnschedulable indicates that a pod can't be scheduled on any node type.
ErrUnauthenticated represents an error that occurs when a client tries to perform some action through the gRPC API for which it cannot authenticate.
ErrUnauthorized represents an error that occurs when a client tries to perform some action through the gRPC API for which it does not have permissions.