terraformer

package
v1.5.14 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Import

func Import(terraformerPath, destinationPath string) (string, error)

Import imports the terraformer resources into the destination using terraformer

Types

type CloudProvider

type CloudProvider interface {
	Import(ctx context.Context, options *importer.ImportOptions, destination string) error
}

CloudProvider is an interface that defines the methods that a cloud provider must implement

type Path

type Path struct {
	CloudProvider string
	Region        []string
	Resource      []string
	Projects      []string
}

Path is a struct that contains the terraformer path information

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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