migrator

package
v1.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 4, 2026 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package migrator contains binary to migrate resources between versions

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 is the struct representing the migrator.

func NewMigrator

func NewMigrator(logger logr.Logger) (*Migrator, error)

NewMigrator creates a new migrator.

func (*Migrator) BuildScheme

func (m *Migrator) BuildScheme() *runtime.Scheme

BuildScheme creates and returns the scheme for k8s client.

func (*Migrator) Migrate

func (m *Migrator) Migrate(ctx context.Context) (info string, rerr error)

Migrate function that performs CRs migration.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL