Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/saltstack/salt
/ partition
Method
partition
salt/cli/batch.py:125–126 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
123
""
"
124
125
def
partition(x):
126
return
float(x) / 100.0 * len(self.minions)
127
128
try
:
129
if
isinstance(self.opts[
"batch"
], str) and
"%"
in self.opts[
"batch"
]:
Callers
15
_register_resources
Method · 0.45
_resource_term_matches
Method · 0.45
_resource_matches_compound
Method · 0.45
_resolve_resource_targets
Method · 0.45
blkid
Function · 0.45
__virtual__
Function · 0.45
_apply_cd_drive
Function · 0.45
_get_type_id_options
Function · 0.45
services_need_restart
Function · 0.45
examine
Function · 0.45
_udev
Function · 0.45
_extract_version
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected