MCPcopy
hub / github.com/purpleidea/mgmt / AutoEdge

Interface AutoEdge

engine/autoedge.go:79–82  ·  view source on GitHub ↗

The AutoEdge interface is used to implement the autoedges feature.

Source from the content-addressed store, hash-verified

77
78// The AutoEdge interface is used to implement the autoedges feature.
79type AutoEdge interface {
80 Next() []ResUID // call to get list of edges to add
81 Test([]bool) bool // call until false
82}
83
84// ResUID is a unique identifier for a resource, namely it's name, and the kind
85// ("type").

Callers 6

parseNetworkMethod · 0.65
ginLoggerMethod · 0.65
AutoEdgeFunction · 0.65
NextMethod · 0.65
AutoEdgeFunction · 0.65
TestMethod · 0.65

Implementers 8

FileResAutoEdgesengine/resources/file.go
ExecResAutoEdgesengine/resources/exec.go
SvcResAutoEdgesengine/resources/svc.go
SvcResAutoEdgesCronengine/resources/svc.go
DockerContainerResAutoEdgesengine/resources/docker_container.go
PkgResAutoEdgesengine/resources/pkg.go
UserResAutoEdgesengine/resources/user.go
autoEdgeCombinerengine/util/util.go

Calls

no outgoing calls

Tested by

no test coverage detected