Documentation ¶
Overview ¶
Package crosstestsimpl (cross-tests implementation) contains code meant to be shared across cross-test implementations (SDKv2, PF) but not used by people writing tests themselves.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InferPulumiValue ¶
func InferPulumiValue(t T, schema shim.SchemaMap, infos map[string]*info.Schema, v cty.Value) resource.PropertyMap
InferPulumiValue generates a Pulumi value that is semantically equivalent to v.
InferPulumiValue takes into account schema information.
func VerifyBasicDiffAgreement ¶
func VerifyBasicDiffAgreement(t T, tfActions []string, us auto.UpdateSummary, diffResponse PulumiDiffResp)
Types ¶
type DiffResult ¶
type DiffResult struct { TFDiff tfcheck.TFChange PulumiDiff PulumiDiffResp // TFOut is the stdout of the terraform plan command TFOut string // PulumiOut is the stdout of the pulumi preview command PulumiOut string }
type PulumiDiffResp ¶
type PulumiDiffResp struct { DetailedDiff map[string]interface{} `json:"detailedDiff"` DeleteBeforeReplace bool `json:"deleteBeforeReplace"` }
func GetPulumiDiffResponse ¶
func GetPulumiDiffResponse(t T, entries []grpclog.GrpcLogEntry) PulumiDiffResp
Click to show internal directories.
Click to hide internal directories.