deploy

package
v0.1.37 Latest Latest
Warning

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

Go to latest
Published: May 18, 2022 License: MPL-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AwsCredsNotSetErr   = status.Error(codes.InvalidArgument, "aws credentials are required but not set")
	AzureCredsNotSetErr = status.Error(codes.InvalidArgument, "azure credentials are required but not set")
)

Functions

func GetState

func GetState(ctx context.Context, userId string, readonly bool) (*output.TfState, error)

func GetTerraformBlock added in v0.1.18

func GetTerraformBlock(userId string) (string, error)

func MaybeInit added in v0.1.14

func MaybeInit(ctx context.Context, userId string, readonly bool) error

func RefreshState added in v0.1.16

func RefreshState(ctx context.Context, userId string, readonly bool) error

Types

type EncodedResources added in v0.1.18

type EncodedResources struct {
	HclString string
	// contains filtered or unexported fields
}

func Encode added in v0.1.16

func EncodeAndStoreTfFile added in v0.1.17

func EncodeAndStoreTfFile(ctx context.Context, c *resources.MultyConfig, prev resources.Resource, curr resources.Resource, readonly bool) (EncodedResources, error)

Jump to

Keyboard shortcuts

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