capture

package
v0.0.0-...-ec42db3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	WorkflowID            = workflow.NewWorkflowIdentifier("iac.capture")
	ReadFromStdinFlag     = "stdin"
	TargetDirectoryConfig = "targetDirectory"
)

Functions

func CaptureState

func CaptureState(tfState *terraform.State, cloudApiClient *cloudapi.Client) error

func CaptureStateFromPath

func CaptureStateFromPath(statePath string, cloudApiClient *cloudapi.Client) error

func CaptureStateFromStdin

func CaptureStateFromStdin(cloudApiClient *cloudapi.Client, logger *log.Logger) ([]string, error)

func CaptureStatesFromPath

func CaptureStatesFromPath(statePath string, cloudApiClient *cloudapi.Client, logger Logger) ([]string, error)

func CaptureWorkflow

func CaptureWorkflow(
	ictx workflow.InvocationContext,
	_ []workflow.Data,
) (data []workflow.Data, err error)

func Init

func Init(e workflow.Engine) error

Types

type Logger

type Logger interface {
	Printf(format string, v ...interface{})
	Println(v ...interface{})
}

Jump to

Keyboard shortcuts

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