migrator

package
v0.0.0-...-7f7f88d Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

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
}

func NewMigrator

func NewMigrator(bType backend.TLSBackendType) (Migrator, error)

func (*Migrator) Migrate

func (m *Migrator) Migrate() error

func (*Migrator) SetBackendDirectory

func (m *Migrator) SetBackendDirectory(d *string)

func (*Migrator) SetBackendProvider

func (m *Migrator) SetBackendProvider(p string)

func (*Migrator) SetCertFiles

func (m *Migrator) SetCertFiles(key, cert string)

func (*Migrator) SetExclusion

func (m *Migrator) SetExclusion(list string)

func (*Migrator) SetK8sCluster

func (m *Migrator) SetK8sCluster(c *string)

func (*Migrator) SetK8sNamespace

func (m *Migrator) SetK8sNamespace(n *string)

func (*Migrator) SetProjectID

func (m *Migrator) SetProjectID(pID *string)

func (*Migrator) SetSourceDir

func (m *Migrator) SetSourceDir(inDir *string)

type Runner

type Runner struct {
	// contains filtered or unexported fields
}

func NewRunner

func NewRunner(migrator Migrator) (*Runner, error)

func (Runner) Run

func (m Runner) Run() error

type TLSData

type TLSData struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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