MCPcopy Create free account

hub / github.com/StackStorm/st2 / functions

Functions6,742 in github.com/StackStorm/st2

↓ 1 callersMethodget_user
Given a user key ``reference``, this method returns the user to whom the key belongs. :param ref: Reference to user key. :ty
st2common/st2common/models/system/keyvalue.py:80
↓ 1 callersMethodget_user
(self)
st2common/st2common/models/system/action.py:375
↓ 1 callersMethodget_user_groups
Retrieve a list of groups a particular user is a member of. Note: Not all the auth backends may implement this. :rtype: ``l
st2auth/st2auth/backends/base.py:48
↓ 1 callersMethodget_user_info
Retrieve information about the current user which is authenticated against StackStorm API. :rtype: ``dict``
st2client/st2client/client.py:359
↓ 1 callersMethodget_user_info
Retrieve information about the current user which is authenticated against StackStorm and used to perform other datastore operations
st2common/st2common/services/datastore.py:53
↓ 1 callersFunctionget_valid_versions_for_repo
Retrieve valid versions (tags) for a particular repo (pack). It does so by introspecting available tags. :rtype: ``list`` of ``str``
st2common/st2common/util/pack_management.py:527
↓ 1 callersFunctionget_value
(doc, key)
st2client/st2client/utils/jsutil.py:80
↓ 1 callersMethodget_value
(self, name, local=True, scope=SYSTEM_SCOPE, decrypt=False)
contrib/runners/python_runner/python_runner/python_action_wrapper.py:140
↓ 1 callersFunctionget_version_string
Read __version__ string for an init file.
st2tests/dist_utils.py:121
↓ 1 callersFunctionget_virtualenv_prefix
:return: Returns a tuple where the first element is the name of the attribute where we retrieved the virtualenv prefix from. The sec
st2common/st2common/util/sandboxing.py:229
↓ 1 callersFunctionget_warnings
(pack=None)
contrib/packs/actions/pack_mgmt/get_pack_warnings.py:50
↓ 1 callersMethodget_workflow_definition
(entry_point)
contrib/runners/orquesta_runner/orquesta_runner/orquesta_runner.py:48
↓ 1 callersFunctiongit_rm
(filename)
tools/json2yaml.py:64
↓ 1 callersMethodhandle_action_execution
(self, ac_ex_db)
st2actions/st2actions/workflows/workflows.py:203
↓ 1 callersMethodhandle_error
(response)
st2client/st2client/models/core.py:810
↓ 1 callersMethodhandle_workflow_execution
(self, wf_ex_db)
st2actions/st2actions/workflows/workflows.py:198
↓ 1 callersFunctionhash
(value, salt=FIXED_SALT)
st2common/st2common/util/hash.py:28
↓ 1 callersFunctioninclude_file
(file_path)
st2common/st2common/util/file_system.py:52
↓ 1 callersMethodinitialize
(self)
contrib/packs/actions/pack_mgmt/unload.py:44
↓ 1 callersMethodinsert
(self, instance)
st2common/st2common/models/db/__init__.py:746
↓ 1 callersFunctioninsert_system_roles
Migration which inserts the default system roles.
st2common/st2common/rbac/migrations.py:33
↓ 1 callersFunctioninspect
(wf_spec, st2_ctx, raise_exception=True)
st2common/st2common/services/workflows.py:117
↓ 1 callersFunctioninspect_task_contents
(wf_spec)
st2common/st2common/services/workflows.py:134
↓ 1 callersMethodinstall
(self, packs, force=False, skip_dependencies=False, **kwargs)
st2client/st2client/models/core.py:641
↓ 1 callersFunctioninvoke_post_run
(liveaction_db, action_db=None)
st2common/st2common/runners/utils.py:191
↓ 1 callersFunctionis_action_an_expression
(action)
st2common/st2common/services/workflows.py:141
↓ 1 callersFunctionis_action_execution_under_action_chain_context
The action execution is executed under action-chain context if it contains the chain key in its context dictionary.
st2common/st2common/services/action.py:625
↓ 1 callersFunctionis_desired_pack
(abs_pack_path, pack_name)
st2common/st2common/util/pack_management.py:446
↓ 1 callersFunctionis_ipv4
Validate whether given string is IPv4. :param ip_str: String to validate. :type ip_str: ``str`` :rtype: ``bool``
st2common/st2common/util/ip_utils.py:49
↓ 1 callersFunctionis_ipv6
Validate whether given string is IPv6. :param ip_str: String to validate. :type ip_str: ``str`` :rtype: ``bool``
st2common/st2common/util/ip_utils.py:33
↓ 1 callersFunctionis_jinja_expression
Function which very simplisticly detect if the provided value contains or is a Jinja expression.
st2common/st2common/util/jinja.py:168
↓ 1 callersFunctionis_property_type_anyof
(property_schema)
st2common/st2common/util/schema/__init__.py:160
↓ 1 callersFunctionis_property_type_list
(property_schema)
st2common/st2common/util/schema/__init__.py:154
↓ 1 callersFunctionis_property_type_oneof
(property_schema)
st2common/st2common/util/schema/__init__.py:164
↓ 1 callersFunctionis_property_type_single
(property_schema)
st2common/st2common/util/schema/__init__.py:145
↓ 1 callersFunctionis_required
(param_meta)
st2common/st2common/models/utils/action_param_utils.py:78
↓ 1 callersFunctionis_use_debugger_flag_provided
()
st2common/st2common/util/monkey_patch.py:108
↓ 1 callersMethodis_workflow
Return True if this action is a workflow, False otherwise. :rtype: ``bool``
st2common/st2common/models/db/action.py:110
↓ 1 callersMethodjoin_group
(cls, group_id, capabilities="")
st2common/st2common/services/coordination.py:121
↓ 1 callersFunctionjson_2_yaml_convert
(filename)
tools/json2yaml.py:48
↓ 1 callersFunctionjson_decode_native_json
(data)
st2common/st2common/util/jsonify.py:95
↓ 1 callersFunctionjson_decode_orjson
(data)
st2common/st2common/util/jsonify.py:99
↓ 1 callersFunctionjson_encode_native_json
(obj, indent=4, sort_keys=False)
st2common/st2common/util/jsonify.py:69
↓ 1 callersFunctionjson_loads
Given an object, this method tries to json.loads() the value of each of the keys. If json.loads fails, the original value stays in the object
st2common/st2common/util/jsonify.py:144
↓ 1 callersFunctionkeyczar_symmetric_encrypt
Encrypt the given message using the encrypt_key. Returns a UTF-8 str ready to be stored in database. Note that we convert the hex notation
st2common/st2common/util/crypto.py:359
↓ 1 callersMethodleave_group
(cls, group_id)
st2common/st2common/services/coordination.py:128
↓ 1 callersFunctionlist_format_strings_from_aliases
List patterns from a collection of alias objects :param aliases: The list of aliases :type aliases: ``list`` of :class:`st2common.model
st2common/st2common/util/actionalias_matching.py:34
↓ 1 callersMethodlist_values
Return a list of all values stored in a dictionary which is local to this class.
st2tests/st2tests/mocks/datastore.py:66
↓ 1 callersFunctionload_content
Loads content from file_path if file_path's extension is one of allowed ones (See ALLOWED_EXTS). Throws UnsupportedMetaException on disal
st2client/tests/fixtures/loader.py:36
↓ 1 callersFunctionload_fixed_requirements
(file_path)
scripts/fixate-requirements.py:127
↓ 1 callersFunctionload_makefile_reqs
(path)
scripts/lockfiles_to_reqs.py:107
↓ 1 callersMethodloader
Load the runner config
st2tests/st2tests/base.py:155
↓ 1 callersFunctionmain
()
tools/diff-db-disk.py:257
↓ 1 callersFunctionmain
(metadata_path, output_path, print_source=False)
tools/visualize_action_chain.py:39
↓ 1 callersFunctionmain
(exchange, routing_key, payload)
tools/queue_producer.py:32
↓ 1 callersFunctionmain
(args)
tools/log_watcher.py:173
↓ 1 callersFunctionmain
()
tools/migrate_rules_to_include_pack.py:145
↓ 1 callersFunctionmain
(queue, payload)
tools/direct_queue_publisher.py:29
↓ 1 callersFunctionmain
()
tools/st2-analyze-links.py:170
↓ 1 callersFunctionmain
()
tools/migrate_triggers_to_include_ref_count.py:70
↓ 1 callersFunctionmain
(group_id=None)
tools/list_group_members.py:29
↓ 1 callersFunctionmain
(args)
tools/config_gen.py:220
↓ 1 callersFunctionmain
()
tools/st2-inject-trigger-instances.py:96
↓ 1 callersFunctionmain
()
tools/migrate_messaging_setup.py:62
↓ 1 callersFunctionmain
(dir_, skip_convert)
tools/json2yaml.py:74
↓ 1 callersFunctionmain
(queue, exchange, routing_key="#")
tools/queue_consumer.py:60
↓ 1 callersFunctionmain
()
st2tests/st2tests/fixtures/localrunner_pack/actions/text_gen.py:39
↓ 1 callersFunctionmain
(args)
contrib/examples/actions/ubuntu_pkg_info/ubuntu_pkg_info.py:25
↓ 1 callersFunctionmain
(argv=sys.argv[1:])
st2client/st2client/shell.py:541
↓ 1 callersFunctionmain
()
st2common/tests/integration/log_unicode_data.py:59
↓ 1 callersFunctionmain
()
st2common/st2common/transport/bootstrap.py:32
↓ 1 callersFunctionmain
(argv)
st2common/st2common/persistence/cleanup.py:92
↓ 1 callersFunctionmain
(argv)
st2common/st2common/content/bootstrap.py:461
↓ 1 callersFunctionmain
(user, pkey, password, hosts_str, cmd, file_path, dir_path, delete_dir)
st2common/bin/paramiko_ssh_evenlets_tester.py:31
↓ 1 callersFunctionmain
()
st2common/bin/migrations/v3.1/st2-cleanup-policy-delayed.py:33
↓ 1 callersFunctionmain
()
st2common/bin/migrations/v2.1/st2-migrate-datastore-scopes.py:60
↓ 1 callersFunctionmain
()
st2common/bin/migrations/v3.5/st2_migrate_db_dict_field_values.py:428
↓ 1 callersFunctionmain
()
st2common/bin/migrations/v1.5/st2-migrate-datastore-to-include-scope-secret.py:56
↓ 1 callersFunctionmain
()
packaging/build_st2_venv.py:106
↓ 1 callersFunctionmask_inquiry_response
Introspect an Inquiry's response dict and return a new dict with masked secret values. :param response: Inquiry response to process.
st2common/st2common/util/secrets.py:196
↓ 1 callersMethodmask_secrets
(self, value)
st2common/st2common/models/system/action.py:577
↓ 1 callersMethodmask_secrets
Process the model dictionary and mask secret values. :type value: ``dict`` :param value: Document dictionary. :rtyp
st2common/st2common/models/db/stormbase.py:83
↓ 1 callersMethodmatch
Find a matching action alias. Handles requests: POST /actionalias/match
st2api/st2api/controllers/v1/actionalias.py:77
↓ 1 callersMethodmatch_kv_pairs_at_end
(self)
st2common/st2common/models/utils/action_alias_utils.py:106
↓ 1 callersFunctionmerge_source_requirements
Read requirements source files and merge it's content.
scripts/fixate-requirements.py:154
↓ 1 callersFunctionmerge_source_requirements
Read requirements source files and merge it's content.
scripts/fixate_requirements.py:154
↓ 1 callersMethodmigrate
Will migrate all Triggers that should have ref_count to have the right ref_count.
tools/migrate_triggers_to_include_ref_count.py:49
↓ 1 callersMethodmigrate
(self)
tools/migrate_messaging_setup.py:48
↓ 1 callersFunctionmigrate_datastore
()
st2common/bin/migrations/v2.1/st2-migrate-datastore-scopes.py:30
↓ 1 callersFunctionmigrate_datastore
()
st2common/bin/migrations/v1.5/st2-migrate-datastore-to-include-scope-secret.py:33
↓ 1 callersFunctionmigrate_executions
Perform migrations for execution related objects (ActionExecutionDB, LiveActionDB).
st2common/bin/migrations/v3.5/st2_migrate_db_dict_field_values.py:70
↓ 1 callersFunctionmigrate_objects
( start_dt: datetime.datetime, end_dt: datetime.datetime, display_prompt: bool = True )
st2common/bin/migrations/v3.5/st2_migrate_db_dict_field_values.py:347
↓ 1 callersFunctionmigrate_rules
()
tools/migrate_rules_to_include_pack.py:121
↓ 1 callersFunctionmigrate_triggers
(start_dt: datetime.datetime, end_dt: datetime.datetime)
st2common/bin/migrations/v3.5/st2_migrate_db_dict_field_values.py:291
↓ 1 callersFunctionmigrate_workflow_objects
( start_dt: datetime.datetime, end_dt: datetime.datetime )
st2common/bin/migrations/v3.5/st2_migrate_db_dict_field_values.py:176
↓ 1 callersMethodmkdir
Create a directory on remote hosts. :param path: Path to remote dir that must be created. Must be shlex quoted. :type path:
st2common/st2common/runners/parallel_ssh.py:188
↓ 1 callersMethodmock_st2_ctx
(self)
st2api/st2api/controllers/v1/workflow_inspection.py:33
↓ 1 callersFunctionmodify_schema_allow_default_none
Manipulate the provided schema so None is also an allowed value for each attribute which defines a default value of None.
st2common/st2common/util/schema/__init__.py:342
↓ 1 callersFunctionmove_pack
Move pack directory into the final location.
st2common/st2common/util/pack_management.py:295
↓ 1 callersMethodname
(self)
st2common/st2common/util/greenpooldispatch.py:61
← previousnext →1,801–1,900 of 6,742, ranked by callers