MCPcopy Create free account

hub / github.com/StackStorm/st2 / functions

Functions6,742 in github.com/StackStorm/st2

↓ 1 callersFunctionon_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 callersFunctionpackagecloud_get_next_release
( request: PackageCloudNextReleaseRequest, )
pants-plugins/release/packagecloud_rules.py:92
↓ 1 callersFunctionparse
(value)
st2client/st2client/utils/date.py:30
↓ 1 callersFunctionparse
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 callersFunctionparse_args
()
scripts/fixate-requirements.py:77
↓ 1 callersFunctionparse_args
()
scripts/fixate_requirements.py:77
↓ 1 callersFunctionparse_args
(args=None, ignore_errors=False)
st2common/st2common/config.py:921
↓ 1 callersFunctionparse_uid
Parse UID string. :return: (ResourceType, uid_remainder) :rtype: ``tuple``
st2common/st2common/util/uid.py:26
↓ 1 callersMethodpex_request
(self)
pants-plugins/sample_conf/subsystem.py:37
↓ 1 callersMethodpex_request
(self)
pants-plugins/schemas/subsystem.py:39
↓ 1 callersFunctionpkcs5_pad
Pad data using PKCS5
st2common/st2common/util/crypto.py:419
↓ 1 callersFunctionpkcs5_unpad
Unpad data padded using PKCS5.
st2common/st2common/util/crypto.py:428
↓ 1 callersFunctionplan_makefile_update
(old_reqs, name, version, reqs_updates)
scripts/lockfiles_to_reqs.py:121
↓ 1 callersMethodpoll
(self)
st2reactor/tests/resources/test_sensor.py:44
↓ 1 callersMethodpost
Create a new action. Handles requests: POST /actions/
st2api/st2api/controllers/v1/actions.py:111
↓ 1 callersMethodpost_generic_webhook
(self, trigger, payload=None, trace_tag=None, **kwargs)
st2client/st2client/models/core.py:712
↓ 1 callersMethodpost_raw
(self, url, data, **kwargs)
st2client/st2client/utils/httpclient.py:136
↓ 1 callersMethodpre_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 callersFunctionprefix_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 callersFunctionprint_load_avg
(args)
st2tests/testpacks/checks/actions/checks/check_loadavg.py:23
↓ 1 callersFunctionprint_random_chars
(chars=1000, selection=ascii_letters + string.digits)
st2tests/st2tests/fixtures/localrunner_pack/actions/text_gen.py:31
↓ 1 callersMethodprocess
(self, body, message)
st2common/st2common/transport/consumers.py:60
↓ 1 callersFunctionprocess_attribute_value
Format and process the extra attribute value.
st2common/st2common/logging/formatters.py:73
↓ 1 callersFunctionprocess_successful_authn_response
(referer, token)
st2auth/st2auth/controllers/v1/sso.py:111
↓ 1 callersFunctionprocess_successful_response
(token)
st2auth/st2auth/controllers/v1/auth.py:89
↓ 1 callersMethodpublish
(self, payload, routing_key)
st2common/st2common/transport/announcement.py:36
↓ 1 callersFunctionpublish_request
Publish an action execution. :return: (liveaction, execution) :rtype: tuple
st2common/st2common/services/action.py:186
↓ 1 callersMethodpublish_state
(cls, model_object)
st2common/tests/unit/test_state_publisher.py:62
↓ 1 callersMethodpublish_state
(self, payload, state)
st2common/st2common/transport/publishers.py:144
↓ 1 callersMethodpublish_trigger
(self, payload=None, routing_key=None)
st2common/st2common/transport/reactor.py:67
↓ 1 callersFunctionpurge_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 callersFunctionpurge_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 callersFunctionpurge_orphaned_workflow_executions
Purge workflow executions that are idled and identified as orphans.
st2common/st2common/garbage_collection/executions.py:214
↓ 1 callersMethodpush_action_execution
(cls, instance, action_execution)
st2common/st2common/persistence/trace.py:44
↓ 1 callersMethodpush_rule
(cls, instance, rule)
st2common/st2common/persistence/trace.py:48
↓ 1 callersMethodpush_trigger_instance
(cls, instance, trigger_instance)
st2common/st2common/persistence/trace.py:52
↓ 1 callersMethodput
(self, rule, rule_ref_or_id, requester_user)
st2api/st2api/controllers/v1/rules.py:184
↓ 1 callersFunctionpython_classifiers
(*versions: str)
pants-plugins/release/rules.py:94
↓ 1 callersFunctionquote_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 callersMethodre_emit
(self, trigger_instance_id, **kwargs)
st2client/st2client/models/core.py:624
↓ 1 callersMethodread
(self)
st2client/st2client/utils/interactive.py:332
↓ 1 callersMethodread_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 callersFunctionregister
(linter)
pylint_plugins/db_models.py:30
↓ 1 callersFunctionregister_common_cli_options
Register common CLI options.
st2common/st2common/script_setup.py:40
↓ 1 callersFunctionregister_common_signal_handlers
()
st2common/st2common/signal_handlers.py:33
↓ 1 callersFunctionregister_exchanges
()
st2common/st2common/transport/bootstrap_utils.py:143
↓ 1 callersMethodregister_from_pack
Register config for a provided pack.
st2common/st2common/bootstrap/configsregistrar.py:104
↓ 1 callersMethodregister_from_pack
Register all the triggers from the provided pack. :return: Number of triggers registered. :rtype: ``int``
st2common/st2common/bootstrap/triggersregistrar.py:74
↓ 1 callersMethodregister_from_pack
Register all the sensors from the provided pack. :return: Number of sensors registered. :rtype: ``int``
st2common/st2common/bootstrap/sensorsregistrar.py:82
↓ 1 callersMethodregister_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 callersMethodregister_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 callersMethodregister_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 callersMethodregister_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 callersMethodregister_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 callersFunctionregister_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 callersFunctionregister_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 callersFunctionregister_opts
(ignore_errors=False)
st2reactor/st2reactor/rules/config.py:36
↓ 1 callersFunctionregister_opts
(ignore_errors=False)
st2reactor/st2reactor/sensor/config.py:37
↓ 1 callersFunctionregister_opts
(ignore_errors=False)
st2reactor/st2reactor/timer/config.py:36
↓ 1 callersFunctionregister_opts
(ignore_errors=False)
st2reactor/st2reactor/garbage_collector/config.py:38
↓ 1 callersFunctionregister_opts
(ignore_errors=False)
st2actions/st2actions/config.py:39
↓ 1 callersFunctionregister_opts
(ignore_errors=False)
st2actions/st2actions/scheduler/config.py:38
↓ 1 callersFunctionregister_opts
(ignore_errors=False)
st2actions/st2actions/workflows/config.py:34
↓ 1 callersFunctionregister_opts
(ignore_errors=False)
st2actions/st2actions/notifier/config.py:34
↓ 1 callersFunctionregister_opts
()
st2common/st2common/content/bootstrap.py:53
↓ 1 callersFunctionregister_policies
( packs_base_paths=None, pack_dir=None, use_pack_cache=True, fail_on_failure=False )
st2common/st2common/bootstrap/policiesregistrar.py:217
↓ 1 callersFunctionregister_runner
(runner_type, experimental)
st2common/st2common/bootstrap/runnersregistrar.py:57
↓ 1 callersFunctionregister_sensors
( packs_base_paths=None, pack_dir=None, use_pack_cache=True, fail_on_failure=False )
st2common/st2common/bootstrap/sensorsregistrar.py:208
↓ 1 callersFunctionregister_stream_signal_handlers
(handler_func)
st2stream/st2stream/signal_handlers.py:21
↓ 1 callersMethodremove_hook
(self, hook, trigger)
st2api/st2api/controllers/v1/webhooks.py:60
↓ 1 callersMethodremove_trigger
(self, trigger)
st2api/st2api/controllers/v1/timers.py:128
↓ 1 callersMethodremove_trigger
(self, trigger)
st2api/st2api/controllers/v1/webhooks.py:219
↓ 1 callersFunctionremove_virtualenv
Remove the provided virtualenv.
st2common/st2common/util/virtualenvs.py:249
↓ 1 callersFunctionrender_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 callersFunctionrender_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 callersFunctionrender_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 callersFunctionreopen_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 callersFunctionrequest_action_execution
(wf_ex_db, task_ex_db, st2_ctx, ac_ex_req, delay=None)
st2common/st2common/services/workflows.py:716
↓ 1 callersFunctionrequest_next_tasks
(wf_ex_db, task_ex_id=None)
st2common/st2common/services/workflows.py:1074
↓ 1 callersFunctionrequest_task_execution
(wf_ex_db, st2_ctx, task_ex_req)
st2common/st2common/services/workflows.py:570
↓ 1 callersMethodrerun_workflow
(self, ac_ex_ref, options=None)
contrib/runners/orquesta_runner/orquesta_runner/orquesta_runner.py:149
↓ 1 callersFunctionreset
()
st2tests/st2tests/config.py:38
↓ 1 callersMethodresource_model_filter
( self, model, instance, requester_user=None, **from_model_kwargs )
st2api/st2api/controllers/resource.py:599
↓ 1 callersMethodrestore_vars
(self, ctx_vars)
contrib/runners/action_chain_runner/action_chain_runner/action_chain_runner.py:87
↓ 1 callersFunctionresume_workflow_execution
(wf_ex_id, task_ex_id)
st2common/st2common/services/workflows.py:1356
↓ 1 callersMethodrun
(self)
contrib/runners/python_runner/python_runner/python_action_wrapper.py:214
↓ 1 callersMethodrun
(self, action_parameters)
contrib/runners/http_runner/http_runner/http_runner.py:105
↓ 1 callersMethodrun
(self, action_parameters)
contrib/runners/remote_runner/remote_runner/remote_command_runner.py:33
↓ 1 callersMethodrun
(self, action_parameters)
contrib/runners/noop_runner/noop_runner/noop_runner.py:43
↓ 1 callersMethodrun
(self, ctx=None, *args, **kwargs)
contrib/debug/actions/print_ctx.py:24
↓ 1 callersMethodrun
(self, *args, **kwargs)
contrib/debug/actions/python_version.py:26
↓ 1 callersMethodrun
(self, value=0)
contrib/examples/actions/pythonactions/isprime.py:24
↓ 1 callersMethodrun
(self, foo, criteria)
contrib/linux/actions/checks/check_processes.py:94
↓ 1 callersMethodrun
(self)
st2reactor/st2reactor/container/sensor_wrapper.py:269
↓ 1 callersMethodrun
(self)
st2reactor/st2reactor/garbage_collector/base.py:93
↓ 1 callersMethodrun
(self, args, **kwargs)
st2client/st2client/commands/workflow.py:80
↓ 1 callersMethodrun
(self, args, **kwargs)
st2client/st2client/commands/rule_enforcement.py:159
↓ 1 callersMethodrun
(self, args, **kwargs)
st2client/st2client/commands/resource.py:376
↓ 1 callersMethodrun
(self, args, **kwargs)
st2client/st2client/commands/resource.py:473
↓ 1 callersMethodrun
(self, args, **kwargs)
st2client/st2client/commands/resource.py:529
← previousnext →1,901–2,000 of 6,742, ranked by callers