resourcestrategy

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2026 License: AGPL-3.0, Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllowCreateOnUpdater

type AllowCreateOnUpdater interface {
	AllowCreateOnUpdate() bool
}

AllowCreateOnUpdater controls whether a resource can be created via PUT.

type AllowUnconditionalUpdater

type AllowUnconditionalUpdater interface {
	AllowUnconditionalUpdate() bool
}

AllowUnconditionalUpdater controls whether unconditional updates are allowed.

type Canonicalizer

type Canonicalizer interface {
	Canonicalize()
}

Canonicalizer is invoked before an object is stored to canonicalize its format.

type Defaulter

type Defaulter interface {
	Default()
}

Defaulter is invoked when deserializing an object to set default values.

type PrepareForCreater

type PrepareForCreater interface {
	PrepareForCreate(ctx context.Context)
}

PrepareForCreater is invoked before an object is stored during creation.

type PrepareForUpdater

type PrepareForUpdater interface {
	PrepareForUpdate(ctx context.Context, old runtime.Object)
}

PrepareForUpdater is invoked before an object is stored during update.

type TableConverter

type TableConverter interface {
	ConvertToTable(ctx context.Context, tableOptions runtime.Object) (*metav1.Table, error)
}

TableConverter converts a resource to table format for kubectl output.

type ValidateUpdater

type ValidateUpdater interface {
	ValidateUpdate(ctx context.Context, obj runtime.Object) field.ErrorList
}

ValidateUpdater is invoked before an object is stored to validate it during update.

type Validater

type Validater interface {
	Validate(ctx context.Context) field.ErrorList
}

Validater is invoked before an object is stored to validate it during creation.

Jump to

Keyboard shortcuts

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