add interface checks

pull/37734/head
Daniel Schmidt 4 months ago
parent 7721cd5c50
commit e0748b30c4

@ -617,8 +617,6 @@ func (acs *ActionInvocationInstanceSrc) Less(other *ActionInvocationInstanceSrc)
return acs.ActionTrigger.Less(other.ActionTrigger)
}
// TODO: Do we still need this?
// FilterLaterActionInvocations returns the list of action invocations that
// should be triggered after this one. This function assumes the supplied list
// of action invocations has already been filtered to invocations against the

@ -48,7 +48,9 @@ func (at *lifecycleActionTrigger) Name() string {
}
var (
_ GraphNodeReferencer = (*nodeAbstractActionTriggerExpand)(nil)
_ GraphNodeReferencer = (*nodeAbstractActionTriggerExpand)(nil)
_ GraphNodeProviderConsumer = (*nodeAbstractActionTriggerExpand)(nil)
_ GraphNodeModulePath = (*nodeAbstractActionTriggerExpand)(nil)
)
func (n *nodeAbstractActionTriggerExpand) Name() string {

@ -23,6 +23,8 @@ type nodeActionTriggerApplyExpand struct {
var (
_ GraphNodeDynamicExpandable = (*nodeActionTriggerApplyExpand)(nil)
_ GraphNodeReferencer = (*nodeActionTriggerApplyExpand)(nil)
_ GraphNodeProviderConsumer = (*nodeActionTriggerApplyExpand)(nil)
_ GraphNodeModulePath = (*nodeActionTriggerApplyExpand)(nil)
)
func (n *nodeActionTriggerApplyExpand) Name() string {

@ -26,8 +26,10 @@ type nodeActionTriggerApplyInstance struct {
}
var (
_ GraphNodeExecutable = (*nodeActionTriggerApplyInstance)(nil)
_ GraphNodeReferencer = (*nodeActionTriggerApplyInstance)(nil)
_ GraphNodeExecutable = (*nodeActionTriggerApplyInstance)(nil)
_ GraphNodeReferencer = (*nodeActionTriggerApplyInstance)(nil)
_ GraphNodeProviderConsumer = (*nodeActionTriggerApplyInstance)(nil)
_ GraphNodeModulePath = (*nodeActionTriggerApplyInstance)(nil)
)
func (n *nodeActionTriggerApplyInstance) Name() string {

@ -20,6 +20,11 @@ import (
"github.com/hashicorp/terraform/internal/tfdiags"
)
var (
_ GraphNodeExecutable = (*nodeActionTriggerPlanInstance)(nil)
_ GraphNodeModulePath = (*nodeActionTriggerPlanInstance)(nil)
)
type nodeActionTriggerPlanInstance struct {
actionAddress addrs.AbsActionInstance
resolvedProvider addrs.AbsProviderConfig

@ -20,6 +20,8 @@ type nodeActionTriggerPlanExpand struct {
var (
_ GraphNodeDynamicExpandable = (*nodeActionTriggerPlanExpand)(nil)
_ GraphNodeReferencer = (*nodeActionTriggerPlanExpand)(nil)
_ GraphNodeProviderConsumer = (*nodeActionTriggerPlanExpand)(nil)
_ GraphNodeModulePath = (*nodeActionTriggerPlanExpand)(nil)
)
func (n *nodeActionTriggerPlanExpand) Name() string {

Loading…
Cancel
Save