dryrun

package
v2.7.1 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const DryRunReason = "DryRun"

Variables

This section is empty.

Functions

func NewDryRunError

func NewDryRunError(kind schema.ObjectKind, meta metav1.ObjectMetaAccessor, eventtype, reason, messageFmt string, args ...interface{}) error

Types

type DryRunError

type DryRunError struct {
	GVK                    string
	Namespace, Name        string
	EventType, Reason, Msg string
}

func (*DryRunError) Error

func (e *DryRunError) Error() string

type DryRunTransport

type DryRunTransport struct {
	Delegate http.RoundTripper
}

func NewDryRunTransport

func NewDryRunTransport(delegate http.RoundTripper) *DryRunTransport

func (*DryRunTransport) RoundTrip

func (t *DryRunTransport) RoundTrip(req *http.Request) (*http.Response, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳