Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TranslateResources ¶
func TranslateResources(decodedResources *DecodedResources, ctx resources.MultyContext) (map[resources.Resource][]output.TfBlock, []validate.ValidationError, error)
Types ¶
type DecodedOutput ¶ added in v0.1.15
type DecodedResources ¶ added in v0.1.15
type DecodedResources struct { Resources resources.Resources Outputs map[string]DecodedOutput Providers map[commonpb.CloudProvider]map[string]*types.Provider }
type EncodedResources ¶ added in v0.1.18
type EncodedResources struct { HclString string ValidationErrs []validate.ValidationError DeployedResources map[resources.Resource][]string }
func Encode ¶
func Encode(decodedResources *DecodedResources, credentials *credspb.CloudCredentials) (EncodedResources, error)
type WithProvider ¶
type WithProvider struct { Resource output.TfBlock `hcl:",squash"` ProviderAlias string `hcl:"provider" hcle:"omitempty"` }
func (WithProvider) AddDependency ¶
func (w WithProvider) AddDependency(s string)
func (WithProvider) GetBlockType ¶
func (w WithProvider) GetBlockType() string
func (WithProvider) GetFullResourceRef ¶
func (w WithProvider) GetFullResourceRef() string
Click to show internal directories.
Click to hide internal directories.