2023-09-27 20:00:36 -04:00
|
|
|
// Copyright IBM Corp. 2014, 2026
|
|
|
|
|
// SPDX-License-Identifier: BUSL-1.1
|
|
|
|
|
|
2023-09-22 18:16:37 -04:00
|
|
|
package hooks
|
|
|
|
|
|
|
|
|
|
import "github.com/hashicorp/terraform/internal/stacks/stackaddrs"
|
|
|
|
|
|
|
|
|
|
// ComponentInstances is the argument type for the ComponentExpanded hook
|
|
|
|
|
// callback, which signals the result of expanding a component into zero or
|
|
|
|
|
// more instances.
|
|
|
|
|
type ComponentInstances struct {
|
|
|
|
|
ComponentAddr stackaddrs.AbsComponent
|
|
|
|
|
InstanceAddrs []stackaddrs.AbsComponentInstance
|
|
|
|
|
}
|
2025-04-03 04:29:18 -04:00
|
|
|
|
|
|
|
|
// RemovedComponentInstances is the argument type for the RemovedComponentExpanded hook callback.
|
|
|
|
|
type RemovedComponentInstances struct {
|
|
|
|
|
Source stackaddrs.StackInstance
|
|
|
|
|
InstanceAddrs []stackaddrs.AbsComponentInstance
|
|
|
|
|
}
|