MCPcopy Create free account

hub / github.com/StackStorm/st2 / functions

Functions6,742 in github.com/StackStorm/st2

↓ 3 callersMethodget_valid_permissions_for_resource_type
Return valid permissions for the provided resource type. :rtype: ``list``
st2common/st2common/rbac/types.py:161
↓ 3 callersMethodhandle_auth
( self, request, headers=None, remote_addr=None, remote_user=None,
st2auth/st2auth/handlers.py:121
↓ 3 callersMethodhandle_trigger_instance
(self, trigger_instance)
st2reactor/st2reactor/rules/engine.py:30
↓ 3 callersFunctionincrement_trigger_ref_count
Given the rule figures out the TriggerType with parameter and increments reference count on the appropriate Trigger. :param rule_api: Ru
st2common/st2common/services/triggers.py:339
↓ 3 callersFunctioninfer_copy_deepcopy
Look for a call_node (ie a function call) like this: schema = copy.deepcopy(...) ^^^^^^^^^^^^^ Ignore any function calls tha
pylint_plugins/api_models.py:70
↓ 3 callersMethodinspect
(self, definition, **kwargs)
st2client/st2client/models/core.py:826
↓ 3 callersFunctionis_attribute_type_array
(attribute_type)
st2common/st2common/util/schema/__init__.py:191
↓ 3 callersFunctionis_attribute_type_object
(attribute_type)
st2common/st2common/util/schema/__init__.py:197
↓ 3 callersFunctionload_fixed_requirements
(file_path)
scripts/fixate_requirements.py:127
↓ 3 callersMethodmatch
(self, instance, **kwargs)
st2client/st2client/models/core.py:729
↓ 3 callersMethodpre_run
(self)
contrib/runners/http_runner/http_runner/http_runner.py:77
↓ 3 callersFunctionprocess_failure_response
(status_code, exception)
st2auth/st2auth/controllers/v1/sso.py:139
↓ 3 callersMethodprocess_task
(self, body, message)
st2common/st2common/services/sensor_watcher.py:73
↓ 3 callersFunctionpurge_rule_enforcements
:param timestamp: Rule enforcement instances older than this timestamp will be deleted. :type timestamp: ``datetime.datetime
st2common/st2common/garbage_collection/rule_enforcement.py:30
↓ 3 callersFunctionpurge_tokens
:param timestamp: Tokens which expired after this timestamp will be deleted. :type timestamp: ``datetime.datetime
st2common/st2common/garbage_collection/token.py:30
↓ 3 callersFunctionpurge_traces
:param timestamp: Trace instances older than this timestamp will be deleted. :type timestamp: ``datetime.datetime
st2common/st2common/garbage_collection/trace.py:30
↓ 3 callersFunctionpurge_trigger_instances
:param timestamp: Trigger instances older than this timestamp will be deleted. :type timestamp: ``datetime.datetime
st2common/st2common/garbage_collection/trigger_instances.py:31
↓ 3 callersMethodquery
(self, *args, **filters)
st2common/st2common/models/db/__init__.py:572
↓ 3 callersFunctionregister_exchanges_with_retry
()
st2common/st2common/transport/bootstrap_utils.py:171
↓ 3 callersFunctionregister_runners
()
st2common/st2common/content/bootstrap.py:222
↓ 3 callersMethodremove_sensor
Remove an existing sensor from the container. :type sensor: ``dict``
st2reactor/st2reactor/container/process_container.py:259
↓ 3 callersMethodremove_trigger
(self, trigger)
st2reactor/st2reactor/timer/base.py:75
↓ 3 callersMethodrun
(self, action_parameters)
contrib/runners/winrm_runner/winrm_runner/winrm_command_runner.py:31
↓ 3 callersMethodrun
Run the wrapped_callback in a protective covering of retries and error handling. :param connection: Connection to messaging service
st2common/st2common/transport/connection_retry_wrapper.py:116
↓ 3 callersMethodset_kvp
(cls, name, value, scope="system", secret=False)
st2tests/integration/orquesta/test_wiring_functions_st2kv.py:24
↓ 3 callersMethodset_kvp
(cls, name, value, scope="system", secret=False)
contrib/runners/orquesta_runner/tests/integration/test_wiring_functions_st2kv.py:24
↓ 3 callersFunctionset_log_level_for_all_loggers
Set a log level for all the loggers and handlers to the provided level.
st2common/st2common/logging/misc.py:96
↓ 3 callersFunctionsetup_logging
(argv)
st2client/st2client/shell.py:524
↓ 3 callersMethodshow
(self)
contrib/linux/actions/checks/check_processes.py:102
↓ 3 callersMethodshutdown
(self, force=False)
st2reactor/st2reactor/container/process_container.py:224
↓ 3 callersMethodshutdown
(self)
st2common/st2common/transport/consumers.py:45
↓ 3 callersMethodshutdown
(self)
st2common/st2common/stream/listener.py:152
↓ 3 callersFunctionto_ascii
Function which encodes the provided bytes / string to ASCII encoding ignoring any errors which could come up when trying to encode a non-asci
st2common/st2common/util/compat.py:56
↓ 3 callersMethodto_component_model
(cls, component)
st2common/st2common/models/api/trace.py:102
↓ 3 callersMethodto_json
Return JSON representation of this key which is fully compatible with keyczar JSON key file format. :rtype: ``str``
st2common/st2common/util/crypto.py:157
↓ 3 callersMethodto_model
Create a model class instance for the provided MongoDB document. :param doc: MongoDB document.
st2common/st2common/models/api/base.py:140
↓ 3 callersFunctionto_unicode
Ensure that the provided text value is represented as unicode. :param value: Value to convert. :type value: ``str`` or ``unicode``
st2common/st2common/util/compat.py:38
↓ 3 callersMethodvalidate
(self, validate_role_exists=False)
st2common/st2common/models/api/rbac.py:223
↓ 3 callersFunctionvalidate_auth_backend_is_correctly_configured
()
st2auth/st2auth/validation.py:25
↓ 3 callersFunctionvalidate_auth_cookie_is_correctly_configured
Function which verifies that SameCookie config option value is correctly configured. This method should be called in the api init phase so w
st2api/st2api/validation.py:26
↓ 3 callersMethodvalidate_resource_type
(cls, resource_type)
st2common/st2common/models/db/policy.py:70
↓ 3 callersFunctionversion_compare
(value, pattern)
st2common/st2common/expressions/functions/version.py:30
↓ 3 callersFunctionwrite_requirements
Write resulting requirements taking versions from the fixed_requirements.
scripts/fixate_requirements.py:194
↓ 2 callersFunctionBase64WSDecode
Return decoded version of given Base64 string. Ignore whitespace. Uses URL-safe alphabet: - replaces +, _ replaces /. Will convert s of type
st2common/st2common/util/crypto.py:463
↓ 2 callersFunctionBase64WSEncode
Return Base64 web safe encoding of s. Suppress padding characters (=). Uses URL-safe alphabet: - replaces +, _ replaces /. Will convert s of
st2common/st2common/util/crypto.py:441
↓ 2 callersMethod__do_get_one
(self, trigger_id)
st2api/tests/unit/controllers/v1/test_triggertypes.py:166
↓ 2 callersMethod__do_get_one
(self, rule_id)
st2api/tests/unit/controllers/v1/test_rule_views.py:112
↓ 2 callersMethod__do_put
(self, runner_type_id, runner_type)
st2api/tests/unit/controllers/v1/test_runnertypes.py:91
↓ 2 callersMethod__do_put
(self, trigger_id, trigger)
st2api/tests/unit/controllers/v1/test_triggertypes.py:172
↓ 2 callersMethod__get_runnertype_id
(resp_json)
st2api/tests/unit/controllers/v1/test_runnertypes.py:97
↓ 2 callersMethod__init__
(self, sensor_node_name)
st2reactor/st2reactor/container/partitioners.py:48
↓ 2 callersMethod__init__
(self, description, app, subparsers, parent_parser=None)
st2client/st2client/commands/triggerinstance.py:57
↓ 2 callersMethod__init__
(self, description, app, subparsers, parent_parser=None)
st2client/st2client/commands/trace.py:62
↓ 2 callersMethod__init__
(self, list_items, instance, name)
st2common/st2common/fields.py:185
↓ 2 callersMethod__init__
(self, logger=LOG)
st2common/st2common/transport/reactor.py:77
↓ 2 callersMethod__init__
( self, filename, mode="a", maxBytes=0, backupCount=0, encoding=None, delay=False )
st2common/st2common/logging/handlers.py:33
↓ 2 callersMethod__init__
:param auth_token: Auth token used to authenticate with StackStorm API. :type auth_token: ``str``
st2common/st2common/services/datastore.py:37
↓ 2 callersMethod__init__
(self, pack=None, name=None)
st2common/st2common/models/system/common.py:46
↓ 2 callersMethod_append_to_cfg_file
(self, cfg_path, content)
st2reactor/tests/integration/test_rules_engine.py:153
↓ 2 callersMethod_append_view_properties
Method which appends corresponding execution (if available) and trigger instance object properties.
st2api/st2api/controllers/v1/rule_enforcement_views.py:89
↓ 2 callersMethod_append_view_properties
(self, rules)
st2api/st2api/controllers/v1/rule_views.py:120
↓ 2 callersMethod_apply_override_file
Loads override content from override file :param override_file: Override filename :type override_file: ``str`` :para
st2common/st2common/content/loader.py:340
↓ 2 callersMethod_assert_crud
(self, instance, defaults=None, updates=None)
st2tests/st2tests/base.py:455
↓ 2 callersMethod_assert_unique_key_constraint
(self, instance)
st2tests/st2tests/base.py:483
↓ 2 callersFunction_assign_default_values_array
(instance, schema)
st2common/st2common/util/schema/__init__.py:282
↓ 2 callersFunction_assign_default_values_object
(instance, schema)
st2common/st2common/util/schema/__init__.py:225
↓ 2 callersFunction_cast_params_from
Pick a list of parameters from context and cast each of them according to the schemas provided
st2common/st2common/util/param.py:254
↓ 2 callersMethod_check_criterion
(self, criterion_k, criterion_v, payload_lookup)
st2reactor/st2reactor/rules/filter.py:132
↓ 2 callersMethod_connect
Order of precedence for SSH connection parameters: 1. If user supplies parameters via action parameters, we use them to connect.
st2common/st2common/runners/paramiko_ssh.py:663
↓ 2 callersMethod_construct_st2_context
(self)
contrib/runners/orquesta_runner/orquesta_runner/orquesta_runner.py:67
↓ 2 callersMethod_convert_from_db
(self, value)
st2common/st2common/fields.py:98
↓ 2 callersFunction_create_execution_log_entry
Create execution log entry object for the provided execution status.
st2common/st2common/services/executions.py:95
↓ 2 callersFunction_create_graph
Creates a generic directed graph for depencency tree and fills it with basic context variables
st2common/st2common/util/param.py:90
↓ 2 callersMethod_create_instance
()
st2common/tests/unit/test_db_policy.py:140
↓ 2 callersMethod_create_token_for_user
(self, username, ttl=None)
st2auth/st2auth/handlers.py:56
↓ 2 callersFunction_db_connect
( db_name, db_host, db_port, username=None, password=None, tls=False, tls_certific
st2common/st2common/models/db/__init__.py:123
↓ 2 callersFunction_decompose_liveaction
Splits the liveaction into an ActionExecution compatible dict.
st2common/st2common/services/executions.py:81
↓ 2 callersMethod_delete_files
(self)
st2tests/st2tests/base.py:535
↓ 2 callersMethod_delete_mock_models
Delete mock models / objects used by get all filter tests. If the test class inserts mock models inside setUp / setUpClass method, t
st2tests/st2tests/api.py:362
↓ 2 callersMethod_delete_sensor
Delete / reset all the internal state about a particular sensor.
st2reactor/st2reactor/container/process_container.py:546
↓ 2 callersFunction_diff_actions
(pack_dir=None, verbose=False, content_diff=True)
tools/diff-db-disk.py:237
↓ 2 callersFunction_diff_rules
(pack_dir=None, verbose=True, content_diff=True)
tools/diff-db-disk.py:253
↓ 2 callersFunction_diff_sensors
(pack_dir=None, verbose=False, content_diff=True)
tools/diff-db-disk.py:243
↓ 2 callersMethod_dispatch_trigger
(cls, operation, trigger, payload)
st2common/st2common/persistence/base.py:354
↓ 2 callersMethod_dispatch_trigger_for_sensor_exit
(self, sensor, exit_code)
st2reactor/st2reactor/container/process_container.py:538
↓ 2 callersMethod_dispatch_trigger_for_sensor_spawn
(self, sensor, process, cmd)
st2reactor/st2reactor/container/process_container.py:525
↓ 2 callersMethod_dispatch_trigger_for_written_data_files
(self, action_db, written_data_files)
st2api/st2api/controllers/v1/actions.py:532
↓ 2 callersMethod_do_get_one
(self, action_id, expect_errors=False)
st2api/tests/unit/controllers/v1/test_action_views.py:189
↓ 2 callersMethod_do_get_one
(self, trigger_id)
st2api/tests/unit/controllers/v1/test_triggers.py:160
↓ 2 callersMethod_do_post
(self, wf_def, expect_errors=False)
st2api/tests/unit/controllers/v1/test_workflow_inspection.py:47
↓ 2 callersMethod_drop_collections
(cls)
st2tests/st2tests/base.py:279
↓ 2 callersMethod_fix_missing_action_execution_id
Auto-populate the action_execution_id in ActionExecutionSchedulingQueue if empty.
st2actions/st2actions/scheduler/handler.py:132
↓ 2 callersMethod_flush_now
(self)
st2common/st2common/util/greenpooldispatch.py:79
↓ 2 callersMethod_format_action_exec_result
Format ActionExecution result so it can be used in the final action result output. :rtype: ``dict``
contrib/runners/action_chain_runner/action_chain_runner/action_chain_runner.py:948
↓ 2 callersMethod_format_extra_attributes
(self, attributes)
st2common/st2common/logging/formatters.py:151
↓ 2 callersMethod_generate_error_results
(error, tb)
contrib/runners/remote_runner/remote_runner/remote_script_runner.py:174
↓ 2 callersMethod_get
(self, name)
st2common/st2common/services/keyvalues.py:156
↓ 2 callersMethod_get
(self, name)
st2common/st2common/services/keyvalues.py:244
↓ 2 callersMethod_get_action_alias_db
Retrieve ActionAliasDB object. :param ignore_metadata_file_error: True to ignore the error when we can't infer
st2common/st2common/bootstrap/aliasesregistrar.py:119
↓ 2 callersMethod_get_actions_from_pack
(self, actions_dir)
st2common/st2common/bootstrap/actionsregistrar.py:118
← previousnext →701–800 of 6,742, ranked by callers