errors

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const StatusReasonPublishError metav1.StatusReason = "PublishError"

Variables

This section is empty.

Functions

func IsPublishError

func IsPublishError(err error) bool

IsPublishError determines if err is a publish error which indicates that the request can be retried by the client.

func NewPublishError

func NewPublishError(qualifiedResource schema.GroupResource, name string, err error) *errors.StatusError

NewPublishError returns an error indicating the work could not be published, and the client can try again.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL