MCPcopy Create free account
hub / github.com/devfile/devworkspace-operator / Exists

Method Exists

apis/controller/v1alpha1/attributes.go:37–40  ·  view source on GitHub ↗

Exists returns `true` if the attribute with the given key exists in the attributes map.

(key string)

Source from the content-addressed store, hash-verified

35// Exists returns `true` if the attribute with the given key
36// exists in the attributes map.
37func (attributes Attributes) Exists(key string) bool {
38 _, exists := attributes[key]
39 return exists
40}
41
42type convertPrimitiveFunc func(attributes Attributes, key string, attributeType string) (interface{}, error)
43

Callers 15

dwPVCHandlerMethod · 0.80
findMergeTargetFunction · 0.80
mergeContributionsIntoFunction · 0.80
GetStarterProjectFunction · 0.80
NeedsPodOverridesFunction · 0.80
getPodOverridesFunction · 0.80
NeedsContainerOverrideFunction · 0.80
collectWorkspaceEnvFunction · 0.80
getSourceForComponentFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected