MCPcopy Create free account

hub / github.com/StackStorm/st2 / functions

Functions6,742 in github.com/StackStorm/st2

Methodget_sensors
(self)
st2reactor/st2reactor/container/partitioners.py:132
Methodget_service_class
(self)
st2common/st2common/rbac/backends/noop.py:50
Functionget_sso_backend
Return SingleSignOnBackend class instance.
st2auth/st2auth/sso/__init__.py:72
Functionget_status_management_queue
(name, routing_key)
st2common/st2common/transport/workflow.py:43
Functionget_status_management_queue
(name, routing_key)
st2common/st2common/transport/liveaction.py:42
Functionget_str_resource_ref_from_model
Return a resource reference as string given db_model. :param model: DB model that contains name and pack. :type model: ``object`` :
st2common/st2common/util/reference.py:82
Functionget_subprocess_module
()
st2common/st2common/util/concurrency.py:67
Functionget_trace_component_for_action_execution
Returns the trace_component compatible dict representation of an actionexecution. :param action_execution_db: ActionExecution to translate
st2common/st2common/services/trace.py:314
Functionget_trace_component_for_rule
Returns the trace_component compatible dict representation of a rule. :param rule_db: The rule to translate :type rule_db: RuleDB :
st2common/st2common/services/trace.py:349
Functionget_trace_component_for_trigger_instance
Returns the trace_component compatible dict representation of a triggerinstance. :param trigger_instance_db: The TriggerInstance to translat
st2common/st2common/services/trace.py:372
Functionget_trace_db_by_live_action
Given a liveaction does the best attempt to return a TraceDB. 1. From trace_context in liveaction.context 2. From parent in liveaction.co
st2common/st2common/services/trace.py:154
Functionget_trace_db_by_rule
(rule=None, rule_id=None)
st2common/st2common/services/trace.py:96
Functionget_trace_db_by_trigger_instance
(trigger_instance=None, trigger_instance_id=None)
st2common/st2common/services/trace.py:103
Functionget_trigger_cud_queue
(name, routing_key, exclusive=False)
st2common/st2common/transport/reactor.py:114
Functionget_trigger_instances_queue
(name, routing_key)
st2common/st2common/transport/reactor.py:118
Functionget_uid
Inquiry UID hack for RBAC
st2api/st2api/controllers/v1/inquiries.py:254
Methodget_uid
(self)
st2common/st2common/models/api/base.py:154
Methodget_uid
(self)
st2common/st2common/models/db/rule_enforcement.py:89
Methodget_uid
(self)
st2common/st2common/models/db/execution.py:103
Methodget_uid
Return an object UID constructed from the object properties / fields. :rtype: ``str``
st2common/st2common/models/db/stormbase.py:215
Methodget_user
Retrieve information (user account) for a particular user. Note: Not all the auth backends may implement this. :rtype: ``di
st2auth/st2auth/backends/base.py:38
Methodget_user
Retrieve a name of the user which triggered this action execution. :rtype: ``str``
st2common/st2common/runners/base.py:213
Methodget_user_db_from_request
Retrieve UserDB object from the provided request.
st2common/st2common/rbac/backends/base.py:282
Methodget_user_groups
(self, username)
st2tests/st2tests/mocks/auth.py:37
Methodget_user_info
Retrieve information about the current user which is authenticated against StackStorm and used to perform other datastore operations
st2tests/st2tests/mocks/datastore.py:47
Methodget_user_info
(self)
contrib/runners/python_runner/python_runner/python_action_wrapper.py:128
Methodget_user_info
(self)
st2reactor/st2reactor/container/sensor_wrapper.py:103
Methodget_utils_class
(self)
st2common/st2common/rbac/backends/noop.py:53
Functionget_validator
(version="custom")
st2common/st2common/util/schema/__init__.py:441
Methodget_value
Return a particular value stored in a dictionary which is local to this class.
st2tests/st2tests/mocks/datastore.py:82
Methodget_value
Retrieve a value from the datastore for the provided key. By default, value is retrieved from the namespace local to the pack/class.
st2common/st2common/services/datastore.py:97
Functionget_values_for_names
Retrieve values for the provided key names (multi get). If a KeyValuePair objects for a particular name doesn't exist, the dictionary will c
st2common/st2common/services/keyvalues.py:58
Functionget_version_string
Read __version__ string for an init file.
contrib/runners/orquesta_runner/dist_utils.py:121
Functionget_version_string
Read __version__ string for an init file.
contrib/runners/python_runner/dist_utils.py:121
Functionget_version_string
Read __version__ string for an init file.
contrib/runners/http_runner/dist_utils.py:121
Functionget_version_string
Read __version__ string for an init file.
contrib/runners/winrm_runner/dist_utils.py:121
Functionget_version_string
Read __version__ string for an init file.
contrib/runners/inquirer_runner/dist_utils.py:121
Functionget_version_string
Read __version__ string for an init file.
contrib/runners/local_runner/dist_utils.py:121
Functionget_version_string
Read __version__ string for an init file.
contrib/runners/remote_runner/dist_utils.py:121
Functionget_version_string
Read __version__ string for an init file.
contrib/runners/announcement_runner/dist_utils.py:121
Functionget_version_string
Read __version__ string for an init file.
contrib/runners/noop_runner/dist_utils.py:121
Functionget_version_string
Read __version__ string for an init file.
contrib/runners/action_chain_runner/dist_utils.py:121
Functionget_version_string
Read __version__ string for an init file.
st2reactor/dist_utils.py:121
Functionget_version_string
Read __version__ string for an init file.
st2client/dist_utils.py:121
Functionget_version_string
Read __version__ string for an init file.
st2actions/dist_utils.py:121
Functionget_version_string
Read __version__ string for an init file.
st2auth/dist_utils.py:121
Functionget_version_string
Read __version__ string for an init file.
scripts/dist_utils_old.py:95
Functionget_version_string
Read __version__ string for an init file.
scripts/dist_utils.py:125
Functionget_version_string
Read __version__ string for an init file.
st2api/dist_utils.py:121
Functionget_version_string
Read __version__ string for an init file.
st2stream/dist_utils.py:121
Methodget_webhook_trigger
(name, url)
st2api/tests/unit/controllers/v1/test_webhooks.py:331
Functionget_wf_fixture_meta_data
(fixture_pack_path, wf_meta_file_name)
contrib/runners/orquesta_runner/tests/unit/base.py:21
Functionget_worker
()
st2reactor/st2reactor/rules/worker.py:127
Functionget_worker
()
st2actions/st2actions/worker.py:336
Functiongreater_than
(value, criteria_pattern)
st2common/st2common/operators.py:253
Functiongreen_pool_wait_all
Wait for all the green threads in the pool to finish.
st2common/st2common/util/concurrency.py:164
Functionhandle_action_execution_completion
(ac_ex_db)
st2common/st2common/services/workflows.py:928
Functionhandle_action_execution_pause
(ac_ex_db)
st2common/st2common/services/workflows.py:840
Functionhandle_action_execution_pending
(ac_ex_db)
st2common/st2common/services/workflows.py:810
Functionhandle_action_execution_resume
(ac_ex_db)
st2common/st2common/services/workflows.py:874
Methodhandle_action_execution_with_instrumentation
(ac_ex_db)
st2actions/st2actions/workflows/workflows.py:66
Methodhandle_fake_model
(self, fk_db)
st2common/tests/unit/test_queue_consumer.py:116
Methodhandle_quit
(self, sig, frame)
st2common/st2common/util/gunicorn_workers.py:39
Functionhandle_sigusr1
Global SIGUSR1 signal handler which causes all the loggers to re-open log file handles. Note: This function is used with log rotation utilit
st2common/st2common/signal_handlers.py:37
Methodhandle_sigusr2
(self, signal_number, stack_frame)
st2reactor/st2reactor/garbage_collector/base.py:120
Methodhandle_workflow_execution_with_instrumentation
(wf_ex_db)
st2actions/st2actions/workflows/workflows.py:62
Functionhas_policies
(lv_ac_db, policy_types=None)
st2common/st2common/services/policies.py:27
Functionhas_system_user
( request: UsesSystemUserRequest, platform: Platform )
pants-plugins/uses_services/system_user_rules.py:92
Functionhas_system_user_for_pytest
( request: PytestUsesSystemUserRequest, test_extra_env: TestExtraEnv, )
pants-plugins/uses_services/system_user_rules.py:76
Methodhas_valid_uid
Return True if object contains a valid id (aka all parts contain a valid value). :rtype: ``bool``
st2common/st2common/models/db/stormbase.py:241
Methodheartbeat
(self)
st2common/st2common/services/coordination.py:56
Methodhelp
Get available help strings for action aliases. Handles requests: GET /actionalias/help
st2api/st2api/controllers/v1/actionalias.py:102
Functionicontains
(value, criteria_pattern)
st2common/st2common/operators.py:191
Functionidentify_orphaned_workflows
()
st2common/st2common/services/workflows.py:1485
Functioniendswith
(value, criteria_pattern)
st2common/st2common/operators.py:239
Functioniequals
(value, criteria_pattern)
st2common/st2common/operators.py:175
Functionignore_and_log_exception
Decorator which catches the provided exception classes and logs them instead of letting them bubble all the way up.
st2common/st2common/util/misc.py:203
Functionignore_lib2to3_log_messages
Work around to ignore "Generating grammar tables from" log messages which are logged under INFO by default by libraries such as networkx whic
st2common/st2common/log.py:317
Functionignore_statsd_log_messages
By default statsd client logs all the operations under INFO and that causes a lot of noise. This pull request silences all the statsd INFO l
st2common/st2common/log.py:332
Methodinc_counter
(self, key, amount=1)
st2common/st2common/metrics/drivers/echo_driver.py:32
Methodinc_counter
Increment counter
st2common/st2common/metrics/drivers/statsd_driver.py:75
Methodinc_gauge
(self, key, amount=1)
st2common/st2common/metrics/drivers/echo_driver.py:41
Methodinc_gauge
Increment gauge value.
st2common/st2common/metrics/drivers/statsd_driver.py:117
Functionincontains
(value, criteria_pattern)
st2common/st2common/operators.py:207
Functioninfer_packs_globs_dependencies
( request: InferPacksGlobDependencies, )
pants-plugins/pack_metadata/target_types_rules.py:47
Functioninject_extra_sys_path_for_pack_tests
( request: PytestPackTestRequest, )
pants-plugins/pack_metadata/python_rules/python_path_rules.py:115
Functioninject_package_fields
( request: StackStormNfpmPackageFieldsRequest, )
pants-plugins/release/rules.py:218
Methodinquiries
(self)
st2client/st2client/client.py:409
Methodinsert_mock_data
(data)
st2api/tests/unit/controllers/v1/test_executions.py:2024
Methodinsert_mock_data
()
st2stream/tests/unit/controllers/v1/test_stream_execution_output.py:79
Functioninside
(value, criteria_pattern)
st2common/st2common/operators.py:342
Functioniregex
(value, criteria_pattern)
st2common/st2common/operators.py:288
Functionis_action_canceled_or_canceling
(liveaction_id)
st2common/st2common/services/action.py:270
Functionis_action_execution_under_workflow_context
(ac_ex_db)
st2common/st2common/services/workflows.py:84
Functionis_action_paused_or_pausing
(liveaction_id)
st2common/st2common/services/action.py:278
Methodis_applicable
(cls, _: Target)
pants-plugins/release/rules.py:105
Methodis_applicable
(cls, _: Target)
pants-plugins/release/rules.py:213
Methodis_applicable
(cls, target: Target)
pants-plugins/pack_metadata/python_rules/python_path_rules.py:105
Methodis_applicable
(cls, target: Target)
pants-plugins/uses_services/mongo_rules.py:113
Methodis_applicable
(cls, target: Target)
pants-plugins/uses_services/system_user_rules.py:65
← previousnext →3,201–3,300 of 6,742, ranked by callers