Odyssey
Classes | Functions | Variables
cli.ecr Namespace Reference

Classes

class  CatalogCommand
 
class  ECRCommand
 
class  ListImagesCommand
 
class  PushCommand
 
class  RemoveTagCommand
 

Functions

def display_image_catalog (region=None)
 
def print_image_catalog_table (region)
 
def build_catalog_table (region)
 
def get_ecr_images (region, repository_name)
 
def push_odyssey_images (tag, region, verbose)
 
def remove_image_tag (tag_name, **kwargs)
 

Variables

list AWS_REGIONS
 
 AWS_REGION = os.environ.get('AWS_REGION', 'us-east-2')
 

Detailed Description

ECR Commands

Function Documentation

◆ build_catalog_table()

def cli.ecr.build_catalog_table (   region)
build table of images for each repository

Definition at line 143 of file ecr.py.

143 def build_catalog_table(region):
144  '''build table of images for each repository'''
145  table = {}
146  for repository in REPOSITORIES:
147  table[repository] = list(get_ecr_images(region, repository))
148 
149  return table
150 
151 

Variable Documentation

◆ AWS_REGIONS

list cli.ecr.AWS_REGIONS
Initial value:
1 = [
2  'us-east-2',
3  'us-west-2',
4 ]

Definition at line 17 of file ecr.py.