Configuration
ManagerRuntimeConfig
BaseConfig
- class auto_proxy_vpn.configs.BaseConfig(ssh_key: list[dict[str, str] | str] | dict[str, str] | str)[source]
Bases:
ABC- provider: ClassVar[CloudProvider]
- abstractmethod unique_key() tuple[CloudProvider, str][source]
Returns a hashable value that uniquely identifies this configuration. Used to detect duplicates inside ProxyPool.
GoogleConfig
- class auto_proxy_vpn.configs.GoogleConfig(ssh_key: list[dict[str, str] | str] | dict[str, str] | str, project: str, credentials: str = '')[source]
Bases:
BaseConfig- unique_key() tuple[CloudProvider, str][source]
Returns a hashable value that uniquely identifies this configuration. Used to detect duplicates inside ProxyPool.
AzureConfig
- class auto_proxy_vpn.configs.AzureConfig(ssh_key: list[dict[str, str] | str] | dict[str, str] | str, credentials: str | dict[str, str] = '')[source]
Bases:
BaseConfig- unique_key() tuple[CloudProvider, str][source]
Returns a hashable value that uniquely identifies this configuration. Used to detect duplicates inside ProxyPool.
DigitalOceanConfig
- class auto_proxy_vpn.configs.DigitalOceanConfig(ssh_key: list[dict[str, str] | str] | dict[str, str] | str, project_name: str = 'AutoProxyVPN', project_description: str = 'On demand proxies', token: str = '')[source]
Bases:
BaseConfig- unique_key() tuple[CloudProvider, str][source]
Returns a hashable value that uniquely identifies this configuration. Used to detect duplicates inside ProxyPool.
AwsConfig
- class auto_proxy_vpn.configs.AwsConfig(ssh_key: list[dict[str, str] | str] | dict[str, str] | str, credentials: dict[str, str] | None = None)[source]
Bases:
BaseConfig- unique_key() tuple[CloudProvider, str][source]
Returns a hashable value that uniquely identifies this configuration. Used to detect duplicates inside ProxyPool.