Versions in this module Expand all Collapse all v1 v1.4.0 Mar 10, 2023 Changes in this version + func Block(attributes map[string]computed.Diff, blocks Blocks) computed.DiffRenderer + func EnsureValidAttributeName(name string) string + func List(elements []computed.Diff) computed.DiffRenderer + func Map(elements map[string]computed.Diff) computed.DiffRenderer + func NestedList(elements []computed.Diff) computed.DiffRenderer + func NestedMap(elements map[string]computed.Diff) computed.DiffRenderer + func NestedObject(attributes map[string]computed.Diff) computed.DiffRenderer + func NestedSet(elements []computed.Diff) computed.DiffRenderer + func Object(attributes map[string]computed.Diff) computed.DiffRenderer + func Primitive(before, after interface{}, ctype cty.Type) computed.DiffRenderer + func RendererJsonOpts() jsondiff.JsonOpts + func Sensitive(change computed.Diff, beforeSensitive, afterSensitive bool) computed.DiffRenderer + func SensitiveBlock(diff computed.Diff, beforeSensitive, afterSensitive bool) computed.DiffRenderer + func Set(elements []computed.Diff) computed.DiffRenderer + func TypeChange(before, after computed.Diff) computed.DiffRenderer + func Unknown(before computed.Diff) computed.DiffRenderer + type Blocks struct + AfterSensitiveBlocks map[string]bool + BeforeSensitiveBlocks map[string]bool + ListBlocks map[string][]computed.Diff + MapBlocks map[string]map[string]computed.Diff + ReplaceBlocks map[string]bool + SetBlocks map[string][]computed.Diff + SingleBlocks map[string]computed.Diff + func (blocks *Blocks) AddAllListBlock(key string, diffs []computed.Diff, ...) + func (blocks *Blocks) AddAllMapBlocks(key string, diffs map[string]computed.Diff, ...) + func (blocks *Blocks) AddAllSetBlock(key string, diffs []computed.Diff, ...) + func (blocks *Blocks) AddSingleBlock(key string, diff computed.Diff, replace, beforeSensitive, afterSensitive bool) + func (blocks *Blocks) GetAllKeys() []string + func (blocks *Blocks) IsListBlock(key string) bool + func (blocks *Blocks) IsMapBlock(key string) bool + func (blocks *Blocks) IsSetBlock(key string) bool + func (blocks *Blocks) IsSingleBlock(key string) bool + type NoWarningsRenderer struct + func (render NoWarningsRenderer) WarningsHuman(_ computed.Diff, _ int, _ computed.RenderHumanOpts) []string + type ValidateDiffFunction func(t *testing.T, diff computed.Diff) + func ValidateBlock(attributes map[string]ValidateDiffFunction, ...) ValidateDiffFunction + func ValidateList(elements []ValidateDiffFunction, action plans.Action, replace bool) ValidateDiffFunction + func ValidateMap(elements map[string]ValidateDiffFunction, action plans.Action, replace bool) ValidateDiffFunction + func ValidateNestedList(elements []ValidateDiffFunction, action plans.Action, replace bool) ValidateDiffFunction + func ValidateNestedObject(attributes map[string]ValidateDiffFunction, action plans.Action, replace bool) ValidateDiffFunction + func ValidateObject(attributes map[string]ValidateDiffFunction, action plans.Action, replace bool) ValidateDiffFunction + func ValidatePrimitive(before, after interface{}, action plans.Action, replace bool) ValidateDiffFunction + func ValidateSensitive(inner ValidateDiffFunction, beforeSensitive, afterSensitive bool, ...) ValidateDiffFunction + func ValidateSet(elements []ValidateDiffFunction, action plans.Action, replace bool) ValidateDiffFunction + func ValidateTypeChange(before, after ValidateDiffFunction, action plans.Action, replace bool) ValidateDiffFunction + func ValidateUnknown(before ValidateDiffFunction, action plans.Action, replace bool) ValidateDiffFunction