resource

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2025 License: GPL-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlreadyExistsError

type AlreadyExistsError struct {
	Name     string
	Resource string
	// contains filtered or unexported fields
}

AlreadyExistsError represents an error when a resource already exists.

func NewAlreadyExistsError

func NewAlreadyExistsError(name, resource string, err error) *AlreadyExistsError

func (*AlreadyExistsError) Error

func (e *AlreadyExistsError) Error() string

type NotFoundError

type NotFoundError struct {
	Name     string
	Resource string
	// contains filtered or unexported fields
}

NotFoundError represents an error when a resource is not found.

func NewNotFoundError

func NewNotFoundError(name, resource string, err error) *NotFoundError

func (*NotFoundError) Error

func (e *NotFoundError) Error() string

Jump to

Keyboard shortcuts

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