package
4.1.0+incompatible
Repository: https://github.com/openshift/origin.git
Documentation: pkg.go.dev

# Packages

# Functions

DefaultRetriable adds retry information to the provided error, and will refresh the info if the client info is stale.
FindAllCanonicalResources returns all resources that: 1.

# Constants

# Variables

ErrRecalculate may be returned by MigrateActionFunc to indicate that the object has changed and needs to have its information recalculated prior to being saved.
ErrUnchanged may be returned by MigrateActionFunc to indicate that the object did not need migration (but that could only be determined when the action was taken).

# Structs

ErrNotRetriable is a wrapper for an error that a migrator may use to indicate the specific error cannot be retried.
ErrRetriable is a wrapper for an error that a migrator may use to indicate the specific error can be retried.
ResourceOptions assists in performing migrations on any object that can be retrieved via the API.

# Interfaces

Builder allows for mocking of resource.Builder.
Reporter indicates whether a resource requires migration.
TemporaryError is a wrapper interface that is used to determine if an error can be retried.

# Type aliases

MigrateActionFunc is expected to persist the altered info.Object.
MigrateError is an exported alias to error to allow external packages to use ErrRetriable and ErrNotRetriable.
MigrateFilterFunc can return false to skip an item, or an error.
MigrateVisitFunc is invoked for each returned object, and may return a Reporter that can contain info to be used by save.
ReporterBool implements the Reporter interface for a boolean.