Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions chaosgcp/apphub/actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,11 +221,11 @@ def inject_fault_if_url_map_exists_app_hub(
region (str): The region of the AppHub application.
target_name (str): the the name of a path matcher in the URL map.
target_path (str): default "/*",
impacted_percentage: float default 50.0,
http_status (int) default 400,
regional: (bool) default True,
configuration: (Configuration) default None,
secrets: (Secrets) default None,
impacted_percentage (float): default 50.0,
http_status (int): default 400,
regional (bool): default True,
configuration (Configuration): default None,
secrets (Secrets): default None,
"""

if not url_map_exists(
Expand Down Expand Up @@ -282,8 +282,8 @@ def remove_fault_if_url_map_exists_app_hub(
target_name (str): the the name of a path matcher in the URL map.
target_path (str): default "/*",
regional: (bool) default True,
configuration: (Configuration) default None,
secrets: (Secrets) default None,
configuration (Configuration): default None,
secrets (Secrets): default None,
"""

if not url_map_exists(
Expand Down
1 change: 0 additions & 1 deletion chaosgcp/iam/controls/policy.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,6 @@ def manage_time_bound_temporary_iam_roles(
Raises:
TypeError: If any of the arguments are not of the expected type.
ValueError: If `manage_type` is not "add" or "remove".
# (Add other potential exceptions based on your IAM implementation)

Example:
# Grant roles with a 15-minute expiration:
Expand Down