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

Method Init

engine/resources/value.go:103–107  ·  view source on GitHub ↗

Init runs some startup code for this resource.

(init *engine.Init)

Source from the content-addressed store, hash-verified

101
102// Init runs some startup code for this resource.
103func (obj *ValueRes) Init(init *engine.Init) error {
104 obj.init = init // save for later
105
106 return nil
107}
108
109// Cleanup is run by the engine to clean up after the resource is done.
110func (obj *ValueRes) Cleanup() error {

Callers 1

Calls

no outgoing calls

Tested by 1