migration

package module
v0.0.0-...-a26b91f Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	Kubeconfig *rest.Config
}

Context includes common data that migration commands may utilize.

type Printer

type Printer interface {
	Success(msg ...interface{})
	Fail(msg ...interface{})
	UpdateText(text string)
}

Printer is an interface for printing through a spinner.

type Spinner

type Spinner interface {
	Start(text ...interface{}) (Printer, error)
}

Spinner is an interface for creating Printers.

var DefaultSpinner Spinner = noopSpinner{}

DefaultSpinner is the default spinner used by all the other subpackages, by default it's just a no-op.

Directories

Path Synopsis
meta

Jump to

Keyboard shortcuts

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