aztfexportclient

package
v0.14.1 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanTFState

func CleanTFState(addr string) tea.Cmd

func CleanUpWorkspace

func CleanUpWorkspace(ctx context.Context, c meta.Meta) tea.Cmd

func ExportResourceMapping

func ExportResourceMapping(ctx context.Context, c meta.Meta, l meta.ImportList) tea.Cmd

func ExportSkippedResources

func ExportSkippedResources(ctx context.Context, c meta.Meta, l meta.ImportList) tea.Cmd

func FinishImport

func FinishImport(l meta.ImportList) tea.Cmd

func GenerateCfg

func GenerateCfg(ctx context.Context, c meta.Meta, l meta.ImportList) tea.Cmd

func ImportItems

func ImportItems(ctx context.Context, c meta.Meta, items []meta.ImportItem) tea.Cmd

func Init

func Init(ctx context.Context, c meta.Meta) tea.Cmd

func ListResource

func ListResource(ctx context.Context, c meta.Meta) tea.Cmd

func NewClient

func NewClient(meta meta.Meta) tea.Cmd

func PushState

func PushState(ctx context.Context, c meta.Meta, l meta.ImportList) tea.Cmd

func Quit

func Quit(ctx context.Context, c meta.Meta) tea.Cmd

func ShowImportError

func ShowImportError(item meta.ImportItem, idx int, l meta.ImportList) tea.Cmd

func StartImport

func StartImport(l meta.ImportList) tea.Cmd

Types

type CleanTFStateMsg

type CleanTFStateMsg struct {
	Addr string
}

type ErrMsg

type ErrMsg error

type ExportResourceMappingDoneMsg

type ExportResourceMappingDoneMsg struct {
	List meta.ImportList
}

type ExportSkippedResourcesDoneMsg

type ExportSkippedResourcesDoneMsg struct {
	List meta.ImportList
}

type GenerateCfgDoneMsg

type GenerateCfgDoneMsg struct{}

type ImportDoneMsg

type ImportDoneMsg struct {
	List meta.ImportList
}

type ImportItemsDoneMsg

type ImportItemsDoneMsg struct {
	Items []meta.ImportItem
}

type InitProviderDoneMsg

type InitProviderDoneMsg struct{}

type ListResourceDoneMsg

type ListResourceDoneMsg struct {
	List meta.ImportList
}

type NewClientMsg

type NewClientMsg meta.Meta

type PushStateDoneMsg

type PushStateDoneMsg struct {
	List meta.ImportList
}

type QuitMsg

type QuitMsg struct{}

type ShowImportErrorMsg

type ShowImportErrorMsg struct {
	Item  meta.ImportItem
	Index int
	List  meta.ImportList
}

type StartImportMsg

type StartImportMsg struct {
	List meta.ImportList
}

type WorkspaceCleanupDoneMsg

type WorkspaceCleanupDoneMsg struct{}

Jump to

Keyboard shortcuts

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