Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Helper ¶
type Helper struct {
// contains filtered or unexported fields
}
Helper is a utility for ensuring the proper patching of objects.
type HelperOptions ¶ added in v0.3.7
type HelperOptions struct {
// IncludeStatusObservedGeneration sets the status.observedGeneration field
// on the incoming object to match metadata.generation, only if there is a change.
IncludeStatusObservedGeneration bool
}
HelperOptions contains options for patch options.
type Option ¶ added in v0.3.7
type Option interface {
// ApplyToHelper applies this configuration to the given Helper options.
ApplyToHelper(*HelperOptions)
}
Option is some configuration that modifies options for a patch request.
type WithStatusObservedGeneration ¶ added in v0.3.7
type WithStatusObservedGeneration struct{}
WithStatusObservedGeneration sets the status.observedGeneration field on the incoming object to match metadata.generation, only if there is a change.
func (WithStatusObservedGeneration) ApplyToHelper ¶ added in v0.3.7
func (w WithStatusObservedGeneration) ApplyToHelper(in *HelperOptions)
ApplyToHelper applies this configuration to the given an List options.
Click to show internal directories.
Click to hide internal directories.