MCPcopy
hub / github.com/hashicorp/packer / NamedVertex

Interface NamedVertex

internal/dag/graph.go:37–40  ·  view source on GitHub ↗

NamedVertex is an optional interface that can be implemented by Vertex to give it a human-friendly name that is used for outputting the graph.

Source from the content-addressed store, hash-verified

35// NamedVertex is an optional interface that can be implemented by Vertex
36// to give it a human-friendly name that is used for outputting the graph.
37type NamedVertex interface {
38 Vertex
39 Name() string
40}
41
42func (g *Graph) DirectedGraph() Grapher {
43 return g

Implementers 7

PipeCheckerpacker_test/common/check/pipe_checker.
CustomCheckpacker_test/common/check/gadgets.go
hashVertexinternal/dag/graph_test.go
LocalBlockhcl2template/types.variables.go
DatasourceBlockhcl2template/types.datasource.go
Pluginhcl2template/addrs/plugin.go
CoreBuildpacker/build.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…