deploy

package
v0.1.30 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	AwsProviderVersion    = "4.8.0"
	AzureProviderVersion  = "3.0.2"
	RandomProviderVersion = "3.1.3"
	LocalProviderVersion  = "2.2.2"
	StateRegion           = "eu-west-2"
)

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 Deploy

func GetResources added in v0.1.16

func GetResources(c *configpb.Config) (resources.Resources, error)

func GetState

func GetState(ctx context.Context, userId string) (*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 *configpb.Config, prev *configpb.Resource, curr *configpb.Resource, readonly bool) (EncodedResources, error)

type WithCommonParams

type WithCommonParams interface {
	GetCommonParameters() *commonpb.ResourceCommonArgs
}

Jump to

Keyboard shortcuts

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