Differential D15392 Diff 37115 src/applications/drydock/blueprint/DrydockAlmanacServiceHostBlueprintImplementation.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/drydock/blueprint/DrydockAlmanacServiceHostBlueprintImplementation.php
Show All 9 Lines | public function isEnabled() { | ||||
$almanac_app = 'PhabricatorAlmanacApplication'; | $almanac_app = 'PhabricatorAlmanacApplication'; | ||||
return PhabricatorApplication::isClassInstalled($almanac_app); | return PhabricatorApplication::isClassInstalled($almanac_app); | ||||
} | } | ||||
public function getBlueprintName() { | public function getBlueprintName() { | ||||
return pht('Almanac Hosts'); | return pht('Almanac Hosts'); | ||||
} | } | ||||
public function getBlueprintIcon() { | |||||
return 'fa-server'; | |||||
} | |||||
public function getDescription() { | public function getDescription() { | ||||
return pht( | return pht( | ||||
'Allows Drydock to lease existing hosts defined in an Almanac service '. | 'Allows Drydock to lease existing hosts defined in an Almanac service '. | ||||
'pool.'); | 'pool.'); | ||||
} | } | ||||
public function canAnyBlueprintEverAllocateResourceForLease( | public function canAnyBlueprintEverAllocateResourceForLease( | ||||
DrydockLease $lease) { | DrydockLease $lease) { | ||||
▲ Show 20 Lines • Show All 268 Lines • Show Last 20 Lines |