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

Interface API

tools/tools.go:38–41  ·  view source on GitHub ↗

API is the simple interface we expect for any tools items.

Source from the content-addressed store, hash-verified

36
37// API is the simple interface we expect for any tools items.
38type API interface {
39 // Main runs everything for this tools item.
40 Main(context.Context) error
41}
42
43// Config is a struct of all the configuration values which are shared by all of
44// the tools utilities. By including this as a separate struct, it can be used

Callers

nothing calls this directly

Implementers 6

Growtools/grow.go
Firstbootsetup/firstboot.go
Svcsetup/svc.go
Pkgsetup/pkg.go
Generatedocs/generate.go
Startfirstboot/start.go

Calls

no outgoing calls

Tested by

no test coverage detected