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
apply_vagrant_workaround
Function which detects if the script is being executed inside vagrant and if it is, it deletes "os.link" attribute. Note: Without this wo
contrib/runners/python_runner/dist_utils.py:110
↓ 1 callers
Function
apply_vagrant_workaround
Function which detects if the script is being executed inside vagrant and if it is, it deletes "os.link" attribute. Note: Without this wo
contrib/runners/http_runner/dist_utils.py:110
↓ 1 callers
Function
apply_vagrant_workaround
Function which detects if the script is being executed inside vagrant and if it is, it deletes "os.link" attribute. Note: Without this wo
contrib/runners/winrm_runner/dist_utils.py:110
↓ 1 callers
Function
apply_vagrant_workaround
Function which detects if the script is being executed inside vagrant and if it is, it deletes "os.link" attribute. Note: Without this wo
contrib/runners/inquirer_runner/dist_utils.py:110
↓ 1 callers
Function
apply_vagrant_workaround
Function which detects if the script is being executed inside vagrant and if it is, it deletes "os.link" attribute. Note: Without this wo
contrib/runners/local_runner/dist_utils.py:110
↓ 1 callers
Function
apply_vagrant_workaround
Function which detects if the script is being executed inside vagrant and if it is, it deletes "os.link" attribute. Note: Without this wo
contrib/runners/remote_runner/dist_utils.py:110
↓ 1 callers
Function
apply_vagrant_workaround
Function which detects if the script is being executed inside vagrant and if it is, it deletes "os.link" attribute. Note: Without this wo
contrib/runners/announcement_runner/dist_utils.py:110
↓ 1 callers
Function
apply_vagrant_workaround
Function which detects if the script is being executed inside vagrant and if it is, it deletes "os.link" attribute. Note: Without this wo
contrib/runners/noop_runner/dist_utils.py:110
↓ 1 callers
Function
apply_vagrant_workaround
Function which detects if the script is being executed inside vagrant and if it is, it deletes "os.link" attribute. Note: Without this wo
contrib/runners/action_chain_runner/dist_utils.py:110
↓ 1 callers
Function
apply_vagrant_workaround
Function which detects if the script is being executed inside vagrant and if it is, it deletes "os.link" attribute. Note: Without this wo
st2reactor/dist_utils.py:110
↓ 1 callers
Function
apply_vagrant_workaround
Function which detects if the script is being executed inside vagrant and if it is, it deletes "os.link" attribute. Note: Without this wo
st2client/dist_utils.py:110
↓ 1 callers
Function
apply_vagrant_workaround
Function which detects if the script is being executed inside vagrant and if it is, it deletes "os.link" attribute. Note: Without this wo
st2actions/dist_utils.py:110
↓ 1 callers
Function
apply_vagrant_workaround
Function which detects if the script is being executed inside vagrant and if it is, it deletes "os.link" attribute. Note: Without this wo
st2auth/dist_utils.py:110
↓ 1 callers
Function
apply_vagrant_workaround
Function which detects if the script is being executed inside vagrant and if it is, it deletes "os.link" attribute. Note: Without this wo
st2api/dist_utils.py:110
↓ 1 callers
Function
apply_vagrant_workaround
Function which detects if the script is being executed inside vagrant and if it is, it deletes "os.link" attribute. Note: Without this wo
st2stream/dist_utils.py:110
↓ 1 callers
Method
assertCommonSt2EnvVarsAvailableInEnv
Method which asserts that the common ST2 environment variables are present in the provided environment.
st2tests/st2tests/base.py:145
↓ 1 callers
Method
assertPromptPassword
(self, prompt_mock, value, msg=None)
st2client/tests/unit/test_interactive.py:46
↓ 1 callers
Method
assert_workflow_completed
(self, wf_ex_id, status=None)
st2tests/st2tests/base.py:793
↓ 1 callers
Function
assign_default_values
Assign default values on the provided instance based on the schema default specification.
st2common/st2common/util/schema/__init__.py:203
↓ 1 callers
Method
authenticate
(self, username, password)
st2auth/st2auth/backends/base.py:35
↓ 1 callers
Method
byName
(self, name)
contrib/linux/actions/checks/check_processes.py:89
↓ 1 callers
Method
byPid
(self, pid)
contrib/linux/actions/checks/check_processes.py:84
↓ 1 callers
Method
byState
(self, state)
contrib/linux/actions/checks/check_processes.py:79
↓ 1 callers
Function
cast_argument_value
(value_type, value)
st2common/st2common/models/api/base.py:173
↓ 1 callers
Method
check_dependency_list_for_conflict
(self, name, version, dependency_list)
contrib/packs/actions/pack_mgmt/get_pack_dependencies.py:101
↓ 1 callers
Function
check_pack_content_directory_exists
Check if a provided pack exists in one of the pack paths. :param pack: Pack name. :type pack: ``str`` :param content_type: Content
st2common/st2common/content/utils.py:113
↓ 1 callers
Function
cleanup_extra_indexes
Finds any extra indexes and removes those from mongodb.
st2common/st2common/models/db/__init__.py:349
↓ 1 callers
Method
cleanup_git_worktree
Remove / cleanup the provided git worktree directory. :rtype: ``bool``
st2common/st2common/runners/base.py:391
↓ 1 callers
Function
cleanup_repo
(abs_local_path)
st2common/st2common/util/pack_management.py:399
↓ 1 callers
Function
clone_repo
(temp_dir, repo_url, verify_ssl=True, ref="master")
st2common/st2common/util/pack_management.py:199
↓ 1 callers
Method
condition
(spec)
st2client/st2client/utils/interactive.py:224
↓ 1 callers
Function
configured
Return True if the coordination service is properly configured. :rtype: ``bool``
st2common/st2common/services/coordination.py:176
↓ 1 callers
Function
construct_mongo_shell_query
( mongo_query, collection_name, ordering, limit, only_fields=None )
st2common/st2common/models/utils/profiling.py:103
↓ 1 callers
Function
copy_locked_versions_into_legacy_requirements_files
()
scripts/lockfiles_to_reqs.py:138
↓ 1 callers
Method
create_git_worktree
Create a git worktree for the provided git content version. :return: Path to the created git worktree directory. :rtype: ``s
st2common/st2common/runners/base.py:317
↓ 1 callers
Method
create_group
(cls, group_id)
st2common/st2common/services/coordination.py:112
↓ 1 callers
Function
create_or_update_trigger_type_db
Create or update a trigger type db object in the db given trigger_type definition as dict. :param trigger_type: Trigger type model. :typ
st2common/st2common/services/triggers.py:431
↓ 1 callers
Function
create_request
Create an action execution. :param action_db: Action model to operate one. If not provided, one is retrieved from the
st2common/st2common/services/action.py:59
↓ 1 callers
Method
create_rule_enforcers
Creates a RuleEnforcer matching to each rule. This method is trigger_instance specific therefore if creation of 1 RuleEnforcer
st2reactor/st2reactor/rules/engine.py:82
↓ 1 callers
Function
create_shadow_trigger
Create a shadow trigger for TriggerType with no parameters. :param log_not_unique_error_as_debug: True to lot NotUnique errors under debug i
st2common/st2common/services/triggers.py:399
↓ 1 callers
Function
create_trigger_type_db
Creates a trigger type db object in the db given trigger_type definition as dict. :param trigger_type: Trigger type model. :type trigger
st2common/st2common/services/triggers.py:366
↓ 1 callers
Function
create_trigger_types
(trigger_types, metadata_file=None)
st2common/st2common/models/utils/sensor_type_utils.py:73
↓ 1 callers
Function
create_virtualenv
:param include_pip: Include pip binary and package in the newely created virtual environment. :type include_pip: ``bool`` :param include
st2common/st2common/util/virtualenvs.py:170
↓ 1 callers
Function
db_cleanup_with_retry
This method is a retry version of db_cleanup.
st2common/st2common/persistence/cleanup.py:41
↓ 1 callers
Function
db_setup_with_retry
This method is a retry version of db_setup.
st2common/st2common/persistence/db_init.py:61
↓ 1 callers
Function
db_teardown
()
st2common/st2common/models/db/__init__.py:407
↓ 1 callers
Function
decorate_log_method
(func)
st2common/st2common/log.py:148
↓ 1 callers
Function
decorate_logger_methods
Decorate all the logger methods so all the keys in the extra dictionary are automatically prefixed with an underscore to avoid clashes with s
st2common/st2common/log.py:171
↓ 1 callers
Method
delete_by_id
(self, instance_id, **kwargs)
st2client/st2client/models/core.py:439
↓ 1 callers
Method
delete_by_query
(cls, *args, **query)
st2common/st2common/persistence/workflow.py:56
↓ 1 callers
Method
delete_by_query
(cls, *args, **query)
st2common/st2common/persistence/execution.py:44
↓ 1 callers
Method
delete_by_query
(cls, *args, **query)
st2common/st2common/persistence/trigger.py:96
↓ 1 callers
Method
delete_dir
Delete a dir on remote box. :param path: Path to remote dir to be deleted. :type path: ``str`` :param force: Option
st2common/st2common/runners/paramiko_ssh.py:349
↓ 1 callers
Method
delete_file
Delete a file on remote box. :param path: Path to remote file to be deleted. :type path: ``str`` :return: True if t
st2common/st2common/runners/paramiko_ssh.py:331
↓ 1 callers
Method
delete_group
(cls, group_id)
st2common/st2common/services/coordination.py:142
↓ 1 callers
Method
delete_if_unreferenced
(cls, model_object, publish=True, dispatch_trigger=True)
st2common/st2common/persistence/trigger.py:56
↓ 1 callers
Method
delete_models_from_db
Deletes models specified in models_dict from the database. models_dict should be of the form: { 'actions': [ACTI
st2tests/st2tests/fixturesloader.py:379
↓ 1 callers
Method
delete_value
(self, name, local=True, scope=SYSTEM_SCOPE)
st2reactor/st2reactor/container/sensor_wrapper.py:161
↓ 1 callers
Method
discard
(self, key)
st2client/st2client/utils/types.py:46
↓ 1 callers
Method
dispatch
Method which dispatches the trigger. :param trigger: Reference to the TriggerTypeDB (<pack>.<name>) or TriggerDB object. :ty
st2common/st2common/services/trigger_dispatcher.py:38
↓ 1 callers
Method
dispatch_value_change_trigger
(cls, old_model_object, new_model_object)
st2common/st2common/persistence/keyvalue.py:86
↓ 1 callers
Method
dispatch_with_context
Method which dispatches the trigger. :param trigger: Reference to the TriggerTypeDB (<pack>.<name>) or TriggerDB object. :ty
st2common/st2common/services/trigger_dispatcher.py:69
↓ 1 callers
Method
distinct
(cls, *args, **kwargs)
st2common/st2common/persistence/base.py:117
↓ 1 callers
Function
do_makefile_updates
(path, reqs_updates)
scripts/lockfiles_to_reqs.py:130
↓ 1 callers
Function
do_register_cli_opts
(opts, ignore_errors=False)
tools/diff-db-disk.py:67
↓ 1 callers
Function
do_register_cli_opts
(opts, ignore_errors=False)
tools/st2-analyze-links.py:54
↓ 1 callers
Function
do_register_cli_opts
(opts, ignore_errors=False)
tools/list_group_members.py:56
↓ 1 callers
Function
do_register_cli_opts
(opts, ignore_errors=False)
tools/st2-inject-trigger-instances.py:43
↓ 1 callers
Method
do_work
(self)
st2common/tests/unit/test_plugin_loader.py:40
↓ 1 callers
Function
drop_obsolete_types_indexes
Special class for droping offending "types" indexes for which support has been removed in mongoengine and MongoDB 3.4. For more info, see
st2common/st2common/models/db/__init__.py:376
↓ 1 callers
Method
emit
(self, event, body)
st2common/st2common/stream/listener.py:83
↓ 1 callers
Function
enable_debugging
()
st2common/st2common/util/debugging.py:33
↓ 1 callers
Method
enforce_rules
(self, enforcers)
st2reactor/st2reactor/rules/engine.py:99
↓ 1 callers
Function
eval_action_execution_delay
(task_ex_req, ac_ex_req, itemized=False)
st2common/st2common/services/workflows.py:685
↓ 1 callers
Function
extend_with_additional_check
(validator_class)
st2common/st2common/router.py:107
↓ 1 callers
Function
extend_with_default
(validator_class)
st2common/st2common/router.py:85
↓ 1 callers
Function
extend_with_nullable
(validator_class)
st2common/st2common/router.py:120
↓ 1 callers
Function
fail_workflow_execution
(wf_ex_id, exception, task=None)
st2common/st2common/services/workflows.py:1381
↓ 1 callers
Method
fail_workflow_execution
(self, message, exception)
st2actions/st2actions/workflows/workflows.py:159
↓ 1 callers
Function
fetch_requirements
Return a list of requirements and links by parsing the provided requirements file.
st2tests/dist_utils.py:56
↓ 1 callers
Function
fetch_requirements
Return a list of requirements and links by parsing the provided requirements file.
contrib/runners/orquesta_runner/dist_utils.py:56
↓ 1 callers
Function
fetch_requirements
Return a list of requirements and links by parsing the provided requirements file.
contrib/runners/python_runner/dist_utils.py:56
↓ 1 callers
Function
fetch_requirements
Return a list of requirements and links by parsing the provided requirements file.
contrib/runners/http_runner/dist_utils.py:56
↓ 1 callers
Function
fetch_requirements
Return a list of requirements and links by parsing the provided requirements file.
contrib/runners/winrm_runner/dist_utils.py:56
↓ 1 callers
Function
fetch_requirements
Return a list of requirements and links by parsing the provided requirements file.
contrib/runners/inquirer_runner/dist_utils.py:56
↓ 1 callers
Function
fetch_requirements
Return a list of requirements and links by parsing the provided requirements file.
contrib/runners/local_runner/dist_utils.py:56
↓ 1 callers
Function
fetch_requirements
Return a list of requirements and links by parsing the provided requirements file.
contrib/runners/remote_runner/dist_utils.py:56
↓ 1 callers
Function
fetch_requirements
Return a list of requirements and links by parsing the provided requirements file.
contrib/runners/announcement_runner/dist_utils.py:56
↓ 1 callers
Function
fetch_requirements
Return a list of requirements and links by parsing the provided requirements file.
contrib/runners/noop_runner/dist_utils.py:56
↓ 1 callers
Function
fetch_requirements
Return a list of requirements and links by parsing the provided requirements file.
contrib/runners/action_chain_runner/dist_utils.py:56
↓ 1 callers
Function
fetch_requirements
Return a list of requirements and links by parsing the provided requirements file.
st2reactor/dist_utils.py:56
↓ 1 callers
Function
fetch_requirements
Return a list of requirements and links by parsing the provided requirements file.
st2client/dist_utils.py:56
↓ 1 callers
Function
fetch_requirements
Return a list of requirements and links by parsing the provided requirements file.
st2actions/dist_utils.py:56
↓ 1 callers
Function
fetch_requirements
Return a list of requirements and links by parsing the provided requirements file.
st2auth/dist_utils.py:56
↓ 1 callers
Function
fetch_requirements
Return a list of requirements and links by parsing the provided requirements file.
st2api/dist_utils.py:56
↓ 1 callers
Function
fetch_requirements
Return a list of requirements and links by parsing the provided requirements file.
st2stream/dist_utils.py:56
↓ 1 callers
Function
filter_none_values
Filter out string "None" values from the provided dict. :rtype: ``dict``
contrib/packs/actions/pack_mgmt/register.py:38
↓ 1 callers
Method
finish_stage
(self, status, name)
st2client/st2client/utils/terminal.py:108
↓ 1 callers
Function
fixate_legacy_requirements_files
()
scripts/lockfiles_to_reqs.py:196
↓ 1 callers
Method
format
(gen)
st2stream/st2stream/controllers/v1/executions.py:113
← previous
next →
1,601–1,700 of 6,742, ranked by callers