MCPcopy Create free account

hub / github.com/StackStorm/st2 / functions

Functions6,742 in github.com/StackStorm/st2

↓ 1 callersFunctionformat_inspection_result
(result)
st2common/st2common/services/workflows.py:90
↓ 1 callersMethodformat_output
(self, subject, formatter, *args, **kwargs)
st2client/st2client/commands/__init__.py:79
↓ 1 callersFunctionformat_task_result
(instances)
contrib/runners/orquesta_runner/orquesta_functions/runtime.py:30
↓ 1 callersMethodfrom_env
(cls, env: EnvironmentVars)
pants-plugins/uses_services/rabbitmq_rules.py:66
↓ 1 callersMethodfrom_env
(cls, env: EnvironmentVars)
pants-plugins/uses_services/redis_rules.py:70
↓ 1 callersMethodfrom_inquiry_api
Allows translation of InquiryAPI directly to InquiryResponseAPI This bypasses the DB modeling, since there's no DB model for Inquiries yet.
st2common/st2common/models/api/inquiry.py:182
↓ 1 callersMethodfrom_model
(cls, model, mask_secrets=False)
st2common/st2common/models/api/trigger.py:103
↓ 1 callersMethodfrom_model
(cls, model, mask_secrets=False)
st2common/st2common/models/api/action.py:264
↓ 1 callersFunctiongenerate_api_key
Generates an sufficiently large and random key. credit: http://jetfar.com/simple-api-key-generation-in-python/ :rtype: ``str``
st2common/st2common/util/auth.py:89
↓ 1 callersMethodgenerate_graph
(self, rule_links, out_file)
tools/st2-analyze-links.py:133
↓ 1 callersMethodgenerate_optional_params_regex
(self)
st2common/st2common/models/utils/action_alias_utils.py:125
↓ 1 callersFunctiongenerate_random_dict
Generate a dictionary with fixed random values.
st2common/benchmarks/micro/test_fast_deepcopy.py:40
↓ 1 callersFunctiongenerate_schemas
()
st2common/st2common/cmd/generate_schemas.py:47
↓ 1 callersMethodgenerate_snippets
(self)
st2common/st2common/models/utils/action_alias_utils.py:76
↓ 1 callersFunctiongenerate_spec
()
st2common/st2common/cmd/generate_api_spec.py:47
↓ 1 callersFunctiongenerate_spec
(module_name, spec_file)
st2common/st2common/util/spec_loader.py:44
↓ 1 callersMethodget
(cls, *args, **kwargs)
st2common/st2common/persistence/base.py:101
↓ 1 callersFunctiongetLogger
(name)
st2common/st2common/log.py:191
↓ 1 callersMethodget_action_ex
(self, task_ex_id)
st2tests/st2tests/base.py:740
↓ 1 callersMethodget_alias
(cls)
st2client/st2client/models/core.py:124
↓ 1 callersMethodget_all
(self)
st2api/st2api/controllers/v1/webhooks.py:78
↓ 1 callersFunctionget_available_backends
()
st2common/st2common/runners/__init__.py:27
↓ 1 callersFunctionget_available_plugins
Return names of the available / installed plugins for a given namespace.
st2common/st2common/util/loader.py:214
↓ 1 callersFunctionget_backend_driver
(name)
st2common/st2common/runners/__init__.py:31
↓ 1 callersFunctionget_backend_driver
Retrieve a driver (module / class / function) the provided backend. :param name: Backend name. :type name: ``str``
st2common/st2common/util/driver_loader.py:46
↓ 1 callersFunctionget_backend_instance
(name)
st2auth/st2auth/sso/__init__.py:39
↓ 1 callersFunctionget_backend_instance
(name, use_cache=True)
st2common/st2common/rbac/backends/__init__.py:41
↓ 1 callersMethodget_by_name
(self, name, **kwargs)
st2client/st2client/models/core.py:896
↓ 1 callersMethodget_by_names
Retrieve KeyValuePair objects for the provided key names.
st2common/st2common/persistence/keyvalue.py:103
↓ 1 callersMethodget_by_nickname
(cls, nickname, origin)
st2common/st2common/persistence/auth.py:38
↓ 1 callersMethodget_by_ref
(cls, ref)
st2common/st2common/persistence/policy.py:30
↓ 1 callersMethodget_by_ref
(self, value)
st2common/st2common/models/db/__init__.py:522
↓ 1 callersMethodget_by_uid
(cls, value)
st2common/st2common/persistence/base.py:89
↓ 1 callersFunctionget_dependency_list
(pack=None)
contrib/packs/actions/pack_mgmt/get_pack_dependencies.py:133
↓ 1 callersMethodget_dispatched_triggers
(self)
st2tests/st2tests/sensors.py:56
↓ 1 callersFunctionget_driver
(policy_ref, policy_type, **parameters)
st2common/st2common/policies/base.py:62
↓ 1 callersFunctionget_driver_name
Return coordination driver name (aka protocol part from the URI / URL).
st2common/st2common/services/coordination.py:191
↓ 1 callersFunctionget_environ
(env_var)
contrib/examples/lib/environ.py:19
↓ 1 callersMethodget_file_content
(self, file_path)
st2client/st2client/commands/workflow.py:70
↓ 1 callersFunctionget_files_matching_pattern
(dir_, pattern)
tools/json2yaml.py:40
↓ 1 callersFunctionget_filters
()
st2common/st2common/util/jinja.py:42
↓ 1 callersFunctionget_fixtures_base_path
()
st2client/tests/fixtures/loader.py:32
↓ 1 callersFunctionget_group
Get the items from the passed in group based on group count.
conftest.py:40
↓ 1 callersFunctionget_group_id
(node: nodes.Node)
conftest.py:47
↓ 1 callersFunctionget_host_info
()
st2common/st2common/util/system_info.py:23
↓ 1 callersFunctionget_host_names_for_uri_dict
(uri_dict)
st2common/st2common/models/db/__init__.py:787
↓ 1 callersMethodget_key_name
Function which returns an original key name. :rtype: ``str``
st2common/st2common/services/keyvalues.py:85
↓ 1 callersFunctionget_key_uids_for_user
(user)
st2common/st2common/services/keyvalues.py:308
↓ 1 callersFunctionget_linux_distribution
()
contrib/linux/actions/service.py:35
↓ 1 callersFunctionget_listener_if_set
(name)
st2common/st2common/stream/listener.py:288
↓ 1 callersMethodget_local_libs_path_abs
(self)
st2common/st2common/models/system/action.py:525
↓ 1 callersMethodget_local_script_abs_path
(self)
st2common/st2common/models/system/action.py:519
↓ 1 callersMethodget_masked_parameters
Retrieve parameters with the secrets masked. :rtype: ``dict``
st2common/st2common/models/db/liveaction.py:119
↓ 1 callersFunctionget_messaging_urls
Determines the right messaging urls to supply. In case the `cluster_urls` config is specified then that is used. Else the single `url` proper
st2common/st2common/transport/utils.py:30
↓ 1 callersFunctionget_model_classes
Retrieve a list of all the defined model classes. :rtype: ``list``
st2common/st2common/models/db/__init__.py:102
↓ 1 callersMethodget_multiple_extracted_param_value
Match command against the format string and extract parameters from the command string. :rtype: ``list of dicts``
st2common/st2common/models/utils/action_alias_utils.py:201
↓ 1 callersMethodget_name
Given a user key ``reference``, this method returns the name of the key. :param ref: Reference to user key. :type ref: ``str
st2common/st2common/models/system/keyvalue.py:95
↓ 1 callersMethodget_name
(ref)
st2common/st2common/models/system/common.py:96
↓ 1 callersFunctionget_normalized_file_path
Return a full normalized file path for the provided path string. :rtype: ``str``
st2common/st2common/util/misc.py:149
↓ 1 callersMethodget_output
(self, execution_id, output_type=None, **kwargs)
st2client/st2client/models/core.py:538
↓ 1 callersMethodget_pack
(ref)
st2common/st2common/models/system/common.py:89
↓ 1 callersFunctionget_pack_ref
Read pack reference from the metadata file and sanitize it.
st2common/st2common/util/pack_management.py:545
↓ 1 callersMethodget_parameters
(self)
st2common/st2common/models/system/actionchain.py:109
↓ 1 callersFunctionget_parent_execution
Get the action execution for the parent workflow Useful for finding the parent workflow. Pass in any ActionExecutionDB instance, and this fun
st2common/st2common/services/action.py:441
↓ 1 callersFunctionget_parent_liveaction
Get the liveaction for the parent workflow Useful for finding the parent workflow. Pass in any LiveActionDB instance, and this function will
st2common/st2common/services/action.py:420
↓ 1 callersFunctionget_pex_path
()
packaging/build_st2_venv.py:29
↓ 1 callersMethodget_plural_name
(cls)
st2client/st2client/models/core.py:132
↓ 1 callersMethodget_possible_modules
Get module names that could be imported. Mirrors get_possible_paths logic.
pants-plugins/pack_metadata/python_rules/python_pack_content.py:137
↓ 1 callersMethodget_possible_paths
Get paths to add to PYTHONPATH and PEX_EXTRA_SYS_PATH. Mirrors get_possible_modules logic.
pants-plugins/pack_metadata/python_rules/python_pack_content.py:154
↓ 1 callersFunctionget_python_version
Return Python version used by this installation.
st2common/st2common/util/versioning.py:43
↓ 1 callersMethodget_queue_consumer
(self, connection, queues)
st2common/st2common/transport/consumers.py:216
↓ 1 callersMethodget_registered_packs
Return a list of registered packs. :rype: ``list``
st2common/st2common/bootstrap/base.py:94
↓ 1 callersMethodget_remote_group_to_role_syncer
Return instance of RBACRemoteGroupToRoleSyncer class.
st2common/st2common/rbac/backends/base.py:48
↓ 1 callersMethodget_remote_script_abs_path
(self)
st2common/st2common/models/system/action.py:516
↓ 1 callersFunctionget_repo_url
Retrieve pack repo url. :rtype: ``str`` :return: (repo_url, version) :rtype: tuple
st2common/st2common/util/pack_management.py:406
↓ 1 callersMethodget_request_redirect_url
(self, referer)
st2auth/st2auth/sso/base.py:28
↓ 1 callersMethodget_required_sensor_refs
(self)
st2reactor/st2reactor/container/partitioners.py:77
↓ 1 callersMethodget_resolver_for_permission_type
Method which returns PermissionResolver class for the provided permission type.
st2common/st2common/rbac/backends/base.py:42
↓ 1 callersMethodget_resource_by_name
Retrieve resource by name.
st2client/st2client/commands/resource.py:222
↓ 1 callersMethodget_resource_by_name_or_id
(self, name_or_id, **kwargs)
st2client/st2client/commands/resource.py:229
↓ 1 callersFunctionget_resource_ref_from_model
Return a ResourceReference given db_model. :param model: DB model that contains name and pack. :type model: ``object`` :return: Res
st2common/st2common/util/reference.py:62
↓ 1 callersMethodget_resource_type
(cls, ref)
st2common/st2common/models/db/policy.py:80
↓ 1 callersFunctionget_rules_given_trigger
(trigger)
st2common/st2common/services/rules.py:28
↓ 1 callersFunctionget_runner_model
(action_api)
st2common/st2common/validators/api/action.py:63
↓ 1 callersFunctionget_runner_module
Load runner driver and return reference to the runner driver module.
st2common/st2common/runners/base.py:85
↓ 1 callersFunctionget_schema_for_resource_parameters
Dynamically construct JSON schema for the provided resource from the parameters metadata.
st2common/st2common/util/schema/__init__.py:511
↓ 1 callersFunctionget_sensor_entry_point
(sensor_api_model)
st2common/st2common/models/utils/sensor_type_utils.py:115
↓ 1 callersFunctionget_st2_base_path
(args: Optional[List[str]] = None)
packaging/build_st2_venv.py:33
↓ 1 callersFunctionget_stackstorm_version
Return StackStorm version including git commit revision if running a dev release and a file with package metadata which includes git revision
st2client/st2client/shell.py:139
↓ 1 callersFunctionget_stackstorm_version
Return a valid semver version string for the currently running StackStorm version.
st2common/st2common/util/versioning.py:31
↓ 1 callersFunctionget_system_packs_base_path
Return a path to the directory where system packs are stored. :rtype: ``str``
st2common/st2common/content/utils.py:59
↓ 1 callersMethodget_task_ex
(self, task_id, route)
st2tests/st2tests/base.py:728
↓ 1 callersMethodget_threshold
(self)
st2tests/st2tests/policies/concurrency.py:30
↓ 1 callersMethodget_time_delta
Get current time delta.
st2common/st2common/metrics/base.py:196
↓ 1 callersFunctionget_trigger_db_by_id
Returns the trigger object from db given a trigger id. :param ref: Reference to the trigger db object. :type ref: ``str`` :rtype: `
st2common/st2common/services/triggers.py:143
↓ 1 callersFunctionget_trigger_db_by_ref_or_dict
Retrieve TriggerDB object based on the trigger reference of based on a provided dictionary with trigger attributes.
st2common/st2common/services/triggers.py:104
↓ 1 callersFunctionget_trigger_db_by_uid
Returns the trigger object from db given a trigger uid. :param ref: Reference to the trigger db object. :type ref: ``str`` :rtype:
st2common/st2common/services/triggers.py:165
↓ 1 callersMethodget_trigger_types
(self)
st2common/tests/unit/test_trigger_services.py:286
↓ 1 callersFunctionget_url_without_trailing_slash
Function which strips a trailing slash from the provided url if one is present. :param value: URL to format. :type value: ``str`` :
st2client/st2client/utils/httpclient.py:96
↓ 1 callersMethodget_user
(self, username)
st2tests/st2tests/mocks/auth.py:34
← previousnext →1,701–1,800 of 6,742, ranked by callers