MCPcopy Index your code
hub / github.com/devfile/api / commandUpdated

Method commandUpdated

test/v200/utils/common/command_test_utils.go:38–43  ·  view source on GitHub ↗

commandUpdated notifies the follower of the command which has been updated

(command schema.Command)

Source from the content-addressed store, hash-verified

36
37// commandUpdated notifies the follower of the command which has been updated
38func (testDevFile *TestDevfile) commandUpdated(command schema.Command) {
39 LogInfoMessage(fmt.Sprintf("command updated Id: %s", command.Id))
40 if testDevFile.Follower != nil {
41 testDevFile.Follower.UpdateCommand(command)
42 }
43}
44
45// addEnv creates and returns a specifed number of env attributes in a schema structure
46func addEnv(numEnv int) []schema.EnvVar {

Callers 4

SetExecCommandValuesMethod · 0.95
SetApplyCommandValuesMethod · 0.95

Calls 2

LogInfoMessageFunction · 0.85
UpdateCommandMethod · 0.80

Tested by

no test coverage detected