Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mapping ¶
type Mapping struct { // From is the API looking to be mapped DeprecatedAPI string `json:"deprecatedAPI"` // To is the API to be mapped to NewAPI string `json:"newAPI"` // Kubernetes version API is deprecated in DeprecatedInVersion string `json:"deprecatedInVersion,omitempty"` // Kubernetes version API is removed in RemovedInVersion string `json:"removedInVersion,omitempty"` }
Mapping describes mappings which defines the Kubernetes API deprecations and the new replacement API
type Metadata ¶
type Metadata struct { // Mappings are a list of mappings. Mappings []*Mapping `json:"mappings,omitempty"` }
Metadata for a Mapping file. This models the structure of a Mapping.yaml file.
func LoadMapfile ¶
LoadMapfile loads a Map.yaml file into a *Metadata.
Click to show internal directories.
Click to hide internal directories.