Documentation ¶
Index ¶
- Constants
- Variables
- func Deploy(ctx context.Context, c *configpb.Config, prev *configpb.Resource, ...) (*output.TfState, error)
- func GetResources(c *configpb.Config, prev *configpb.Resource) (*encoder.DecodedResources, error)
- func GetState(ctx context.Context, userId string) (*output.TfState, error)
- func GetTerraformBlock(userId string) string
- func MaybeInit(ctx context.Context, userId string) error
- func RefreshState(ctx context.Context, userId string) error
- type EncodedResources
- type WithCommonParams
Constants ¶
View Source
const ( AwsProviderVersion = "4.8.0" AzureProviderVersion = "3.0.2" StateRegion = "eu-west-2" Bucket = "multy-users-tfstate" )
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 GetResources ¶ added in v0.1.16
func GetTerraformBlock ¶ added in v0.1.18
Types ¶
type EncodedResources ¶ added in v0.1.18
type EncodedResources struct { HclString string // contains filtered or unexported fields }
type WithCommonParams ¶
type WithCommonParams interface {
GetCommonParameters() *commonpb.ResourceCommonArgs
}
Click to show internal directories.
Click to hide internal directories.