migrate

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: May 22, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Backend           configwrite.RemoteBackendConfig
	WorkspaceVariable string
	TfvarsFilename    string
	ModulesDir        string

	Client *tfe.Client
}

type Migration

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

func New

func New(path string, config Config) (*Migration, error)

func (*Migration) Changes

func (m *Migration) Changes() (configwrite.Changes, error)

func (*Migration) MultipleWorkspaces

func (m *Migration) MultipleWorkspaces() bool

type RemoteBackendConfig

type RemoteBackendConfig = configwrite.RemoteBackendConfig

type WorkspaceConfig

type WorkspaceConfig = configwrite.WorkspaceConfig

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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