Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/StackStorm/st2
/ functions
Functions
6,742 in github.com/StackStorm/st2
⨍
Functions
6,742
◇
Types & classes
1,394
↳
Endpoints
674
↓ 1 callers
Function
on_parent_exit
Return a function to be run in a child process which will trigger SIGNAME to be sent when the parent process dies. Based on https://gist
st2common/st2common/util/shell.py:169
↓ 1 callers
Function
packagecloud_get_next_release
( request: PackageCloudNextReleaseRequest, )
pants-plugins/release/packagecloud_rules.py:92
↓ 1 callers
Function
parse
(value)
st2client/st2client/utils/date.py:30
↓ 1 callers
Function
parse
Parse date in the ISO8601 format and return a time-zone aware datetime object. :param value: Date in ISO8601 format. :type value: ``str`
st2common/st2common/util/isotime.py:71
↓ 1 callers
Function
parse_args
()
scripts/fixate-requirements.py:77
↓ 1 callers
Function
parse_args
()
scripts/fixate_requirements.py:77
↓ 1 callers
Function
parse_args
(args=None, ignore_errors=False)
st2common/st2common/config.py:921
↓ 1 callers
Function
parse_uid
Parse UID string. :return: (ResourceType, uid_remainder) :rtype: ``tuple``
st2common/st2common/util/uid.py:26
↓ 1 callers
Method
pex_request
(self)
pants-plugins/sample_conf/subsystem.py:37
↓ 1 callers
Method
pex_request
(self)
pants-plugins/schemas/subsystem.py:39
↓ 1 callers
Function
pkcs5_pad
Pad data using PKCS5
st2common/st2common/util/crypto.py:419
↓ 1 callers
Function
pkcs5_unpad
Unpad data padded using PKCS5.
st2common/st2common/util/crypto.py:428
↓ 1 callers
Function
plan_makefile_update
(old_reqs, name, version, reqs_updates)
scripts/lockfiles_to_reqs.py:121
↓ 1 callers
Method
poll
(self)
st2reactor/tests/resources/test_sensor.py:44
↓ 1 callers
Method
post
Create a new action. Handles requests: POST /actions/
st2api/st2api/controllers/v1/actions.py:111
↓ 1 callers
Method
post_generic_webhook
(self, trigger, payload=None, trace_tag=None, **kwargs)
st2client/st2client/models/core.py:712
↓ 1 callers
Method
post_raw
(self, url, data, **kwargs)
st2client/st2client/utils/httpclient.py:136
↓ 1 callers
Method
pre_ack_process
Called before acknowleding a message. Good place to track the message via a DB entry or some other applicable mechnism. The
st2common/st2common/transport/consumers.py:232
↓ 1 callers
Function
prefix_dict_keys
Prefix dictionary keys with a provided prefix. :param dictionary: Dictionary whose keys to prefix. :type dictionary: ``dict`` :para
st2common/st2common/util/misc.py:39
↓ 1 callers
Function
print_load_avg
(args)
st2tests/testpacks/checks/actions/checks/check_loadavg.py:23
↓ 1 callers
Function
print_random_chars
(chars=1000, selection=ascii_letters + string.digits)
st2tests/st2tests/fixtures/localrunner_pack/actions/text_gen.py:31
↓ 1 callers
Method
process
(self, body, message)
st2common/st2common/transport/consumers.py:60
↓ 1 callers
Function
process_attribute_value
Format and process the extra attribute value.
st2common/st2common/logging/formatters.py:73
↓ 1 callers
Function
process_successful_authn_response
(referer, token)
st2auth/st2auth/controllers/v1/sso.py:111
↓ 1 callers
Function
process_successful_response
(token)
st2auth/st2auth/controllers/v1/auth.py:89
↓ 1 callers
Method
publish
(self, payload, routing_key)
st2common/st2common/transport/announcement.py:36
↓ 1 callers
Function
publish_request
Publish an action execution. :return: (liveaction, execution) :rtype: tuple
st2common/st2common/services/action.py:186
↓ 1 callers
Method
publish_state
(cls, model_object)
st2common/tests/unit/test_state_publisher.py:62
↓ 1 callers
Method
publish_state
(self, payload, state)
st2common/st2common/transport/publishers.py:144
↓ 1 callers
Method
publish_trigger
(self, payload=None, routing_key=None)
st2common/st2common/transport/reactor.py:67
↓ 1 callers
Function
purge_execution_output_objects
Purge action executions output objects. :param timestamp: Objects older than this timestamp will be deleted. :type timestamp: ``datetime
st2common/st2common/garbage_collection/executions.py:173
↓ 1 callers
Function
purge_inquiries
Purge Inquiries that have exceeded their configured TTL At the moment, Inquiries do not have their own database model, so this function effective
st2common/st2common/garbage_collection/inquiries.py:34
↓ 1 callers
Function
purge_orphaned_workflow_executions
Purge workflow executions that are idled and identified as orphans.
st2common/st2common/garbage_collection/executions.py:214
↓ 1 callers
Method
push_action_execution
(cls, instance, action_execution)
st2common/st2common/persistence/trace.py:44
↓ 1 callers
Method
push_rule
(cls, instance, rule)
st2common/st2common/persistence/trace.py:48
↓ 1 callers
Method
push_trigger_instance
(cls, instance, trigger_instance)
st2common/st2common/persistence/trace.py:52
↓ 1 callers
Method
put
(self, rule, rule_ref_or_id, requester_user)
st2api/st2api/controllers/v1/rules.py:184
↓ 1 callers
Function
python_classifiers
(*versions: str)
pants-plugins/release/rules.py:94
↓ 1 callers
Function
quote_windows
Return a quoted (shell-escaped) version of the value which can be used as one token in a Windows command line. Note (from stdlib): note
st2common/st2common/util/shell.py:152
↓ 1 callers
Method
re_emit
(self, trigger_instance_id, **kwargs)
st2client/st2client/models/core.py:624
↓ 1 callers
Method
read
(self)
st2client/st2client/utils/interactive.py:332
↓ 1 callers
Method
read_file
Read file content and return content as string / unicode. NOTE: It's only mean to be used to read non-binary files since API
st2client/st2client/commands/action.py:810
↓ 1 callers
Function
register
(linter)
pylint_plugins/db_models.py:30
↓ 1 callers
Function
register_common_cli_options
Register common CLI options.
st2common/st2common/script_setup.py:40
↓ 1 callers
Function
register_common_signal_handlers
()
st2common/st2common/signal_handlers.py:33
↓ 1 callers
Function
register_exchanges
()
st2common/st2common/transport/bootstrap_utils.py:143
↓ 1 callers
Method
register_from_pack
Register config for a provided pack.
st2common/st2common/bootstrap/configsregistrar.py:104
↓ 1 callers
Method
register_from_pack
Register all the triggers from the provided pack. :return: Number of triggers registered. :rtype: ``int``
st2common/st2common/bootstrap/triggersregistrar.py:74
↓ 1 callers
Method
register_from_pack
Register all the sensors from the provided pack. :return: Number of sensors registered. :rtype: ``int``
st2common/st2common/bootstrap/sensorsregistrar.py:82
↓ 1 callers
Method
register_from_pack
Register all the aliases from the provided pack. :return: Tuple, Number of aliases registered, overridden :rtype: ``tuple``
st2common/st2common/bootstrap/aliasesregistrar.py:79
↓ 1 callers
Method
register_from_packs
Discover all the packs in the provided directory and register triggers from all of the discovered packs. :return: Number of
st2common/st2common/bootstrap/triggersregistrar.py:35
↓ 1 callers
Method
register_from_packs
Discover all the packs in the provided directory and register actions from all of the discovered packs. :return: Number of a
st2common/st2common/bootstrap/actionsregistrar.py:41
↓ 1 callers
Method
register_from_packs
Discover all the packs in the provided directory and register policies from all of the discovered packs. :return: Number of
st2common/st2common/bootstrap/policiesregistrar.py:42
↓ 1 callers
Method
register_from_packs
Discover all the packs in the provided directory and register aliases from all of the discovered packs. :return: Tuple, Numb
st2common/st2common/bootstrap/aliasesregistrar.py:38
↓ 1 callers
Function
register_internal_trigger_types
Register internal trigger types. NOTE 1: This method blocks until all the trigger types have been registered. NOTE 2: We log "NotUnique
st2common/st2common/triggers.py:87
↓ 1 callers
Function
register_kombu_serializers
Register our custom pickle serializer which knows how to handle UTF-8 (non ascii) messages. Default kombu pickle de-serializer calls .en
st2common/st2common/transport/bootstrap_utils.py:183
↓ 1 callers
Function
register_opts
(ignore_errors=False)
st2reactor/st2reactor/rules/config.py:36
↓ 1 callers
Function
register_opts
(ignore_errors=False)
st2reactor/st2reactor/sensor/config.py:37
↓ 1 callers
Function
register_opts
(ignore_errors=False)
st2reactor/st2reactor/timer/config.py:36
↓ 1 callers
Function
register_opts
(ignore_errors=False)
st2reactor/st2reactor/garbage_collector/config.py:38
↓ 1 callers
Function
register_opts
(ignore_errors=False)
st2actions/st2actions/config.py:39
↓ 1 callers
Function
register_opts
(ignore_errors=False)
st2actions/st2actions/scheduler/config.py:38
↓ 1 callers
Function
register_opts
(ignore_errors=False)
st2actions/st2actions/workflows/config.py:34
↓ 1 callers
Function
register_opts
(ignore_errors=False)
st2actions/st2actions/notifier/config.py:34
↓ 1 callers
Function
register_opts
()
st2common/st2common/content/bootstrap.py:53
↓ 1 callers
Function
register_policies
( packs_base_paths=None, pack_dir=None, use_pack_cache=True, fail_on_failure=False )
st2common/st2common/bootstrap/policiesregistrar.py:217
↓ 1 callers
Function
register_runner
(runner_type, experimental)
st2common/st2common/bootstrap/runnersregistrar.py:57
↓ 1 callers
Function
register_sensors
( packs_base_paths=None, pack_dir=None, use_pack_cache=True, fail_on_failure=False )
st2common/st2common/bootstrap/sensorsregistrar.py:208
↓ 1 callers
Function
register_stream_signal_handlers
(handler_func)
st2stream/st2stream/signal_handlers.py:21
↓ 1 callers
Method
remove_hook
(self, hook, trigger)
st2api/st2api/controllers/v1/webhooks.py:60
↓ 1 callers
Method
remove_trigger
(self, trigger)
st2api/st2api/controllers/v1/timers.py:128
↓ 1 callers
Method
remove_trigger
(self, trigger)
st2api/st2api/controllers/v1/webhooks.py:219
↓ 1 callers
Function
remove_virtualenv
Remove the provided virtualenv.
st2common/st2common/util/virtualenvs.py:249
↓ 1 callers
Function
render_final_params
Renders missing parameters required for action to execute. Treats parameters from the dict as plain values instead of trying to render them a
st2common/st2common/util/param.py:349
↓ 1 callers
Function
render_live_params
Renders list of parameters. Ensures that there's no cyclic or missing dependencies. Returns a dict of plain rendered parameters.
st2common/st2common/util/param.py:305
↓ 1 callers
Function
render_values
Render an incoming mapping using context provided in context using Jinja2. Returns a dict containing rendered mapping. :param mapping: I
st2common/st2common/util/jinja.py:102
↓ 1 callers
Function
reopen_log_files
This method iterates through all of the providers handlers looking for the FileHandler types. A lock is acquired, the underlying stream clos
st2common/st2common/logging/misc.py:48
↓ 1 callers
Function
request_action_execution
(wf_ex_db, task_ex_db, st2_ctx, ac_ex_req, delay=None)
st2common/st2common/services/workflows.py:716
↓ 1 callers
Function
request_next_tasks
(wf_ex_db, task_ex_id=None)
st2common/st2common/services/workflows.py:1074
↓ 1 callers
Function
request_task_execution
(wf_ex_db, st2_ctx, task_ex_req)
st2common/st2common/services/workflows.py:570
↓ 1 callers
Method
rerun_workflow
(self, ac_ex_ref, options=None)
contrib/runners/orquesta_runner/orquesta_runner/orquesta_runner.py:149
↓ 1 callers
Function
reset
()
st2tests/st2tests/config.py:38
↓ 1 callers
Method
resource_model_filter
( self, model, instance, requester_user=None, **from_model_kwargs )
st2api/st2api/controllers/resource.py:599
↓ 1 callers
Method
restore_vars
(self, ctx_vars)
contrib/runners/action_chain_runner/action_chain_runner/action_chain_runner.py:87
↓ 1 callers
Function
resume_workflow_execution
(wf_ex_id, task_ex_id)
st2common/st2common/services/workflows.py:1356
↓ 1 callers
Method
run
(self)
contrib/runners/python_runner/python_runner/python_action_wrapper.py:214
↓ 1 callers
Method
run
(self, action_parameters)
contrib/runners/http_runner/http_runner/http_runner.py:105
↓ 1 callers
Method
run
(self, action_parameters)
contrib/runners/remote_runner/remote_runner/remote_command_runner.py:33
↓ 1 callers
Method
run
(self, action_parameters)
contrib/runners/noop_runner/noop_runner/noop_runner.py:43
↓ 1 callers
Method
run
(self, ctx=None, *args, **kwargs)
contrib/debug/actions/print_ctx.py:24
↓ 1 callers
Method
run
(self, *args, **kwargs)
contrib/debug/actions/python_version.py:26
↓ 1 callers
Method
run
(self, value=0)
contrib/examples/actions/pythonactions/isprime.py:24
↓ 1 callers
Method
run
(self, foo, criteria)
contrib/linux/actions/checks/check_processes.py:94
↓ 1 callers
Method
run
(self)
st2reactor/st2reactor/container/sensor_wrapper.py:269
↓ 1 callers
Method
run
(self)
st2reactor/st2reactor/garbage_collector/base.py:93
↓ 1 callers
Method
run
(self, args, **kwargs)
st2client/st2client/commands/workflow.py:80
↓ 1 callers
Method
run
(self, args, **kwargs)
st2client/st2client/commands/rule_enforcement.py:159
↓ 1 callers
Method
run
(self, args, **kwargs)
st2client/st2client/commands/resource.py:376
↓ 1 callers
Method
run
(self, args, **kwargs)
st2client/st2client/commands/resource.py:473
↓ 1 callers
Method
run
(self, args, **kwargs)
st2client/st2client/commands/resource.py:529
← previous
next →
1,901–2,000 of 6,742, ranked by callers