BaseStorageAdaptor

UMLClass
Skill Seekers :: skill_seekers :: Storage :: BaseStorageAdaptor

Description

Abstract base class for cloud storage adaptors. Provides unified interface for different cloud storage providers. All adaptors must implement the abstract methods.

Specialized Elements

Attributes

Visibility Name Type Description
public config dict

Operations

Visibility Name Description
public upload_file()
public download_file()
public delete_file()
public list_files()
public file_exists()
public get_file_url()
public upload_directory()
public __init__(**kwargs)()
public upload_file(local_path: str, remote_path: str, metadata: dict | None) : str()
public download_file(remote_path: str, local_path: str) : None()
public delete_file(remote_path: str) : None()
public list_files(prefix: str, max_results: int) : list[StorageObject]()
public file_exists(remote_path: str) : bool()
public get_file_url(remote_path: str, expires_in: int) : str()
public upload_directory(local_dir: str, remote_prefix: str, exclude_patterns: list | None) : list[str]()
public download_directory(remote_prefix: str, local_dir: str) : list[str]()
public get_file_size(remote_path: str) : int()
public copy_file(source_path: str, dest_path: str) : None()

Properties

Name Value
name BaseStorageAdaptor
stereotype null
visibility public
isAbstract true
isFinalSpecialization false
isLeaf false
isActive false

Dependencies

Relationships

Owned Elements

Diagrams