errors

package
v0.41.1 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2024 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsImmutableError

func IsImmutableError(err error) bool

IsImmutableError checks if the given error is an immutable error.

Types

type DryRunErr

type DryRunErr struct {
	// contains filtered or unexported fields
}

DryRunErr is an error that occurs during a server-side dry-run apply.

func NewDryRunErr

func NewDryRunErr(err error, involvedObject *unstructured.Unstructured) *DryRunErr

NewDryRunErr returns a new DryRunErr.

func (*DryRunErr) Error

func (e *DryRunErr) Error() string

Error returns the error message.

func (*DryRunErr) InvolvedObject

func (e *DryRunErr) InvolvedObject() *unstructured.Unstructured

InvolvedObject returns the involved object.

func (*DryRunErr) Unwrap

func (e *DryRunErr) Unwrap() error

Unwrap returns the underlying error.

Jump to

Keyboard shortcuts

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