MCPcopy Create free account

hub / github.com/StackStorm/st2 / functions

Functions6,742 in github.com/StackStorm/st2

Method_json_body__set
(self, value)
st2common/st2common/router.py:161
Method_json_body__set
(self, value)
st2common/st2common/router.py:209
Function_kickoff_timer
(timer)
st2reactor/st2reactor/cmd/timersengine.py:60
Method_load_triggers_from_db
(self)
st2common/st2common/services/triggerwatcher.py:157
Method_mark_as_changed
(self, key=None)
st2common/st2common/fields.py:323
Method_mkdir
(self, host, path, results)
st2common/st2common/runners/parallel_ssh.py:340
Method_pause_action
(self, liveaction_db)
st2actions/st2actions/worker.py:267
Method_print_config
(self, args)
st2client/st2client/base.py:418
Method_process_file_content
This method processes the file content and removes unicode BOM character if one is present. Note: If we don't do that, files view ex
st2api/st2api/controllers/v1/pack_views.py:79
Method_put_files
( self, local_path, remote_path, host, results, mode=None, mirror_local_mode=False )
st2common/st2common/runners/parallel_ssh.py:319
Method_re_run_live_action
(self, live_action_db)
st2actions/st2actions/policies/retry.py:177
Function_regex_match
(line, regexes)
tools/log_watcher.py:78
Method_respawn_sensor
Method for respawning a sensor which died with a non-zero exit code.
st2reactor/st2reactor/container/process_container.py:426
Method_resume_action
(self, liveaction_db)
st2actions/st2actions/worker.py:296
Method_resume_workflows_paused_during_shutdown
(self)
st2actions/st2actions/workflows/workflows.py:152
Function_retry_if_connection_error
(error)
st2common/st2common/persistence/db_init.py:30
Method_run_command
(self, host, cmd, results, timeout=None)
st2common/st2common/runners/parallel_ssh.py:301
Method_test_function
(self, criterion_k, criterion_v, payload_lookup)
st2common/tests/unit/test_operators.py:573
Method_tokenize_alias_execution
(self, alias_execution)
st2api/st2api/controllers/v1/aliasexecution.py:234
Method_transform_response
(self, response)
st2client/st2client/utils/interactive.py:138
Method_transform_response
(self, response)
st2client/st2client/utils/interactive.py:174
Method_transform_response
(self, response)
st2client/st2client/utils/interactive.py:201
Method_transform_response
(self, response)
st2client/st2client/utils/interactive.py:261
Method_transform_response
(self, response)
st2client/st2client/utils/interactive.py:320
Method_transform_response
(self, response)
st2client/st2client/utils/interactive.py:401
Function_validate_decrypt_query_parameter
Validate that the provider user is either admin or requesting to decrypt value for themselves.
st2common/st2common/util/keyvalue.py:44
Method_wait_on_call_count
( self, mocked, expected_count, retries=100, delay=0.1, raise_exc=True )
st2tests/st2tests/base.py:405
Functionabandon_execution_if_incomplete
Marks execution as abandoned if it is still incomplete. Abandoning an execution implies that its end state is unknown and cannot anylonger
st2common/st2common/services/executions.py:237
Methodactions
(self)
st2client/st2client/client.py:380
Methodadd
(self, child)
st2common/st2common/services/executions.py:299
Functionadd_auth_token_to_headers
(func)
st2client/st2client/utils/httpclient.py:66
Functionadd_auth_token_to_kwargs_from_cli
(func)
st2client/st2client/commands/resource.py:43
Functionadd_auth_token_to_kwargs_from_env
(func)
st2client/st2client/models/core.py:37
Functionadd_basic_auth_creds_to_kwargs
Add "auth" tuple parameter to the kwargs object which is passed to requests method in case it's present on the HTTPClient object instance.
st2client/st2client/utils/httpclient.py:38
Functionadd_json_content_type_to_headers
(func)
st2client/st2client/utils/httpclient.py:85
Methodadd_or_update
Note: We override add_or_update because we also want to publish high level "value_change" event for this resource.
st2common/st2common/persistence/keyvalue.py:58
Methodadd_or_update
( cls, model_object, publish=True, dispatch_trigger=True, validate=Tru
st2common/st2common/persistence/base.py:171
Methodadd_or_update
(self, instance, validate=True)
st2common/st2common/models/db/__init__.py:634
Methodadd_or_update
(self, instance, validate=True)
st2common/st2common/models/db/__init__.py:751
Functionadd_or_update_given_trace_context
Will update an existing Trace or add a new Trace. This method will only look for exact Trace as identified by the trace_context. Even if the
st2common/st2common/services/trace.py:211
Functionadd_ssl_verify_to_kwargs
(func)
st2client/st2client/utils/httpclient.py:28
Methodadd_trigger
(self, trigger)
contrib/hello_st2/sensors/sensor1.py:43
Methodadd_trigger
(self, trigger)
contrib/examples/sensors/echo_flask_app.py:58
Methodadd_trigger
(self, trigger)
contrib/examples/sensors/sample_polling_sensor.py:62
Methodadd_trigger
(self, trigger)
contrib/examples/sensors/sample_sensor.py:57
Methodadd_trigger
(self, trigger)
contrib/examples/sensors/fibonacci_sensor.py:66
Methodadd_trigger
(self, trigger)
contrib/linux/sensors/file_watch_sensor.py:50
Methodadd_trigger
Runs when trigger is created
st2reactor/st2reactor/sensor/base.py:68
Methodadd_trigger
(self, trigger)
st2reactor/tests/resources/test_sensor.py:30
Methodadd_trigger
(self, trigger)
st2reactor/tests/resources/test_sensor.py:50
Methodadd_trigger
(self, trigger)
st2reactor/tests/resources/test_sensor_with_typo.py:33
Functionadd_trigger_models
Register trigger types. :param trigger_types: A list of triggers to register. :type trigger_types: ``list`` of ``dict`` :rtype: ``l
st2common/st2common/services/triggers.py:586
Methodaggregate
(cls, *args, **kwargs)
st2common/st2common/persistence/base.py:121
Methodaggregate
(self, *args, **kwargs)
st2common/st2common/models/db/__init__.py:627
Methodapikeys
(self)
st2client/st2client/client.py:384
Functionappend_milliseconds_to_time
Return time UTC datetime object offset by provided milliseconds.
st2common/st2common/util/date.py:44
Methodapply_after
(self, target)
st2tests/st2tests/policies/mock_exception.py:24
Methodapply_after
(self, target)
st2tests/st2tests/policies/concurrency.py:44
Methodapply_before
(self, target)
st2tests/st2tests/policies/mock_exception.py:21
Methodapply_before
(self, target)
st2tests/st2tests/policies/concurrency.py:33
Methodapply_before
(self, target)
st2actions/st2actions/policies/concurrency_by_attr.py:101
Methodapply_before
(self, target)
st2actions/st2actions/policies/concurrency.py:83
Functionapply_post_run_policies
(lv_ac_db)
st2common/st2common/services/policies.py:72
Functionapply_pre_run_policies
(lv_ac_db)
st2common/st2common/services/policies.py:38
Functionapply_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
scripts/dist_utils_old.py:84
Functionapply_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
scripts/dist_utils.py:114
Methodarg_name_for_resource_id
(self)
st2client/st2client/commands/resource.py:176
Methodas_wsgi
Converts WSGI request to webob.Request and initiates the response returned by controller.
st2common/st2common/router.py:746
Methodassert_user_has_permission
Check that currently logged-in user has specified permission. If user doesn't have a required permission, AccessDeniedError is throw
st2common/st2common/rbac/backends/base.py:144
Methodassert_user_has_permission
Check that currently logged-in user has specified permission. If user doesn't have a required permission, AccessDeniedError is throw
st2common/st2common/rbac/backends/noop.py:110
Methodassert_user_has_resource_api_permission
Check that currently logged-in user has specified permission for the resource which is to be created.
st2common/st2common/rbac/backends/noop.py:119
Methodassert_user_has_resource_db_permission
Check that currently logged-in user has specified permission on the provied resource. If user doesn't have a required permission, Ac
st2common/st2common/rbac/backends/noop.py:127
Methodassert_user_has_rule_trigger_and_action_permission
Check that the currently logged-in has necessary permissions on trhe trigger and action used / referenced inside the rule.
st2common/st2common/rbac/backends/noop.py:136
Methodassert_user_is_admin
Assert that the currently logged in user is an administrator. If the user is not an administrator, an exception is thrown.
st2common/st2common/rbac/backends/noop.py:84
Methodassert_user_is_admin_if_user_query_param_is_provided
Function which asserts that the request user is administator if "user" query parameter is provided and doesn't match the current user
st2common/st2common/rbac/backends/noop.py:144
Methodassert_user_is_admin_or_operating_on_own_resource
Assert that the currently logged in user is an administrator or operating on a resource which belongs to that user.
st2common/st2common/rbac/backends/noop.py:102
Methodassert_user_is_system_admin
Assert that the currently logged in user is a system administrator. If the user is not a system administrator, an exception is throw
st2common/st2common/rbac/backends/base.py:127
Methodassert_user_is_system_admin
Assert that the currently logged in user is a system administrator. If the user is not a system administrator, an exception is throw
st2common/st2common/rbac/backends/noop.py:93
Methodassign_parent
(child)
st2api/tests/unit/controllers/v1/test_executions_filters.py:76
Methodauthenticate
(self, username, password)
st2tests/st2tests/mocks/auth.py:29
Functionbasename
(path)
st2common/st2common/expressions/functions/path.py:22
Functionblocking_eventlet_spawn
(func, *args, **kwargs)
st2tests/st2tests/base.py:823
Functionbytes_
(s, encoding="utf-8", errors="strict")
st2tests/st2tests/api.py:74
Methodcallback
(liveaction)
st2common/st2common/callback/base.py:35
Functioncancel
(green_thread, *args, **kwargs)
st2common/st2common/util/concurrency.py:107
Methodcancel
(self)
contrib/runners/orquesta_runner/orquesta_runner/orquesta_runner.py:236
Methodcancel
(self)
contrib/runners/action_chain_runner/action_chain_runner/action_chain_runner.py:326
Functioncast_array
(value)
st2api/st2api/controllers/v1/aliasexecution.py:53
Functioncast_params
(action_ref, params, cast_overrides=None)
st2common/st2common/models/utils/action_param_utils.py:98
Functioncheck_inquiry
(inquiry)
st2common/st2common/services/inquiry.py:42
Functioncheck_pack_directory_exists
Check if a provided pack exists in one of the pack paths. :param pack: Pack name. :type pack: ``str`` :rtype: ``bool``
st2common/st2common/content/utils.py:94
Functioncheck_permission
(inquiry, requester)
st2common/st2common/services/inquiry.py:61
Methodcleanup
(self)
contrib/hello_st2/sensors/sensor1.py:39
Methodcleanup
(self)
contrib/examples/sensors/echo_flask_app.py:55
Methodcleanup
(self)
contrib/examples/sensors/sample_polling_sensor.py:57
Methodcleanup
(self)
contrib/examples/sensors/sample_sensor.py:52
Methodcleanup
(self)
contrib/examples/sensors/fibonacci_sensor.py:63
Methodcleanup
(self)
contrib/linux/sensors/file_watch_sensor.py:41
Methodcleanup
Run the sensor cleanup code (if any).
st2reactor/st2reactor/sensor/base.py:61
Methodcleanup
(self)
st2reactor/tests/resources/test_sensor.py:27
← previousnext →2,701–2,800 of 6,742, ranked by callers