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

Method MetaDataUpdated

test/v200/utils/common/metadata_test_utils.go:45–50  ·  view source on GitHub ↗

MetaDataUpdated notifies a registered follower that the metadata has been updated

(metadata *header.DevfileMetadata)

Source from the content-addressed store, hash-verified

43
44// MetaDataUpdated notifies a registered follower that the metadata has been updated
45func (devfile *TestDevfile) MetaDataUpdated(metadata *header.DevfileMetadata) {
46 LogInfoMessage("metadata updated")
47 if devfile.Follower != nil {
48 devfile.Follower.UpdateMetaData(*metadata)
49 }
50}
51
52// setProperty randomly sets the string properties of the metadata object.
53func setProperty(propertyName string, property *string) {

Callers 1

setMetaDataValuesMethod · 0.95

Calls 2

LogInfoMessageFunction · 0.85
UpdateMetaDataMethod · 0.80

Tested by

no test coverage detected