Documentation
¶
Index ¶
Constants ¶
View Source
const UnknownManager = "UNKNOWN"
UnknownManager is used as a placeholder when the new or old manager is unknown.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Handler ¶
type Handler interface {
AddConflictError(core.ID, status.ManagementConflictError)
RemoveConflictError(core.ID)
ClearConflictErrorsWithKind(gk schema.GroupKind)
// ConflictErrors returns the management conflict errors (KNV1060) the remediator encounters.
ConflictErrors() []status.ManagementConflictError
// HasConflictErrors returns true when there are conflict errors
HasConflictErrors() bool
// HasConflictError returns true when there is a conflict for the specified object ID.
HasConflictError(core.ID) bool
}
Handler is the generic interface of the conflict handler.
Click to show internal directories.
Click to hide internal directories.