AWS connectivity: browser -> allocator nginx proxy -> client KasmVNC.
Classes
AllocatorProxiedClientConnectivity
Attributes
name = 'allocator_proxied'
class-attribute
instance-attribute
requires_tailscale_check = False
class-attribute
instance-attribute
Methods:
make_join_material(*, allocator_url, client_image, register_token)
Source code in packages/allocator/src/lablink_allocator_service/providers/connectivity/allocator_proxied.py
| def make_join_material(
self,
*,
allocator_url: str,
client_image: str,
register_token: str,
) -> ClientJoinMaterial:
return ClientJoinMaterial(
register_token=register_token,
allocator_url=allocator_url,
connectivity=self.name,
client_image=client_image,
)
|
prepare_browser_session(**kwargs)
Source code in packages/allocator/src/lablink_allocator_service/providers/connectivity/allocator_proxied.py
| def prepare_browser_session(self, **kwargs) -> BrowserSessionTarget:
# Inject AWS EC2 fallback resolver so client_session.py remains
# provider-agnostic (SR-F1).
kwargs.setdefault("fallback_fn", _aws_fallback_ip)
return prepare_browser_session(**kwargs)
|
Functions: