Documentation ¶
Index ¶
- Constants
- func CreateOrUpdateCustomResourceDefinition(ctx context.Context, c cs.Interface, name string, ...) (*api.CustomResourceDefinition, kutil.VerbType, error)
- func TryUpdateCustomResourceDefinition(ctx context.Context, c cs.Interface, name string, ...) (result *api.CustomResourceDefinition, err error)
- func UpdateCustomResourceDefinitionIfPresent(ctx context.Context, c cs.Interface, name string, ...) (*api.CustomResourceDefinition, kutil.VerbType, error)
Constants ¶
View Source
const (
RetryTimeout = 10 * time.Minute
)
Variables ¶
This section is empty.
Functions ¶
func CreateOrUpdateCustomResourceDefinition ¶
func CreateOrUpdateCustomResourceDefinition( ctx context.Context, c cs.Interface, name string, transform func(in *api.CustomResourceDefinition) *api.CustomResourceDefinition, opts metav1.UpdateOptions, ) (*api.CustomResourceDefinition, kutil.VerbType, error)
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.
Click to show internal directories.
Click to hide internal directories.