MCPcopy
hub / github.com/kubernetes-sigs/controller-runtime / NewDryRunClient

Function NewDryRunClient

pkg/client/dryrun.go:29–31  ·  view source on GitHub ↗

NewDryRunClient wraps an existing client and enforces DryRun mode on all mutating api calls.

(c Client)

Source from the content-addressed store, hash-verified

27// NewDryRunClient wraps an existing client and enforces DryRun mode
28// on all mutating api calls.
29func NewDryRunClient(c Client) Client {
30 return &dryRunClient{client: c}
31}
32
33var _ Client = &dryRunClient{}
34

Callers 1

NewFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…