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

Method shrinkVolume

src/master/authorization.cpp:311–318  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

309
310
311ActionObject ActionObject::shrinkVolume(
312 const Offer::Operation::ShrinkVolume& shrink)
313{
314 return fromResourceWithLegacyValue(
315 authorization::RESIZE_VOLUME,
316 shrink.volume(),
317 getReservationRole(shrink.volume()));
318}
319
320
321Try<ActionObject> ActionObject::createDisk(

Callers

nothing calls this directly

Calls 1

getReservationRoleFunction · 0.85

Tested by

no test coverage detected