MCPcopy Create free account
hub / github.com/apache/mesos / apply

Method apply

src/common/resources.cpp:1849–1852  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1847
1848
1849Try<Resources> Resources::apply(const ResourceConversion& conversion) const
1850{
1851 return conversion.apply(*this);
1852}
1853
1854
1855Try<Resources> Resources::apply(const Offer::Operation& operation) const

Callers

nothing calls this directly

Calls 14

getResourceConversionsFunction · 0.85
errorMethod · 0.65
ErrorFunction · 0.50
cpusFunction · 0.50
stringifyFunction · 0.50
isErrorMethod · 0.45
getMethod · 0.45
cpusMethod · 0.45
gpusMethod · 0.45
memMethod · 0.45
diskMethod · 0.45
portsMethod · 0.45

Tested by

no test coverage detected