github.com/muratcelep/terraform@v1.1.0-beta2-not-internal-4/not-internal/terraform/graph_interface_subgraph.go (about)

     1  package terraform
     2  
     3  import (
     4  	"github.com/muratcelep/terraform/not-internal/addrs"
     5  )
     6  
     7  // GraphNodeModuleInstance says that a node is part of a graph with a
     8  // different path, and the context should be adjusted accordingly.
     9  type GraphNodeModuleInstance interface {
    10  	Path() addrs.ModuleInstance
    11  }
    12  
    13  // GraphNodeModulePath is implemented by all referenceable nodes, to indicate
    14  // their configuration path in unexpanded modules.
    15  type GraphNodeModulePath interface {
    16  	ModulePath() addrs.Module
    17  }