Aktualizr
C++ SOTA Client
All Classes Namespaces Files Functions Variables Enumerations Enumerator Pages
Public Member Functions | Public Attributes | List of all members
test_fixtures.UptaneTestRepo Class Reference

Public Member Functions

def __init__ (self, repo_manager_exe, server_port=0, director_port=0, image_repo_port=0, custom_repo_port=0)
 
def create_generic_server (self, **kwargs)
 
def create_director_repo (self, handler_map={})
 
def create_image_repo (self, handler_map={})
 
def create_custom_repo (self, handler_map={})
 
def image_dir (self)
 
def target_dir (self)
 
def target_file (self)
 
def add_image (self, id, image_filename, target_name=None, image_size=1024, custom_url='')
 
def add_ostree_target (self, id, rev_hash, target_name=None, expires_within_sec=(60 *5))
 
def __enter__ (self)
 
def __exit__ (self, exc_type, exc_val, exc_tb)
 

Public Attributes

 image_rel_dir
 
 target_rel_dir
 
 root_dir
 
 server_port
 
 director_port
 
 image_repo_port
 
 custom_repo_port
 

Detailed Description

Definition at line 702 of file test_fixtures.py.


The documentation for this class was generated from the following file: