v1

package
v0.30.8 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RetryTimeout = 10 * time.Minute
)

Variables

This section is empty.

Functions

func TryUpdateCustomResourceDefinition

func TryUpdateCustomResourceDefinition(
	ctx context.Context,
	c cs.Interface,
	name string,
	transform func(*api.CustomResourceDefinition) *api.CustomResourceDefinition,
	opts metav1.UpdateOptions,
) (result *api.CustomResourceDefinition, err error)

func UpdateCustomResourceDefinitionIfPresent added in v0.30.1

func UpdateCustomResourceDefinitionIfPresent(
	ctx context.Context,
	c cs.Interface,
	name string,
	transform func(in *api.CustomResourceDefinition) *api.CustomResourceDefinition,
	opts metav1.UpdateOptions,
) (*api.CustomResourceDefinition, kutil.VerbType, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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