MCPcopy Create free account
hub / github.com/devfile/api / componentUpdated

Method componentUpdated

test/v200/utils/common/component_test_utils.go:36–41  ·  view source on GitHub ↗

componetUpdated updates a component in the parser data

(component schema.Component)

Source from the content-addressed store, hash-verified

34
35// componetUpdated updates a component in the parser data
36func (devfile *TestDevfile) componentUpdated(component schema.Component) {
37 LogInfoMessage(fmt.Sprintf("component updated Name: %s", component.Name))
38 if devfile.Follower != nil {
39 devfile.Follower.UpdateComponent(component)
40 }
41}
42
43// addVolume returns volumeMounts in a schema structure based on a specified number of volumes
44func (devfile *TestDevfile) addVolume(numVols int) []schema.VolumeMount {

Callers 3

SetK8sComponentValuesMethod · 0.95

Calls 2

LogInfoMessageFunction · 0.85
UpdateComponentMethod · 0.80

Tested by

no test coverage detected