diff

package
v0.0.0-...-78bb3b5 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FieldDiff

type FieldDiff struct {
	Old *schema.Schema
	New *schema.Schema
}

type ResourceConfigDiff

type ResourceConfigDiff struct {
	Old *schema.Resource
	New *schema.Resource
}

type ResourceDiff

type ResourceDiff struct {
	ResourceConfig ResourceConfigDiff
	Fields         map[string]FieldDiff
}

type SchemaDiff

type SchemaDiff map[string]ResourceDiff

SchemaDiff is a nested map with resource names as top-level keys.

func ComputeSchemaDiff

func ComputeSchemaDiff(oldResourceMap, newResourceMap map[string]*schema.Resource) SchemaDiff

Jump to

Keyboard shortcuts

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