awslimitchecker.runner module¶
-
class
awslimitchecker.runner.
Runner
[source]¶ Bases:
object
-
__dict__
= dict_proxy({'__module__': 'awslimitchecker.runner', 'color_output': <function color_output at 0x7fd39baf6398>, 'parse_args': <function parse_args at 0x7fd39bf42aa0>, '__weakref__': <attribute '__weakref__' of 'Runner' objects>, 'list_services': <function list_services at 0x7fd39bf42b90>, 'check_thresholds': <function check_thresholds at 0x7fd39baf6c80>, 'console_entry_point': <function console_entry_point at 0x7fd39baf6d70>, '__doc__': None, 'list_defaults': <function list_defaults at 0x7fd39bf42cf8>, 'iam_policy': <function iam_policy at 0x7fd39bf42c80>, '__dict__': <attribute '__dict__' of 'Runner' objects>, 'set_limit_overrides': <function set_limit_overrides at 0x7fd39baf6cf8>, 'list_limits': <function list_limits at 0x7fd39bf42b18>, 'print_issue': <function print_issue at 0x7fd39baf61b8>, '__init__': <function __init__ at 0x7fd39bf42a28>, 'show_usage': <function show_usage at 0x7fd39baf69b0>})¶
-
__init__
()¶
-
__module__
= 'awslimitchecker.runner'¶
-
__weakref__
¶ list of weak references to the object (if defined)
-
check_thresholds
()¶
-
color_output
(s, color)¶
-
console_entry_point
()¶
-
iam_policy
()¶
-
list_defaults
()¶
-
list_limits
()¶
-
list_services
()¶
-
parse_args
(argv)¶ parse arguments/options
Parameters: argv (list) – argument list to parse, usually sys.argv[1:]
Returns: parsed arguments Return type: argparse.Namespace
-
print_issue
(service_name, limit, crits, warns)¶ Parameters:
-
set_limit_overrides
(overrides)¶
-
show_usage
()¶
-