serverSide

package
v2.23.0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NoFieldManager = errors.New("no field manager set")

Functions

func Apply

func Apply[T kubernetes.Object](ctx context.Context, obj T, fieldManager string, opts ...ApplyOpts) (T, error)

func TakeOwnership

func TakeOwnership(options *ApplyOptions)

func TakeOwnershipAfterConflict

func TakeOwnershipAfterConflict(options *ApplyOptions)

Types

type ApplyOptions

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

type ApplyOpts

type ApplyOpts func(*ApplyOptions)

func WithReason

func WithReason(reason string) ApplyOpts

Jump to

Keyboard shortcuts

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