MCPcopy
hub / github.com/zarf-dev/zarf / Add

Method Add

src/pkg/state/state.go:76–78  ·  view source on GitHub ↗

Add inserts k into the set.

(k ServiceKey)

Source from the content-addressed store, hash-verified

74
75// Add inserts k into the set.
76func (s ServiceSet) Add(k ServiceKey) {
77 s[k] = struct{}{}
78}
79
80// ParseServiceKey returns the ServiceKey matching s, or an error if s is not recognized.
81func ParseServiceKey(s string) (ServiceKey, error) {

Callers 15

internalServicesForFunction · 0.95
createFileSBOMFunction · 0.80
CmdWithContextFunction · 0.80
ForResourceFunction · 0.80
ForResourceDefaultReadyFunction · 0.80
GeneratePKIFunction · 0.80
GeneratePKIWithOptionsFunction · 0.80
GenerateCAFunction · 0.80
GenerateServerCertFunction · 0.80
GenerateClientCertFunction · 0.80

Calls

no outgoing calls

Tested by 6

makeCertFunction · 0.64
TestComponentStatusFunction · 0.64
TestRepositoryFunction · 0.64