Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Forbidden ¶
type Forbidden struct {
// contains filtered or unexported fields
}
Forbidden indicates a failed authorization or namespace requirement.
func NewForbidden ¶
NewForbidden creates an explicit Forbidden error for RBAC failures with details about the principal and the attempted access on a specific resource.
func NewNamespaceForbidden ¶ added in v1.38.0
NewNamespaceForbidden creates a Forbidden error for namespace requirement failures.
type Unauthenticated ¶ added in v1.28.0
type Unauthenticated struct{}
func NewUnauthenticated ¶ added in v1.28.0
func NewUnauthenticated() Unauthenticated
NewUnauthenticated creates an explicit Unauthenticated error
func (Unauthenticated) Error ¶ added in v1.28.0
func (u Unauthenticated) Error() string
Click to show internal directories.
Click to hide internal directories.