SYMBOL INDEX (216 symbols across 32 files) FILE: example-component/pentagon_component/__init__.py class Component (line 5) | class Component(ComponentBase): FILE: pentagon/cli.py class RequiredIf (line 17) | class RequiredIf(click.Option): method __init__ (line 19) | def __init__(self, *args, **kwargs): method handle_parse_result (line 30) | def handle_parse_result(self, ctx, opts, args): function validate_not_empty_string (line 39) | def validate_not_empty_string(ctx, param, value): function cli (line 56) | def cli(ctx, log_level, *args, **kwargs): function start_project (line 123) | def start_project(ctx, name, **kwargs): function add (line 159) | def add(ctx, component_path, additional_args, **kwargs): function get (line 170) | def get(ctx, component_path, additional_args, **kwargs): function migrate (line 180) | def migrate(ctx, **kwargs): function _run (line 186) | def _run(action, component_path, additional_args, options): function get_component_class (line 234) | def get_component_class(component_path): function parse_in_file (line 271) | def parse_in_file(file): function parse_data (line 295) | def parse_data(data, d=None): FILE: pentagon/component/__init__.py class ComponentBase (line 14) | class ComponentBase(object): method __init__ (line 26) | def __init__(self, data, additional_args=None, **kwargs): method _destination_directory_name (line 45) | def _destination_directory_name(self): method _files_directory (line 51) | def _files_directory(self): method _process_env_vars (line 54) | def _process_env_vars(self): method _process_defaults (line 69) | def _process_defaults(self): method _render_directory_templates (line 85) | def _render_directory_templates(self): method _remove_init_file (line 103) | def _remove_init_file(self): method _merge_data (line 113) | def _merge_data(self, new_data, clobber=False): method add (line 121) | def add(self, destination, overwrite=False): method _display_settings_to_user (line 141) | def _display_settings_to_user(self): method _add_files (line 168) | def _add_files(self, sub_path=None): FILE: pentagon/component/aws_vpc/__init__.py class AWSVpc (line 8) | class AWSVpc(ComponentBase): method add (line 12) | def add(self, destination, overwrite): FILE: pentagon/component/core/__init__.py class Core (line 4) | class Core(ComponentBase): FILE: pentagon/component/core/files/plugins/filter_plugins/flatten.py class FilterModule (line 6) | class FilterModule (object): method filters (line 7) | def filters(self): FILE: pentagon/component/core/files/plugins/inventory/ec2.py class Ec2Inventory (line 137) | class Ec2Inventory(object): method _empty_inventory (line 138) | def _empty_inventory(self): method __init__ (line 141) | def __init__(self): method is_cache_valid (line 175) | def is_cache_valid(self): method read_settings (line 188) | def read_settings(self): method parse_cli_args (line 366) | def parse_cli_args(self): method do_api_calls_update_cache (line 379) | def do_api_calls_update_cache(self): method connect (line 396) | def connect(self, region): method get_instances_by_region (line 408) | def get_instances_by_region(self, region): method get_rds_instances_by_region (line 433) | def get_rds_instances_by_region(self, region): method get_elasticache_clusters_by_region (line 452) | def get_elasticache_clusters_by_region(self, region): method get_elasticache_replication_groups_by_region (line 488) | def get_elasticache_replication_groups_by_region(self, region): method get_auth_error_message (line 522) | def get_auth_error_message(self): method fail_with_error (line 539) | def fail_with_error(self, err_msg, err_operation=None): method get_instance (line 547) | def get_instance(self, region, instance_id): method add_instance (line 555) | def add_instance(self, instance, region): method add_rds_instance (line 680) | def add_rds_instance(self, instance, region): method add_elasticache_cluster (line 763) | def add_elasticache_cluster(self, cluster, region): method add_elasticache_node (line 862) | def add_elasticache_node(self, node, cluster, region): method add_elasticache_replication_group (line 949) | def add_elasticache_replication_group(self, replication_group, region): method get_route53_records (line 1001) | def get_route53_records(self): method get_instance_route53_names (line 1027) | def get_instance_route53_names(self, instance): method get_host_info_dict_from_instance (line 1048) | def get_host_info_dict_from_instance(self, instance): method get_host_info_dict_from_describe_dict (line 1093) | def get_host_info_dict_from_describe_dict(self, describe_dict): method get_host_info (line 1178) | def get_host_info(self): method push (line 1197) | def push(self, my_dict, key, element): method push_group (line 1207) | def push_group(self, my_dict, key, element): method get_inventory_from_cache (line 1216) | def get_inventory_from_cache(self): method load_index_from_cache (line 1225) | def load_index_from_cache(self): method write_to_cache (line 1233) | def write_to_cache(self, data, filename): method uncammelize (line 1241) | def uncammelize(self, key): method to_safe (line 1245) | def to_safe(self, word): method json_format_dict (line 1251) | def json_format_dict(self, data, pretty=False): FILE: pentagon/component/gcp/cluster.py class Public (line 13) | class Public(ComponentBase): method _files_directory (line 46) | def _files_directory(self): FILE: pentagon/component/inventory/__init__.py class Inventory (line 15) | class Inventory(ComponentBase): method __init__ (line 26) | def __init__(self, data, additional_args=None, **kwargs): method _files_directory (line 43) | def _files_directory(self): method add (line 46) | def add(self, destination, overwrite=False): method __create_keys (line 81) | def __create_keys(self): class Aws (line 93) | class Aws(ComponentBase): method add (line 95) | def add(self, destination): class Gcp (line 99) | class Gcp(ComponentBase): method add (line 101) | def add(self, destination): FILE: pentagon/component/kops/__init__.py class Cluster (line 16) | class Cluster(ComponentBase): method add (line 19) | def add(self, destination): method get (line 32) | def get(self, destination): method _cluster_instance_groups (line 57) | def _cluster_instance_groups(self): method _get_instance_group_yaml (line 68) | def _get_instance_group_yaml(self, ig): method _get_cluster_admin_secret (line 91) | def _get_cluster_admin_secret(self): method _get_cluster_yaml (line 104) | def _get_cluster_yaml(self): FILE: pentagon/component/vpn/__init__.py class Vpn (line 9) | class Vpn(ComponentBase): method add (line 23) | def add(self, destination, overwrite=False): method _get_vpn_ami_id (line 27) | def _get_vpn_ami_id(self): FILE: pentagon/defaults.py class AWSPentagonDefaults (line 4) | class AWSPentagonDefaults(object): FILE: pentagon/filters.py function register_filters (line 4) | def register_filters(): function get_jinja_filters (line 17) | def get_jinja_filters(): function regex_trim (line 23) | def regex_trim(input, regex, replace=''): FILE: pentagon/helpers.py function render_template (line 14) | def render_template(template_name, template_path, target, context, delet... function write_yaml_file (line 55) | def write_yaml_file(filename, d, overwrite=False): function create_rsa_key (line 69) | def create_rsa_key(name, path, bits=2048): function merge_dict (line 86) | def merge_dict(d, new_data, clobber=False): function allege_aws_availability_zones (line 95) | def allege_aws_availability_zones(region, count): FILE: pentagon/migration/__init__.py function migrate (line 26) | def migrate(branch='migration', yes=False): function migrations_to_run (line 60) | def migrations_to_run(current_version, available_migrations): function available_migrations (line 66) | def available_migrations(): function installed_version (line 77) | def installed_version(): function infrastructure_repository (line 82) | def infrastructure_repository(): function current_version (line 89) | def current_version(version_file=version_file): class Migration (line 101) | class Migration(object): class YamlEditor (line 104) | class YamlEditor(object): method __init__ (line 106) | def __init__(self, file=None): method update (line 117) | def update(self, new_data, clobber=False): method remove (line 122) | def remove(self, keys): method get_data (line 128) | def get_data(self): method write (line 132) | def write(self, file=None): method get (line 138) | def get(self, key, default=None): method __getitem__ (line 141) | def __getitem__(self, key): method __setitem__ (line 144) | def __setitem__(self, key, value): method __str__ (line 147) | def __str__(self): method __enter__ (line 150) | def __enter__(self): method __exit__ (line 153) | def __exit__(self, type, value, traceback): method __init__ (line 156) | def __init__(self, branch_name): method start (line 161) | def start(self): method version_only (line 165) | def version_only(self): method real_path (line 169) | def real_path(self, path): method _branch (line 172) | def _branch(self): method _run (line 183) | def _run(self): method _write_new_version (line 190) | def _write_new_version(self, version): method _append_migration_readme (line 194) | def _append_migration_readme(self): method move (line 199) | def move(self, source, destination): method overwrite_file (line 213) | def overwrite_file(self, path, content, executable=False): method create_file (line 217) | def create_file(self, path, content, executable=False): method create_dir (line 228) | def create_dir(self, path): method get_file_content (line 237) | def get_file_content(self, path): method inventory (line 243) | def inventory(self, exclude=[]): method delete (line 247) | def delete(self, path): method find_files (line 258) | def find_files(self, path='./', file_pattern=None): FILE: pentagon/migration/migrations/migration_1_2_0.py class Migration (line 8) | class Migration(migration.Migration): method run (line 12) | def run(self): FILE: pentagon/migration/migrations/migration_2_0_0.py class Migration (line 6) | class Migration(migration.Migration): method run (line 10) | def run(self): FILE: pentagon/migration/migrations/migration_2_1_0.py class Migration (line 8) | class Migration(migration.Migration): method run (line 12) | def run(self): FILE: pentagon/migration/migrations/migration_2_2_0.py class Migration (line 8) | class Migration(migration.Migration): method run (line 12) | def run(self): FILE: pentagon/migration/migrations/migration_2_3_1.py class Migration (line 7) | class Migration(migration.Migration): method run (line 11) | def run(self): FILE: pentagon/migration/migrations/migration_2_4_1.py class Migration (line 7) | class Migration(migration.Migration): method run (line 11) | def run(self): FILE: pentagon/migration/migrations/migration_2_4_3.py class Migration (line 9) | class Migration(migration.Migration): method run (line 13) | def run(self): FILE: pentagon/migration/migrations/migration_2_5_0.py class Migration (line 9) | class Migration(migration.Migration): method run (line 13) | def run(self): FILE: pentagon/migration/migrations/migration_2_6_0.py class Migration (line 9) | class Migration(migration.Migration): method run (line 13) | def run(self): FILE: pentagon/migration/migrations/migration_2_6_2.py class folded_unicode (line 235) | class folded_unicode(unicode): class literal_unicode (line 239) | class literal_unicode(unicode): function folded_unicode_representer (line 243) | def folded_unicode_representer(dumper, data): function literal_unicode_representer (line 247) | def literal_unicode_representer(dumper, data): class Migration (line 256) | class Migration(migration.Migration): method run (line 262) | def run(self): FILE: pentagon/migration/migrations/migration_2_7_1.py class folded_unicode (line 30) | class folded_unicode(unicode): class literal_unicode (line 34) | class literal_unicode(unicode): function folded_unicode_representer (line 38) | def folded_unicode_representer(dumper, data): function literal_unicode_representer (line 42) | def literal_unicode_representer(dumper, data): class Migration (line 59) | class Migration(migration.Migration): method run (line 65) | def run(self): FILE: pentagon/migration/migrations/migration_2_7_3.py class folded_unicode (line 28) | class folded_unicode(unicode): class literal_unicode (line 32) | class literal_unicode(unicode): function folded_unicode_representer (line 36) | def folded_unicode_representer(dumper, data): function literal_unicode_representer (line 40) | def literal_unicode_representer(dumper, data): class Migration (line 64) | class Migration(migration.Migration): method run (line 70) | def run(self): FILE: pentagon/migration/migrations/migration_3_1_0.py class folded_unicode (line 27) | class folded_unicode(unicode): class literal_unicode (line 31) | class literal_unicode(unicode): function folded_unicode_representer (line 35) | def folded_unicode_representer(dumper, data): function literal_unicode_representer (line 39) | def literal_unicode_representer(dumper, data): class Migration (line 64) | class Migration(migration.Migration): method run (line 70) | def run(self): FILE: pentagon/pentagon.py class PentagonException (line 25) | class PentagonException(Exception): class PentagonProject (line 29) | class PentagonProject(object): method __init__ (line 33) | def __init__(self, name, data={}): method get_data (line 54) | def get_data(self, name, default=None): method __git_init (line 62) | def __git_init(self): method __write_config_file (line 66) | def __write_config_file(self): method __repository_directory_exists (line 86) | def __repository_directory_exists(self): method start (line 96) | def start(self): method __create_repo_core (line 111) | def __create_repo_core(self): class AWSPentagonProject (line 116) | class AWSPentagonProject(PentagonProject): method __init__ (line 142) | def __init__(self, name, data={}): method context (line 230) | def context(self): method __add_kops_working_cluster (line 262) | def __add_kops_working_cluster(self): method __add_kops_production_cluster (line 284) | def __add_kops_production_cluster(self): method configure_default_project (line 306) | def configure_default_project(self): class GCPPentagonProject (line 313) | class GCPPentagonProject(PentagonProject): method __init__ (line 315) | def __init__(self, name, data={}): method _build_inv_params (line 325) | def _build_inv_params(name, input_context): method configure_default_project (line 348) | def configure_default_project(self): FILE: setup.py function package_files (line 30) | def package_files(directory): FILE: tests/test_args.py class TestPentagonProjectWithoutArgs (line 8) | class TestPentagonProjectWithoutArgs(TestPentagonProject): method setUp (line 11) | def setUp(self): method tearDown (line 14) | def tearDown(self): class TestPentagonProjectWithAllArgs (line 18) | class TestPentagonProjectWithAllArgs(TestPentagonProject): method setUp (line 64) | def setUp(self): method tearDown (line 67) | def tearDown(self): method test_configure_project (line 70) | def test_configure_project(self): method test_aws_availability_zones (line 73) | def test_aws_availability_zones(self): method test_vpc_name (line 79) | def test_vpc_name(self): method test_kops_args (line 82) | def test_kops_args(self): method test_kubernetes_args (line 85) | def test_kubernetes_args(self): class TestPentagonProjectWithMinimalArgs (line 107) | class TestPentagonProjectWithMinimalArgs(TestPentagonProject): method setUp (line 119) | def setUp(self): method tearDown (line 122) | def tearDown(self): method test_configure_project (line 125) | def test_configure_project(self): method test_aws_availability_zones (line 128) | def test_aws_availability_zones(self): class TestPentagon (line 137) | class TestPentagon(TestPentagonProject): method test_noninteget_az_count (line 139) | def test_noninteget_az_count(self): FILE: tests/test_base.py class TestPentagonProject (line 8) | class TestPentagonProject(unittest.TestCase): method setUp (line 11) | def setUp(self): method tearDown (line 14) | def tearDown(self): method test_instance (line 17) | def test_instance(self): method test_name (line 20) | def test_name(self): method test_repository_name (line 24) | def test_repository_name(self): method test_repository_directory (line 27) | def test_repository_directory(self):