Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Migrator ¶
type Migrator struct {
// contains filtered or unexported fields
}
Migrator can copy CRD instances from one API group to another.
func NewMigrator ¶
NewMigrator constructs and returns a *Migrator from the provided options.
func (*Migrator) MigrateAllResources ¶
func (m *Migrator) MigrateAllResources()
MigrateAllResources copies all instances of all resources within the old group/version to the new, applying any relevant mappings.
type Options ¶
type Options struct { LogLevel string Kubeconfig string Context string OldGroupVersion string NewGroupVersion string QPS float32 Burst int NamespaceMappings []string LabelMappings []string AnnotationMappings []string UpdateOwnerRefMappings []string }
Options is the set of configurable parameters for a Migrator.
Click to show internal directories.
Click to hide internal directories.