7 // NodeOutputOrphan represents an output that is an orphan.
8 type NodeOutputOrphan struct {
13 func (n *NodeOutputOrphan) Name() string {
14 result := fmt.Sprintf("output.%s (orphan)", n.OutputName)
15 if len(n.PathValue) > 1 {
16 result = fmt.Sprintf("%s.%s", modulePrefixStr(n.PathValue), result)
23 func (n *NodeOutputOrphan) Path() []string {
28 func (n *NodeOutputOrphan) EvalTree() EvalNode {
30 Ops: []walkOperation{walkRefresh, walkApply, walkDestroy},
31 Node: &EvalDeleteOutput{