apiserverk8s.io/apiserver/pkg/util/dryrun Index | Files

package dryrun

import "k8s.io/apiserver/pkg/util/dryrun"

Index

Functions

func IsDryRun

func IsDryRun(flag []string) bool

IsDryRun returns true if the DryRun flag is an actual dry-run.

func ResetMetadata

func ResetMetadata(originalObj, newObj runtime.Object) error

ResetMetadata resets metadata fields that are not allowed to be set by dry-run.

Source Files

dryrun.go

Version
v0.24.0-beta.0
Published
Mar 31, 2022
Platform
js/wasm
Imports
3 packages
Last checked
1 minute ago

Tools for package owners.