package conversion
import "sigs.k8s.io/controller-runtime/pkg/conversion"
Package conversion provides interface definitions that an API Type needs to implement for it to be supported by the generic conversion webhook handler defined under pkg/webhook/conversion.
Index ¶
Types ¶
type Convertible ¶
Convertible defines capability of a type to convertible i.e. it can be converted to/from a hub type.
type Hub ¶
Hub marks that a given type is the hub type for conversion. This means that all conversions will first convert to the hub type, then convert from the hub type to the destination type. All types besides the hub type should implement Convertible.
Source Files ¶
conversion.go
- Version
- v0.21.0 (latest)
- Published
- May 20, 2025
- Platform
- linux/amd64
- Imports
- 1 packages
- Last checked
- 26 minutes ago –
Tools for package owners.