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

Method apply

src/v1/resources.cpp:1830–1833  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1828
1829
1830Try<Resources> Resources::apply(const ResourceConversion& conversion) const
1831{
1832 return conversion.apply(*this);
1833}
1834
1835
1836Try<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