SYMBOL INDEX (2066 symbols across 290 files) FILE: tests/api_client.py function admin_client (line 11) | def admin_client(host, token="token-value"): FILE: tests/conftest.py class Context (line 42) | class Context: class K3sInstance (line 47) | class K3sInstance: method kubectl (line 54) | def kubectl(self, cmd_args, input=None, check=True): class Child (line 73) | class Child: class WarpgateProcess (line 80) | class WarpgateProcess: class ProcessManager (line 90) | class ProcessManager: method __init__ (line 93) | def __init__(self, ctx: Context, timeout: int) -> None: method stop (line 98) | def stop(self): method start_ssh_server (line 123) | def start_ssh_server(self, trusted_keys=[], extra_config=""): method start_mysql_server (line 172) | def start_mysql_server(self): method start_postgres_server (line 179) | def start_postgres_server(self): method start_k3s (line 218) | def start_k3s(self) -> K3sInstance: method start_oidc_server (line 459) | def start_oidc_server( method start_wg (line 591) | def start_wg( method start_ssh_client (line 704) | def start_ssh_client(self, *args, password=None, **kwargs): method start (line 727) | def start(self, args, stop_timeout=3, stop_signal=signal.SIGTERM, **kw... function timeout (line 736) | def timeout(): function ctx (line 742) | def ctx(): function processes (line 749) | def processes(ctx, timeout, report_generation): function report_generation (line 758) | def report_generation(): function shared_wg (line 781) | def shared_wg(processes: ProcessManager): function admin_client (line 797) | def admin_client(shared_wg: WarpgateProcess): function wg_c_ed25519_pubkey (line 815) | def wg_c_ed25519_pubkey(): function wg_c_rsa_pubkey (line 820) | def wg_c_rsa_pubkey(): function otp_key_base64 (line 825) | def otp_key_base64(): function otp_key_base32 (line 830) | def otp_key_base32(): function password_123_hash (line 835) | def password_123_hash(): FILE: tests/images/mysql-server/init.sql type `db` (line 1) | CREATE TABLE `db`.`table` ( FILE: tests/images/postgres-server/init.sql type tbl (line 1) | CREATE TABLE tbl ( FILE: tests/test_api_auth.py class AdminApiTestCase (line 18) | class AdminApiTestCase: function assert_401 (line 26) | def assert_401(): function make_limited_admin_role_payload (line 32) | def make_limited_admin_role_payload(**overrides): function _verify_all_openapi_ops_are_covered (line 748) | def _verify_all_openapi_ops_are_covered(): function _create_admin_role (line 769) | def _create_admin_role(admin_api: sdk.DefaultApi, payload: dict) -> sdk.... function _create_user_with_role (line 773) | def _create_user_with_role(admin_api: sdk.DefaultApi, role_id: str | None): function _create_user_api_token (line 783) | def _create_user_api_token( function test_all_openapi_admin_operations_permission_enforcement (line 806) | def test_all_openapi_admin_operations_permission_enforcement( FILE: tests/test_http_basic.py class Test (line 11) | class Test: method test_basic (line 12) | def test_basic( FILE: tests/test_http_common.py function echo_server_port (line 9) | def echo_server_port(): FILE: tests/test_http_proto.py class TestHTTPProto (line 9) | class TestHTTPProto: method setup (line 11) | def setup(self, echo_server_port, shared_wg): method test_cookies (line 40) | def test_cookies( method test_gzip (line 67) | def test_gzip( FILE: tests/test_http_redirects.py class TestHTTPRedirects (line 9) | class TestHTTPRedirects: method test (line 10) | def test( FILE: tests/test_http_user_auth_logout.py class Test (line 9) | class Test: method test (line 10) | def test( FILE: tests/test_http_user_auth_oidc.py function _make_sso_provider_config (line 15) | def _make_sso_provider_config( function _start_wg_with_oidc (line 46) | def _start_wg_with_oidc(processes, wg_http_port, oidc_port, **sso_kwargs): function _create_echo_target (line 60) | def _create_echo_target(api, echo_server_port, role_id): function _do_oidc_login (line 81) | def _do_oidc_login(wg_url, oidc_port, *, username="User1", password="pwd"): class TestHTTPUserAuthOIDC (line 186) | class TestHTTPUserAuthOIDC: method test_oidc_auth_flow (line 189) | def test_oidc_auth_flow( method test_oidc_auth_wrong_credentials (line 232) | def test_oidc_auth_wrong_credentials( method test_oidc_auto_create_user (line 271) | def test_oidc_auto_create_user( method test_oidc_auto_create_user_disabled (line 311) | def test_oidc_auto_create_user_disabled( method test_oidc_group_sync_with_role_mappings (line 333) | def test_oidc_group_sync_with_role_mappings( method test_oidc_group_sync_without_mappings (line 426) | def test_oidc_group_sync_without_mappings( method test_oidc_group_sync_removes_stale_roles (line 505) | def test_oidc_group_sync_removes_stale_roles( FILE: tests/test_http_user_auth_otp.py class TestHTTPUserAuthOTP (line 11) | class TestHTTPUserAuthOTP: method test_auth_otp_success (line 12) | def test_auth_otp_success( method test_auth_otp_fail (line 92) | def test_auth_otp_fail( FILE: tests/test_http_user_auth_password.py class TestHTTPUserAuthPassword (line 9) | class TestHTTPUserAuthPassword: method test_auth_password_success (line 10) | def test_auth_password_success( method test_auth_password_fail (line 64) | def test_auth_password_fail( FILE: tests/test_http_user_auth_ticket.py class TestHTTPUserAuthTicket (line 9) | class TestHTTPUserAuthTicket: method test_auth_password_success (line 10) | def test_auth_password_success( FILE: tests/test_http_websocket.py class TestHTTPWebsocket (line 11) | class TestHTTPWebsocket: method test_basic (line 12) | def test_basic( FILE: tests/test_json_logs.py class Test (line 19) | class Test: method test_json_logs_via_config (line 22) | def test_json_logs_via_config( method test_json_logs_via_cli (line 114) | def test_json_logs_via_cli( FILE: tests/test_kubernetes_integration.py function run_kubectl (line 16) | def run_kubectl(args, **kwargs): class TestKubernetesIntegration (line 22) | class TestKubernetesIntegration: method test_kubectl_through_warpgate (line 24) | async def test_kubectl_through_warpgate( method test_kubectl_run (line 187) | async def test_kubectl_run(self, processes, shared_wg: WarpgateProcess): method test_mtls_upstream_and_token_user (line 281) | async def test_mtls_upstream_and_token_user( method test_kubectl_exec_io (line 376) | async def test_kubectl_exec_io(self, processes, shared_wg: WarpgatePro... method test_kubectl_attach_io (line 502) | async def test_kubectl_attach_io(self, processes, shared_wg: WarpgateP... FILE: tests/test_postgres_user_auth_in_browser.py class Test (line 12) | class Test: method test (line 14) | async def test( FILE: tests/test_postgres_user_auth_password.py class Test (line 10) | class Test: method test (line 11) | def test( FILE: tests/test_ssh_client_auth_config.py class TestSSHClientAuthConfigAPI (line 16) | class TestSSHClientAuthConfigAPI: method test_get_ssh_auth_parameters (line 19) | def test_get_ssh_auth_parameters( method test_update_ssh_auth_parameters (line 36) | def test_update_ssh_auth_parameters( class TestSSHClientAuthConfigE2E (line 70) | class TestSSHClientAuthConfigE2E: method _start_ssh_server (line 73) | def _start_ssh_server(self, processes, wg_c_ed25519_pubkey): method _setup_user_and_target (line 83) | def _setup_user_and_target(self, api, ssh_port, wg_c_ed25519_pubkey: P... method _update_ssh_auth_params (line 123) | def _update_ssh_auth_params(self, api, pubkey=True, password=True, key... method test_password_auth_disabled (line 134) | def test_password_auth_disabled( method test_pubkey_auth_disabled (line 173) | def test_pubkey_auth_disabled( method test_pubkey_auth_enabled_works (line 210) | def test_pubkey_auth_enabled_works( method test_password_auth_enabled_works (line 248) | def test_password_auth_enabled_works( method test_both_auth_methods_work (line 287) | def test_both_auth_methods_work( FILE: tests/test_ssh_proto.py function ssh_port (line 15) | def ssh_port(processes, wg_c_ed25519_pubkey): function setup_user_and_target (line 27) | def setup_user_and_target( class Test (line 76) | class Test: method test_stdout_stderr (line 77) | def test_stdout_stderr( method test_pty (line 103) | def test_pty( method test_signals (line 129) | def test_signals( method test_direct_tcpip (line 152) | def test_direct_tcpip( method test_tcpip_forward (line 186) | def test_tcpip_forward( method test_shell (line 227) | def test_shell( method test_connection_error (line 268) | def test_connection_error( method test_sftp (line 292) | def test_sftp( method test_insecure_protos (line 327) | def test_insecure_protos( FILE: tests/test_ssh_target_selection.py class Test (line 10) | class Test: method test_bad_target (line 11) | def test_bad_target( FILE: tests/test_ssh_user_auth_in_browser.py class Test (line 11) | class Test: method test (line 18) | async def test( FILE: tests/test_ssh_user_auth_otp.py class Test (line 14) | class Test: method test_otp (line 15) | def test_otp( FILE: tests/test_ssh_user_auth_password.py class Test (line 9) | class Test: method test (line 10) | def test( FILE: tests/test_ssh_user_auth_pubkey.py class Test (line 9) | class Test: method test_ed25519 (line 10) | def test_ed25519( method test_rsa (line 86) | def test_rsa( FILE: tests/test_ssh_user_auth_ticket.py class Test (line 9) | class Test: method test (line 10) | def test( FILE: tests/util.py function alloc_port (line 20) | def alloc_port(): function _wait_timeout (line 26) | def _wait_timeout(fn, msg, timeout=60): function wait_port (line 34) | def wait_port(port, recv=True, timeout=60, for_process: subprocess.Popen... function wait_mysql_port (line 61) | def wait_mysql_port(port): function create_ticket (line 84) | def create_ticket(url, username, target_name): FILE: warpgate-admin/src/api/admin_roles.rs type AdminRoleDataRequest (line 18) | struct AdminRoleDataRequest { type GetAdminRolesResponse (line 49) | enum GetAdminRolesResponse { type CreateAdminRoleResponse (line 55) | enum CreateAdminRoleResponse { type GetAdminRoleResponse (line 61) | enum GetAdminRoleResponse { type UpdateAdminRoleResponse (line 69) | enum UpdateAdminRoleResponse { type DeleteAdminRoleResponse (line 77) | enum DeleteAdminRoleResponse { type GetAdminRoleUsersResponse (line 87) | enum GetAdminRoleUsersResponse { type ListApi (line 94) | pub struct ListApi; method api_get_all_admin_roles (line 103) | async fn api_get_all_admin_roles( method api_create_admin_role (line 130) | async fn api_create_admin_role( type DetailApi (line 168) | pub struct DetailApi; method api_get_admin_role (line 177) | async fn api_get_admin_role( method api_update_admin_role (line 198) | async fn api_update_admin_role( method api_delete_admin_role (line 241) | async fn api_delete_admin_role( method api_get_admin_role_users (line 268) | async fn api_get_admin_role_users( FILE: warpgate-admin/src/api/certificate_credentials.rs function certificate_fingerprint (line 18) | fn certificate_fingerprint(certificate_pem: &str) -> Result Self { type IssuedCertificateCredential (line 34) | struct IssuedCertificateCredential { type IssueCertificateCredentialRequest (line 40) | struct IssueCertificateCredentialRequest { type UpdateCertificateCredential (line 46) | struct UpdateCertificateCredential { type GetCertificateCredentialsResponse (line 64) | enum GetCertificateCredentialsResponse { type IssueCertificateCredentialResponse (line 70) | enum IssueCertificateCredentialResponse { type UpdateCertificateCredentialResponse (line 76) | enum UpdateCertificateCredentialResponse { type ListApi (line 83) | pub struct ListApi; method api_get_all (line 92) | async fn api_get_all( method api_issue (line 117) | async fn api_issue( type RevokeCertificateCredentialResponse (line 163) | enum RevokeCertificateCredentialResponse { type DetailApi (line 170) | pub struct DetailApi; method api_update (line 179) | async fn api_update( method api_delete (line 213) | async fn api_delete( FILE: warpgate-admin/src/api/common.rs function has_admin_permission (line 8) | pub async fn has_admin_permission( function require_admin_permission (line 77) | pub async fn require_admin_permission( FILE: warpgate-admin/src/api/known_hosts_detail.rs type Api (line 12) | pub struct Api; method api_ssh_delete_known_host (line 30) | async fn api_ssh_delete_known_host( type DeleteSSHKnownHostResponse (line 15) | enum DeleteSSHKnownHostResponse { FILE: warpgate-admin/src/api/known_hosts_list.rs type Api (line 17) | pub struct Api; method add_ssh_known_host (line 46) | async fn add_ssh_known_host( method get_ssh_known_hosts (line 77) | async fn get_ssh_known_hosts( type GetSSHKnownHostsResponse (line 20) | enum GetSSHKnownHostsResponse { type AddSshKnownHostResponse (line 26) | enum AddSshKnownHostResponse { type AddSshKnownHostRequest (line 32) | struct AddSshKnownHostRequest { FILE: warpgate-admin/src/api/ldap_servers.rs type ImportLdapUsersRequest (line 19) | struct ImportLdapUsersRequest { type ImportLdapUsersResponse (line 24) | enum ImportLdapUsersResponse { type ImportApi (line 31) | pub struct ImportApi; method api_import_ldap_users (line 40) | async fn api_import_ldap_users( type LdapServerResponse (line 91) | struct LdapServerResponse { method from (line 110) | fn from(model: LdapServer::Model) -> Self { type CreateLdapServerRequest (line 137) | struct CreateLdapServerRequest { function default_port (line 163) | fn default_port() -> i32 { function default_user_filter (line 167) | fn default_user_filter() -> String { function default_tls_mode (line 171) | fn default_tls_mode() -> TlsMode { function default_tls_verify (line 175) | fn default_tls_verify() -> bool { function default_enabled (line 179) | fn default_enabled() -> bool { function default_auto_link_sso_users (line 183) | fn default_auto_link_sso_users() -> bool { function default_username_attribute (line 187) | fn default_username_attribute() -> LdapUsernameAttribute { function default_ssh_key_attribute (line 191) | fn default_ssh_key_attribute() -> String { function default_uuid_attribute (line 195) | fn default_uuid_attribute() -> String { type UpdateLdapServerRequest (line 200) | struct UpdateLdapServerRequest { type TestLdapServerRequest (line 218) | struct TestLdapServerRequest { type TestLdapServerResponse (line 228) | struct TestLdapServerResponse { type LdapUserResponse (line 235) | struct LdapUserResponse { method from (line 243) | fn from(user: warpgate_ldap::LdapUser) -> Self { type GetLdapServersResponse (line 254) | enum GetLdapServersResponse { type CreateLdapServerResponse (line 260) | enum CreateLdapServerResponse { type TestLdapServerConnectionResponse (line 273) | enum TestLdapServerConnectionResponse { type ListApi (line 281) | pub struct ListApi; method api_get_all_ldap_servers (line 290) | async fn api_get_all_ldap_servers( method api_create_ldap_server (line 319) | async fn api_create_ldap_server( method api_test_ldap_server (line 407) | async fn api_test_ldap_server( type GetLdapServerResponse (line 468) | enum GetLdapServerResponse { type UpdateLdapServerResponse (line 478) | enum UpdateLdapServerResponse { type DeleteLdapServerResponse (line 490) | enum DeleteLdapServerResponse { type DetailApi (line 498) | pub struct DetailApi; method api_get_ldap_server (line 507) | async fn api_get_ldap_server( method api_update_ldap_server (line 529) | async fn api_update_ldap_server( method api_delete_ldap_server (line 597) | async fn api_delete_ldap_server( type GetLdapUsersResponse (line 618) | enum GetLdapUsersResponse { type QueryApi (line 629) | pub struct QueryApi; method api_get_ldap_users (line 638) | async fn api_get_ldap_users( FILE: warpgate-admin/src/api/logs.rs type Api (line 14) | pub struct Api; method api_get_all_logs (line 35) | async fn api_get_all_logs( type GetLogsResponse (line 17) | enum GetLogsResponse { type GetLogsRequest (line 23) | struct GetLogsRequest { FILE: warpgate-admin/src/api/mod.rs function get (line 30) | pub fn get() -> impl OpenApi { FILE: warpgate-admin/src/api/otp_credentials.rs type ExistingOtpCredential (line 15) | struct ExistingOtpCredential { method from (line 25) | fn from(credential: OtpCredential::Model) -> Self { type NewOtpCredential (line 20) | struct NewOtpCredential { method from (line 31) | fn from(credential: &NewOtpCredential) -> Self { type GetOtpCredentialsResponse (line 39) | enum GetOtpCredentialsResponse { type CreateOtpCredentialResponse (line 45) | enum CreateOtpCredentialResponse { type ListApi (line 50) | pub struct ListApi; method api_get_all (line 59) | async fn api_get_all( method api_create (line 84) | async fn api_create( type DeleteCredentialResponse (line 109) | enum DeleteCredentialResponse { type DetailApi (line 116) | pub struct DetailApi; method api_delete (line 125) | async fn api_delete( FILE: warpgate-admin/src/api/pagination.rs type PaginatedResponse (line 7) | pub struct PaginatedResponse { type PaginationParams (line 13) | pub struct PaginationParams { function new (line 19) | pub async fn new( FILE: warpgate-admin/src/api/parameters.rs type Api (line 14) | pub struct Api; method api_get (line 51) | async fn api_get( method api_update_parameters (line 76) | async fn api_update_parameters( type ParameterValues (line 17) | struct ParameterValues { type ParameterUpdate (line 27) | struct ParameterUpdate { type GetParametersResponse (line 37) | enum GetParametersResponse { type UpdateParametersResponse (line 43) | enum UpdateParametersResponse { FILE: warpgate-admin/src/api/password_credentials.rs type ExistingPasswordCredential (line 15) | struct ExistingPasswordCredential { method from (line 25) | fn from(credential: PasswordCredential::Model) -> Self { type NewPasswordCredential (line 20) | struct NewPasswordCredential { type GetPasswordCredentialsResponse (line 31) | enum GetPasswordCredentialsResponse { type CreatePasswordCredentialResponse (line 37) | enum CreatePasswordCredentialResponse { type ListApi (line 42) | pub struct ListApi; method api_get_all (line 51) | async fn api_get_all( method api_create (line 76) | async fn api_create( type DeleteCredentialResponse (line 105) | enum DeleteCredentialResponse { type DetailApi (line 112) | pub struct DetailApi; method api_delete (line 121) | async fn api_delete( FILE: warpgate-admin/src/api/public_key_credentials.rs function check_user_ldap_linked (line 18) | async fn check_user_ldap_linked( function verify_user_not_ldap_linked (line 34) | async fn verify_user_not_ldap_linked(db: &DatabaseConnection, user_id: U... type ExistingPublicKeyCredential (line 43) | struct ExistingPublicKeyCredential { method from (line 58) | fn from(credential: PublicKeyCredential::Model) -> Self { type NewPublicKeyCredential (line 52) | struct NewPublicKeyCredential { type Error (line 70) | type Error = WarpgateError; method try_from (line 72) | fn try_from(credential: &NewPublicKeyCredential) -> Result Self { type NewSsoCredential (line 22) | struct NewSsoCredential { method from (line 38) | fn from(credential: &NewSsoCredential) -> Self { type GetSsoCredentialsResponse (line 47) | enum GetSsoCredentialsResponse { type CreateSsoCredentialResponse (line 53) | enum CreateSsoCredentialResponse { type UpdateSsoCredentialResponse (line 59) | enum UpdateSsoCredentialResponse { type ListApi (line 66) | pub struct ListApi; method api_get_all (line 75) | async fn api_get_all( method api_create (line 100) | async fn api_create( type DeleteCredentialResponse (line 125) | enum DeleteCredentialResponse { type DetailApi (line 132) | pub struct DetailApi; method api_update (line 141) | async fn api_update( method api_delete (line 173) | async fn api_delete( FILE: warpgate-admin/src/api/target_groups.rs type TargetGroupDataRequest (line 19) | struct TargetGroupDataRequest { type GetTargetGroupsResponse (line 26) | enum GetTargetGroupsResponse { type CreateTargetGroupResponse (line 32) | enum CreateTargetGroupResponse { type ListApi (line 43) | pub struct ListApi; method api_list_target_groups (line 52) | async fn api_list_target_groups( method api_create_target_group (line 73) | async fn api_create_target_group( type GetTargetGroupResponse (line 110) | enum GetTargetGroupResponse { type UpdateTargetGroupResponse (line 118) | enum UpdateTargetGroupResponse { type DeleteTargetGroupResponse (line 128) | enum DeleteTargetGroupResponse { type DetailApi (line 136) | pub struct DetailApi; method api_get_target_group (line 145) | async fn api_get_target_group( method api_update_target_group (line 167) | async fn api_update_target_group( method api_delete_target_group (line 211) | async fn api_delete_target_group( FILE: warpgate-admin/src/api/targets.rs type TargetDataRequest (line 23) | struct TargetDataRequest { type GetTargetsResponse (line 32) | enum GetTargetsResponse { type CreateTargetResponse (line 39) | enum CreateTargetResponse { type ListApi (line 50) | pub struct ListApi; method api_get_all_targets (line 55) | async fn api_get_all_targets( method api_create_target (line 104) | async fn api_create_target( type GetTargetResponse (line 147) | enum GetTargetResponse { type UpdateTargetResponse (line 156) | enum UpdateTargetResponse { type DeleteTargetResponse (line 166) | enum DeleteTargetResponse { type TargetKnownSshHostKeysResponse (line 175) | enum TargetKnownSshHostKeysResponse { type DetailApi (line 186) | pub struct DetailApi; method api_get_target (line 191) | async fn api_get_target( method api_update_target (line 209) | async fn api_update_target( method api_delete_target (line 257) | async fn api_delete_target( method get_ssh_target_known_ssh_host_keys (line 297) | async fn get_ssh_target_known_ssh_host_keys( type GetTargetRolesResponse (line 332) | enum GetTargetRolesResponse { type AddTargetRoleResponse (line 340) | enum AddTargetRoleResponse { type DeleteTargetRoleResponse (line 348) | enum DeleteTargetRoleResponse { type RolesApi (line 355) | pub struct RolesApi; method api_get_target_roles (line 364) | async fn api_get_target_roles( method api_add_target_role (line 394) | async fn api_add_target_role( method api_delete_target_role (line 432) | async fn api_delete_target_role( FILE: warpgate-admin/src/api/tickets_detail.rs type Api (line 12) | pub struct Api; method api_delete_ticket (line 30) | async fn api_delete_ticket( type DeleteTicketResponse (line 15) | enum DeleteTicketResponse { FILE: warpgate-admin/src/api/tickets_list.rs type Api (line 17) | pub struct Api; method api_get_all_tickets (line 52) | async fn api_get_all_tickets( method api_create_ticket (line 67) | async fn api_create_ticket( type GetTicketsResponse (line 20) | enum GetTicketsResponse { type CreateTicketRequest (line 26) | struct CreateTicketRequest { type TicketAndSecret (line 35) | struct TicketAndSecret { type CreateTicketResponse (line 41) | enum CreateTicketResponse { FILE: warpgate-admin/src/api/users.rs type CreateUserRequest (line 21) | struct CreateUserRequest { type UserDataRequest (line 27) | struct UserDataRequest { type GetUsersResponse (line 35) | enum GetUsersResponse { type CreateUserResponse (line 40) | enum CreateUserResponse { type ListApi (line 48) | pub struct ListApi; method api_get_all_users (line 53) | async fn api_get_all_users( method api_create_user (line 81) | async fn api_create_user( type GetUserResponse (line 116) | enum GetUserResponse { type UpdateUserResponse (line 125) | enum UpdateUserResponse { type DeleteUserResponse (line 133) | enum DeleteUserResponse { type UnlinkUserFromLdapResponse (line 142) | enum UnlinkUserFromLdapResponse { type AutoLinkUserToLdapResponse (line 154) | enum AutoLinkUserToLdapResponse { type DetailApi (line 165) | pub struct DetailApi; method api_get_user (line 170) | async fn api_get_user( method api_update_user (line 188) | async fn api_update_user( method api_delete_user (line 225) | async fn api_delete_user( method api_unlink_user_from_ldap (line 253) | async fn api_unlink_user_from_ldap( method api_auto_link_user_to_ldap (line 286) | async fn api_auto_link_user_to_ldap( type GetUserRolesResponse (line 358) | enum GetUserRolesResponse { type AddUserRoleResponse (line 366) | enum AddUserRoleResponse { type DeleteUserRoleResponse (line 374) | enum DeleteUserRoleResponse { type GetUserAdminRolesResponse (line 382) | enum GetUserAdminRolesResponse { type AddUserAdminRoleResponse (line 390) | enum AddUserAdminRoleResponse { type DeleteUserAdminRoleResponse (line 398) | enum DeleteUserAdminRoleResponse { type RolesApi (line 405) | pub struct RolesApi; method api_get_user_roles (line 414) | async fn api_get_user_roles( method api_add_user_role (line 444) | async fn api_add_user_role( method api_delete_user_role (line 482) | async fn api_delete_user_role( method api_get_user_admin_roles (line 521) | async fn api_get_user_admin_roles( method api_add_user_admin_role (line 551) | async fn api_add_user_admin_role( method api_delete_user_admin_role (line 590) | async fn api_delete_user_admin_role( FILE: warpgate-admin/src/lib.rs function admin_api_app (line 6) | pub fn admin_api_app() -> impl IntoEndpoint { FILE: warpgate-admin/src/main.rs function main (line 7) | pub fn main() { FILE: warpgate-ca/src/error.rs type CaError (line 6) | pub enum CaError { FILE: warpgate-ca/src/lib.rs method from (line 19) | fn from(err: KeyRejected) -> Self { type CertifiedKey (line 29) | pub struct CertifiedKey { method certificate_pem (line 38) | pub fn certificate_pem(&self) -> Result { method private_key_pem (line 45) | pub fn private_key_pem(&self) -> String { function generate_root_certificate_rcgen (line 51) | pub fn generate_root_certificate_rcgen() -> Result<(String, String), CaE... function deserialize_certificate (line 75) | pub fn deserialize_certificate(pem: &str) -> Result { function serialize_certificate_serial (line 81) | pub fn serialize_certificate_serial(cert: &Certificate) -> String { function certificate_sha256_hex_fingerprint (line 85) | pub fn certificate_sha256_hex_fingerprint(cert: &Certificate) -> Result<... function deserialize_ca (line 92) | pub fn deserialize_ca( function issue_client_certificate (line 120) | pub fn issue_client_certificate( function certificate_to_pem (line 237) | pub fn certificate_to_pem(certificate: &Certificate) -> Result &String { type RequestAuthorization (line 28) | pub enum RequestAuthorization { method username (line 58) | pub fn username(&self) -> Option<&String> { type UnauthenticatedRequestContext (line 35) | pub struct UnauthenticatedRequestContext { method to_authenticated (line 41) | pub fn to_authenticated(&self, auth: RequestAuthorization) -> Authenti... type AuthenticatedRequestContext (line 51) | pub struct AuthenticatedRequestContext { function is_localhost_host (line 68) | pub fn is_localhost_host(host: &str) -> bool { FILE: warpgate-common-http/src/logging.rs function get_client_ip (line 10) | pub async fn get_client_ip(req: &Request, services: &Services) -> Option... function span_for_request (line 40) | pub async fn span_for_request( function log_request_result (line 63) | pub fn log_request_result( function log_request_error (line 77) | pub fn log_request_error(method: &Method, url: &Uri, client_ip... FILE: warpgate-common/src/api.rs type TokenSecurityScheme (line 7) | pub struct TokenSecurityScheme(ApiKey); type CookieSecurityScheme (line 12) | pub struct CookieSecurityScheme(ApiKey); type AnySecurityScheme (line 16) | pub enum AnySecurityScheme { FILE: warpgate-common/src/auth/cred.rs type CredentialKind (line 9) | pub enum CredentialKind { type AuthCredential (line 25) | pub enum AuthCredential { method kind (line 43) | pub fn kind(&self) -> CredentialKind { method safe_description (line 54) | pub fn safe_description(&self) -> String { method from (line 67) | fn from(cred: UserCertificateCredential) -> Self { function from (line 75) | fn from(cred: AuthCredential) -> Self { FILE: warpgate-common/src/auth/policy.rs type CredentialPolicyResponse (line 5) | pub enum CredentialPolicyResponse { type CredentialPolicy (line 10) | pub trait CredentialPolicy { method is_sufficient (line 11) | fn is_sufficient( method is_sufficient (line 33) | fn is_sufficient( method is_sufficient (line 52) | fn is_sufficient( method is_sufficient (line 76) | fn is_sufficient( type AnySingleCredentialPolicy (line 18) | pub struct AnySingleCredentialPolicy { type AllCredentialsPolicy (line 22) | pub struct AllCredentialsPolicy { type PerProtocolCredentialPolicy (line 27) | pub struct PerProtocolCredentialPolicy { FILE: warpgate-common/src/auth/selector.rs type AuthSelector (line 6) | pub enum AuthSelector { method from (line 17) | fn from(selector: T) -> Self { method fmt (line 40) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { FILE: warpgate-common/src/auth/state.rs type AuthResult (line 13) | pub enum AuthResult { type AuthStateUserInfo (line 20) | pub struct AuthStateUserInfo { method from (line 26) | fn from(user: &User) -> Self { type AuthState (line 34) | pub struct AuthState { method new (line 58) | pub fn new( method id (line 83) | pub fn id(&self) -> &Uuid { method session_id (line 87) | pub fn session_id(&self) -> &Option { method user_info (line 91) | pub fn user_info(&self) -> &AuthStateUserInfo { method protocol (line 95) | pub fn protocol(&self) -> &str { method started (line 99) | pub fn started(&self) -> &DateTime { method identification_string (line 103) | pub fn identification_string(&self) -> &str { method add_valid_credential (line 107) | pub fn add_valid_credential(&mut self, credential: AuthCredential) { method reject (line 112) | pub fn reject(&mut self) { method verify (line 116) | pub fn verify(&self) -> AuthResult { method current_verification_state (line 120) | fn current_verification_state(&self) -> AuthResult { method maybe_update_verification_state (line 146) | fn maybe_update_verification_state(&mut self) -> AuthResult { method construct_web_approval_url (line 160) | pub fn construct_web_approval_url( function generate_identification_string (line 48) | fn generate_identification_string() -> String { FILE: warpgate-common/src/config/defaults.rs function _default_true (line 6) | pub(crate) const fn _default_true() -> bool { function _default_false (line 10) | pub(crate) const fn _default_false() -> bool { function _default_ssh_port (line 14) | pub(crate) const fn _default_ssh_port() -> u16 { function _default_mysql_port (line 18) | pub(crate) const fn _default_mysql_port() -> u16 { function _default_username (line 23) | pub(crate) fn _default_username() -> String { function _default_empty_string (line 28) | pub(crate) fn _default_empty_string() -> String { function _default_recordings_path (line 33) | pub(crate) fn _default_recordings_path() -> String { function _default_database_url (line 38) | pub(crate) fn _default_database_url() -> Secret { function _default_http_listen (line 43) | pub(crate) fn _default_http_listen() -> ListenEndpoint { function _default_mysql_listen (line 48) | pub(crate) fn _default_mysql_listen() -> ListenEndpoint { function _default_postgres_listen (line 53) | pub(crate) fn _default_postgres_listen() -> ListenEndpoint { function _default_kubernetes_listen (line 58) | pub(crate) fn _default_kubernetes_listen() -> ListenEndpoint { function _default_retention (line 63) | pub(crate) fn _default_retention() -> Duration { function _default_session_max_age (line 68) | pub(crate) fn _default_session_max_age() -> Duration { function _default_cookie_max_age (line 73) | pub(crate) fn _default_cookie_max_age() -> Duration { function _default_empty_vec (line 78) | pub(crate) fn _default_empty_vec() -> Vec { function _default_ssh_listen (line 82) | pub(crate) fn _default_ssh_listen() -> ListenEndpoint { function _default_ssh_keys_path (line 86) | pub(crate) fn _default_ssh_keys_path() -> String { function _default_ssh_inactivity_timeout (line 90) | pub(crate) fn _default_ssh_inactivity_timeout() -> Duration { function _default_postgres_idle_timeout_str (line 94) | pub(crate) fn _default_postgres_idle_timeout_str() -> Option { FILE: warpgate-common/src/config/mod.rs type UserAuthCredential (line 29) | pub enum UserAuthCredential { method kind (line 77) | pub fn kind(&self) -> CredentialKind { type UserPasswordCredential (line 43) | pub struct UserPasswordCredential { method from_password (line 48) | pub fn from_password(password: &Secret) -> Self { type UserPublicKeyCredential (line 56) | pub struct UserPublicKeyCredential { type UserCertificateCredential (line 61) | pub struct UserCertificateCredential { type UserTotpCredential (line 66) | pub struct UserTotpCredential { type UserSsoCredential (line 71) | pub struct UserSsoCredential { type UserRequireCredentialsPolicy (line 89) | pub struct UserRequireCredentialsPolicy { method upgrade_to_otp (line 104) | pub fn upgrade_to_otp(&self, with_existing_credentials: &[UserAuthCred... type User (line 144) | pub struct User { type UserDetails (line 157) | pub struct UserDetails { type Target (line 164) | type Target = User; method deref (line 166) | fn deref(&self) -> &Self::Target { type Role (line 172) | pub struct Role { type AdminRole (line 180) | pub struct AdminRole { method has_permission (line 235) | pub fn has_permission(&self, perm: AdminPermission) -> bool { type AdminPermission (line 214) | pub enum AdminPermission { type SshHostKeyVerificationMode (line 259) | pub enum SshHostKeyVerificationMode { type LogFormat (line 273) | pub enum LogFormat { type SshConfig (line 280) | pub struct SshConfig { method external_port (line 319) | pub fn external_port(&self) -> u16 { method default (line 305) | fn default() -> Self { type SniCertificateConfig (line 325) | pub struct SniCertificateConfig { type HttpConfig (line 331) | pub struct HttpConfig { method external_port (line 375) | pub fn external_port(&self) -> u16 { method default (line 360) | fn default() -> Self { method certificate_path (line 381) | fn certificate_path(&self) -> PathBuf { method key_path (line 385) | fn key_path(&self) -> PathBuf { method certificate_path (line 391) | fn certificate_path(&self) -> PathBuf { method key_path (line 395) | fn key_path(&self) -> PathBuf { type MySqlConfig (line 401) | pub struct MySqlConfig { method external_port (line 431) | pub fn external_port(&self) -> u16 { method default (line 419) | fn default() -> Self { type KubernetesConfig (line 437) | pub struct KubernetesConfig { method external_port (line 472) | pub fn external_port(&self) -> u16 { method default (line 459) | fn default() -> Self { type PostgresConfig (line 478) | pub struct PostgresConfig { method external_port (line 508) | pub fn external_port(&self) -> u16 { method default (line 496) | fn default() -> Self { type RecordingsConfig (line 514) | pub struct RecordingsConfig { method default (line 523) | fn default() -> Self { type LogConfig (line 532) | pub struct LogConfig { method default (line 545) | fn default() -> Self { type WarpgateConfigStore (line 555) | pub struct WarpgateConfigStore { method default (line 589) | fn default() -> Self { type WarpgateConfig (line 606) | pub struct WarpgateConfig { method external_host_from_config (line 611) | pub fn external_host_from_config(&self) -> Option<(Scheme, String, Opt... method external_host_from_request (line 630) | pub fn external_host_from_request( method construct_external_url (line 669) | pub fn construct_external_url( method validate (line 700) | pub fn validate(&self) { FILE: warpgate-common/src/config/target.rs type KubernetesTargetCertificateAuth (line 12) | pub struct KubernetesTargetCertificateAuth { method default (line 18) | fn default() -> Self { type TargetSSHOptions (line 27) | pub struct TargetSSHOptions { type SSHTargetAuth (line 42) | pub enum SSHTargetAuth { type SshTargetPasswordAuth (line 50) | pub struct SshTargetPasswordAuth { type SshTargetPublicKeyAuth (line 55) | pub struct SshTargetPublicKeyAuth {} method default (line 58) | fn default() -> Self { type TargetHTTPOptions (line 64) | pub struct TargetHTTPOptions { type Tls (line 79) | pub struct Tls { method default (line 89) | fn default() -> Self { type TargetMySqlOptions (line 98) | pub struct TargetMySqlOptions { type TargetPostgresOptions (line 119) | pub struct TargetPostgresOptions { type TargetKubernetesOptions (line 143) | pub struct TargetKubernetesOptions { type KubernetesTargetAuth (line 157) | pub enum KubernetesTargetAuth { type KubernetesTargetTokenAuth (line 165) | pub struct KubernetesTargetTokenAuth { method default (line 170) | fn default() -> Self { type Target (line 176) | pub struct Target { type TargetOptions (line 191) | pub enum TargetOptions { FILE: warpgate-common/src/config_schema.rs function main (line 4) | fn main() { FILE: warpgate-common/src/consts.rs constant TICKET_SELECTOR_PREFIX (line 1) | pub const TICKET_SELECTOR_PREFIX: &str = "ticket-"; FILE: warpgate-common/src/error.rs type WarpgateError (line 13) | pub enum WarpgateError { method other (line 83) | pub fn other(err: E) -> Self { method status (line 69) | fn status(&self) -> poem::http::StatusCode { method meta (line 89) | fn meta() -> poem_openapi::registry::MetaResponses { method register (line 93) | fn register(registry: &mut poem_openapi::registry::Registry) { FILE: warpgate-common/src/eventhub.rs type EventSender (line 8) | pub struct EventSender { method clone (line 13) | fn clone(&self) -> Self { function cleanup_subscriptions (line 21) | async fn cleanup_subscriptions(&self) -> MutexGuard<'_, SubscriptionStor... function send_all (line 29) | pub async fn send_all(&'h self, event: E) -> Result<(), SendError> { function send_once (line 46) | pub async fn send_once(&'h self, event: E) -> Result<(), SendError> { type EventSubscription (line 59) | pub struct EventSubscription(UnboundedReceiver); function recv (line 62) | pub async fn recv(&mut self) -> Option { type SubscriptionStoreInner (line 67) | type SubscriptionStoreInner = Vec<(Box bool + Send>, Un... type SubscriptionStore (line 68) | type SubscriptionStore = Arc>>; type EventHub (line 70) | pub struct EventHub { function setup (line 75) | pub fn setup() -> (Self, EventSender) { function subscribe (line 85) | pub async fn subscribe bool + Send + 'static>( FILE: warpgate-common/src/helpers/fs.rs function maybe_apply_permissions (line 6) | fn maybe_apply_permissions>( function warn_failure (line 17) | fn warn_failure(e: &std::io::Error) { function secure_directory (line 22) | pub fn secure_directory>(path: P) -> std::io::Result<()> { function secure_file (line 27) | pub fn secure_file>(path: P) -> std::io::Result<()> { FILE: warpgate-common/src/helpers/hash.rs function hash_password (line 10) | pub fn hash_password(password: &str) -> String { function parse_hash (line 21) | pub fn parse_hash(hash: &str) -> Result, Error> { function verify_password_hash (line 25) | pub fn verify_password_hash(password: &str, hash: &str) -> Result { function generate_ticket_secret (line 34) | pub fn generate_ticket_secret() -> Secret { FILE: warpgate-common/src/helpers/locks.rs function log_state (line 14) | fn log_state() { type MutexGuard (line 24) | pub struct MutexGuard<'a, T> { function new (line 30) | pub fn new(inner: tokio::sync::MutexGuard<'a, T>, poisoned: &'a AtomicBo... function identity (line 41) | fn identity(&self) -> String { type Target (line 51) | type Target = T; method deref (line 53) | fn deref(&self) -> &Self::Target { method deref_mut (line 59) | fn deref_mut(&mut self) -> &mut Self::Target { method drop (line 65) | fn drop(&mut self) { type Mutex (line 84) | pub struct Mutex { function new (line 90) | pub fn new(data: T) -> Self { function lock (line 97) | pub async fn lock(&self) -> MutexGuard<'_, T> { function _lock (line 102) | async fn _lock(&self) -> MutexGuard<'_, T> { FILE: warpgate-common/src/helpers/otp.rs type OtpExposedSecretKey (line 9) | pub type OtpExposedSecretKey = Vec; type OtpSecretKey (line 10) | pub type OtpSecretKey = Secret; function generate_key (line 12) | pub fn generate_key() -> OtpSecretKey { function generate_setup_url (line 16) | pub fn generate_setup_url(key: &OtpSecretKey, label: &str) -> Secret) -> TOTP { function verify_totp (line 33) | pub fn verify_totp(code: &str, key: &OtpSecretKey) -> bool { FILE: warpgate-common/src/helpers/rng.rs function get_crypto_rng (line 4) | pub fn get_crypto_rng() -> ChaCha20Rng { FILE: warpgate-common/src/helpers/serde_base64.rs function serialize (line 4) | pub fn serialize>( function deserialize (line 11) | pub fn deserialize<'de, D: serde::Deserializer<'de>, B: From>>( FILE: warpgate-common/src/helpers/serde_base64_secret.rs function serialize (line 6) | pub fn serialize( function deserialize (line 13) | pub fn deserialize<'de, D: serde::Deserializer<'de>>( FILE: warpgate-common/src/helpers/websocket.rs type TungsteniteCompatibleWebsocketMessage (line 7) | pub trait TungsteniteCompatibleWebsocketMessage { method to_tungstenite_message (line 8) | fn to_tungstenite_message(self) -> tungstenite::Message; method from_tungstenite_message (line 9) | fn from_tungstenite_message(m: tungstenite::Message) -> Self; method to_tungstenite_message (line 13) | fn to_tungstenite_message(self) -> tungstenite::Message { method from_tungstenite_message (line 28) | fn from_tungstenite_message(msg: tungstenite::Message) -> Self { method to_tungstenite_message (line 43) | fn to_tungstenite_message(self) -> tungstenite::Message { method from_tungstenite_message (line 60) | fn from_tungstenite_message(msg: tungstenite::Message) -> Self { method to_tungstenite_message (line 79) | fn to_tungstenite_message(self) -> tungstenite::Message { method from_tungstenite_message (line 83) | fn from_tungstenite_message(msg: tungstenite::Message) -> Self { function pump_websocket (line 88) | pub async fn pump_websocket< FILE: warpgate-common/src/state.rs type GlobalParams (line 6) | pub struct GlobalParams { method new (line 13) | pub fn new(config_path: PathBuf, should_secure_files: bool) -> anyhow:... method config_path (line 24) | pub fn config_path(&self) -> &PathBuf { method paths_relative_to (line 28) | pub fn paths_relative_to(&self) -> &PathBuf { method should_secure_files (line 32) | pub fn should_secure_files(&self) -> bool { FILE: warpgate-common/src/try_macro.rs function test_catch (line 31) | fn test_catch() { function test_success (line 45) | fn test_success() { FILE: warpgate-common/src/types/aliases.rs type SessionId (line 3) | pub type SessionId = Uuid; type ProtocolName (line 4) | pub type ProtocolName = &'static str; FILE: warpgate-common/src/types/listen_endpoint.rs type ListenEndpoint (line 16) | pub struct ListenEndpoint(SocketAddr); method address (line 19) | pub fn address(&self) -> SocketAddr { method addresses_to_listen_on (line 23) | pub fn addresses_to_listen_on(&self) -> Result, Warpga... method tcp_listeners (line 43) | pub async fn tcp_listeners(&self) -> Result, Warpgate... method poem_listener (line 53) | pub async fn poem_listener(&self) -> Result u16 { method from (line 86) | fn from(addr: SocketAddr) -> Self { method deserialize (line 92) | fn deserialize(deserializer: D) -> Result method serialize (line 113) | fn serialize(&self, serializer: S) -> Result method fmt (line 122) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { FILE: warpgate-common/src/types/secret.rs type Secret (line 15) | pub struct Secret(T); function random (line 18) | pub fn random() -> Self { function new (line 24) | pub const fn new(v: T) -> Self { function expose_secret (line 28) | pub fn expose_secret(&self) -> &T { function from (line 34) | fn from(v: T) -> Self { function deserialize (line 43) | fn deserialize(deserializer: D) -> Result method serialize (line 56) | fn serialize(&self, serializer: S) -> Result method fmt (line 65) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { constant IS_REQUIRED (line 71) | const IS_REQUIRED: bool = T::IS_REQUIRED; type RawValueType (line 72) | type RawValueType = T::RawValueType; type RawElementValueType (line 73) | type RawElementValueType = T::RawElementValueType; function name (line 75) | fn name() -> Cow<'static, str> { function schema_ref (line 78) | fn schema_ref() -> MetaSchemaRef { function register (line 81) | fn register(registry: &mut Registry) { method parse_from_json (line 98) | fn parse_from_json(value: Option) -> poem_openapi::ty... method to_json (line 106) | fn to_json(&self) -> Option { FILE: warpgate-common/src/version.rs function warpgate_version (line 3) | pub fn warpgate_version() -> &'static str { FILE: warpgate-core/src/auth_state_store.rs type AuthCompletionSignal (line 16) | struct AuthCompletionSignal { method is_expired (line 22) | pub fn is_expired(&self) -> bool { type AuthStateStore (line 27) | pub struct AuthStateStore { method new (line 35) | pub fn new(config_provider: Arc>) -> Self { method contains_key (line 44) | pub fn contains_key(&self, id: &Uuid) -> bool { method all_pending_web_auths_for_user (line 48) | pub async fn all_pending_web_auths_for_user( method get (line 71) | pub fn get(&self, id: &Uuid) -> Option>> { method subscribe_web_auth_request (line 75) | pub fn subscribe_web_auth_request(&self) -> broadcast::Receiver { method create (line 79) | pub async fn create( method subscribe (line 136) | pub fn subscribe(&mut self, id: Uuid) -> broadcast::Receiver>) -> Self { method sync_ldap_ssh_keys (line 37) | async fn sync_ldap_ssh_keys( method maybe_autocreate_sso_user (line 118) | async fn maybe_autocreate_sso_user( method list_users (line 209) | async fn list_users(&mut self) -> Result, WarpgateError> { method list_targets (line 222) | async fn list_targets(&mut self) -> Result, WarpgateError> { method get_credential_policy (line 235) | async fn get_credential_policy( method username_for_sso_credential (line 334) | async fn username_for_sso_credential( method validate_credential (line 390) | async fn validate_credential( method authorize_target (line 503) | async fn authorize_target( method apply_sso_role_mappings (line 553) | async fn apply_sso_role_mappings( method apply_sso_admin_role_mappings (line 615) | async fn apply_sso_admin_role_mappings( method update_public_key_last_used (line 674) | async fn update_public_key_last_used( method validate_api_token (line 728) | async fn validate_api_token(&mut self, token: &str) -> Result Result, WarpgateError>; method list_targets (line 26) | async fn list_targets(&mut self) -> Result, WarpgateError>; method validate_credential (line 28) | async fn validate_credential( method username_for_sso_credential (line 34) | async fn username_for_sso_credential( method apply_sso_role_mappings (line 41) | async fn apply_sso_role_mappings( method apply_sso_admin_role_mappings (line 49) | async fn apply_sso_admin_role_mappings( method get_credential_policy (line 56) | async fn get_credential_policy( method authorize_target (line 62) | async fn authorize_target( method update_public_key_last_used (line 68) | async fn update_public_key_last_used( method validate_api_token (line 73) | async fn validate_api_token(&mut self, token: &str) -> Result Self { FILE: warpgate-core/src/db/mod.rs function connect_to_db (line 17) | pub async fn connect_to_db( function populate_db (line 62) | pub async fn populate_db( function cleanup_db (line 92) | pub async fn cleanup_db( FILE: warpgate-core/src/logging/database.rs function make_database_logger_layer (line 19) | pub fn make_database_logger_layer() -> impl Layer function install_database_logger (line 33) | pub fn install_database_logger(database: Arc>) { function values_to_log_entry_data (line 54) | fn values_to_log_entry_data(mut values: SerializedRecordValues) -> Optio... FILE: warpgate-core/src/logging/json_console.rs type JsonLogEntry (line 14) | struct JsonLogEntry { type JsonConsoleLayer (line 23) | pub struct JsonConsoleLayer; method on_event (line 29) | fn on_event(&self, event: &Event<'_>, ctx: Context<'_, S>) { method on_new_span (line 80) | fn on_new_span( function make_json_console_logger_layer (line 98) | pub fn make_json_console_logger_layer() -> impl Layer function level_to_str (line 105) | fn level_to_str(level: &Level) -> &'static str { FILE: warpgate-core/src/logging/layer.rs type ValuesLogLayer (line 7) | pub struct ValuesLogLayer function new (line 18) | pub fn new(callback: C) -> Self { function on_new_span (line 29) | fn on_new_span( function on_event (line 45) | fn on_event(&self, event: &Event<'_>, ctx: Context<'_, S>) { FILE: warpgate-core/src/logging/socket.rs function make_socket_logger_layer (line 14) | pub async fn make_socket_logger_layer(config: &WarpgateConfig) -> imp... FILE: warpgate-core/src/logging/values.rs type SerializedRecordValuesInner (line 9) | pub type SerializedRecordValuesInner = HashMap<&'static str, String>; type SerializedRecordValues (line 12) | pub struct SerializedRecordValues(SerializedRecordValuesInner); method new (line 15) | pub fn new() -> Self { method into_values (line 19) | pub fn into_values(self) -> SerializedRecordValuesInner { type Target (line 25) | type Target = SerializedRecordValuesInner; method deref (line 27) | fn deref(&self) -> &Self::Target { method deref_mut (line 33) | fn deref_mut(&mut self) -> &mut Self::Target { type RecordVisitor (line 38) | pub struct RecordVisitor<'a> { function new (line 43) | pub fn new(values: &'a mut SerializedRecordValues) -> Self { method record_str (line 49) | fn record_str(&mut self, field: &Field, value: &str) { method record_debug (line 53) | fn record_debug(&mut self, field: &Field, value: &dyn Debug) { FILE: warpgate-core/src/protocols/handle.rs type SessionHandle (line 13) | pub trait SessionHandle { method close (line 14) | fn close(&mut self); type WarpgateServerHandle (line 18) | pub struct WarpgateServerHandle { method new (line 27) | pub fn new( method id (line 43) | pub fn id(&self) -> SessionId { method session_state (line 47) | pub fn session_state(&self) -> &Arc> { method set_user_info (line 51) | pub async fn set_user_info(&self, user_info: AuthStateUserInfo) -> Res... method set_target (line 78) | pub async fn set_target(&self, target: &Target) -> Result<(), Warpgate... method wrap_stream (line 106) | pub async fn wrap_stream( method update_rate_limiters (line 121) | async fn update_rate_limiters(&self) -> Result<(), WarpgateError> { method drop (line 130) | fn drop(&mut self) { FILE: warpgate-core/src/protocols/mod.rs type TargetTestError (line 12) | pub enum TargetTestError { type ProtocolServer (line 27) | pub trait ProtocolServer { method name (line 28) | fn name(&self) -> &'static str; method run (line 29) | fn run(self, address: ListenEndpoint) -> impl Future InnerRateLimiter { function assert_valid_quota (line 30) | pub fn assert_valid_quota(v: u32) -> Result { type WarpgateRateLimiter (line 41) | pub struct WarpgateRateLimiter { method now (line 54) | pub fn now() -> QuantaInstant { method unlimited (line 58) | pub fn unlimited() -> SharedWarpgateRateLimiter { method limited (line 62) | pub fn limited(bytes_per_second: NonZeroU32) -> SharedWarpgateRateLimi... method new (line 71) | pub fn new(bytes_per_second: Option) -> Result) -> Result<(),... method bytes_ready_at (line 92) | pub fn bytes_ready_at( method share (line 110) | fn share(self) -> SharedWarpgateRateLimiter { method fmt (line 46) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { FILE: warpgate-core/src/rate_limiting/mod.rs type RateLimiterDirection (line 43) | pub enum RateLimiterDirection { type InnerRateLimiter (line 48) | pub type InnerRateLimiter = DefaultKeyedRateLimiter; FILE: warpgate-core/src/rate_limiting/registry.rs type RateLimiterRegistry (line 15) | pub struct RateLimiterRegistry { method new (line 23) | pub fn new(db: Arc>) -> Self { method refresh (line 33) | pub async fn refresh(&mut self) -> Result<(), WarpgateError> { method global (line 48) | pub fn global(&self) -> SharedWarpgateRateLimiter { method global_quota (line 52) | async fn global_quota(&mut self) -> Result, WarpgateError> { method user (line 58) | pub async fn user( method quota_for_user (line 71) | async fn quota_for_user(&self, user_id: &Uuid) -> Result, ... method target (line 79) | pub async fn target( method quota_for_target (line 92) | async fn quota_for_target(&self, target_id: &Uuid) -> Result Re... FILE: warpgate-core/src/rate_limiting/shared_limiter.rs type SharedWarpgateRateLimiter (line 8) | pub struct SharedWarpgateRateLimiter { method new (line 13) | pub(crate) fn new(limiter: WarpgateRateLimiter) -> Self { method lock (line 19) | pub fn lock(&self) -> SharedWarpgateRateLimiterGuard<'_> { type SharedWarpgateRateLimiterGuard (line 27) | pub struct SharedWarpgateRateLimiterGuard<'a> { function new (line 34) | pub fn new(inner: std::sync::MutexGuard<'a, WarpgateRateLimiter>) -> Self { type Target (line 43) | type Target = WarpgateRateLimiter; method deref (line 45) | fn deref(&self) -> &Self::Target { method deref_mut (line 51) | fn deref_mut(&mut self) -> &mut Self::Target { FILE: warpgate-core/src/rate_limiting/stack.rs type RateLimiterStackHandle (line 10) | pub struct RateLimiterStackHandle { function stack_rate_limiters (line 16) | pub fn stack_rate_limiters( FILE: warpgate-core/src/rate_limiting/stream.rs type WaitFuture (line 16) | type WaitFuture = Pin + Send>>; type PendingWaitState (line 18) | enum PendingWaitState { type PendingWait (line 32) | struct PendingWait { method new (line 38) | pub fn new(direction: RateLimiterDirection) -> Self { method poll_rate_limit (line 45) | fn poll_rate_limit( method reset (line 98) | pub fn reset(&mut self, last_chunk_size: usize) { type RateLimitedStream (line 107) | pub struct RateLimitedStream { function new (line 115) | pub fn new(inner: T, limiter: SwappableLimiterCell) -> Self { function new_unlimited (line 124) | pub fn new_unlimited(inner: T) -> (Self, SwappableLimiterCellHandle) { function poll_read_nowait (line 140) | fn poll_read_nowait( function poll_write_nowait (line 157) | fn poll_write_nowait( method poll_read (line 175) | fn poll_read( method poll_write (line 195) | fn poll_write( method poll_flush (line 214) | fn poll_flush(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll, cx: &mut Context<'_>) -> Poll) { type SwappableLimiterCell (line 21) | pub struct SwappableLimiterCell { method empty (line 28) | pub fn empty() -> Self { method handle (line 37) | pub fn handle(&self) -> SwappableLimiterCellHandle { method _maybe_update (line 43) | fn _maybe_update(&mut self) { method bytes_ready_at (line 51) | pub fn bytes_ready_at( FILE: warpgate-core/src/recordings/mod.rs type Error (line 23) | pub enum Error { type Result (line 43) | pub type Result = std::result::Result; type Recorder (line 45) | pub trait Recorder { method kind (line 46) | fn kind() -> RecordingKind; method new (line 47) | fn new(writer: RecordingWriter) -> Self; type SessionRecordings (line 50) | pub struct SessionRecordings { method new (line 59) | pub fn new( method start (line 82) | pub async fn start( method subscribe_live (line 142) | pub async fn subscribe_live(&self, id: &Uuid) -> Option Resu... method path_for (line 163) | pub fn path_for>(&self, session_id: &SessionId, name: P... FILE: warpgate-core/src/recordings/terminal.rs type AsciiCast (line 11) | pub enum AsciiCast { method from (line 59) | fn from(item: TerminalRecordingItem) -> Self { type TerminalRecordingStreamId (line 23) | pub enum TerminalRecordingStreamId { method from_usual_fd_number (line 31) | pub fn from_usual_fd_number(fd: u8) -> Option { type TerminalRecordingItem (line 43) | pub enum TerminalRecordingItem { type TerminalRecorder (line 81) | pub struct TerminalRecorder { method get_time (line 87) | fn get_time(&self) -> f32 { method write_item (line 91) | async fn write_item(&mut self, item: &TerminalRecordingItem) -> Result... method write (line 98) | pub async fn write(&mut self, stream: TerminalRecordingStreamId, data:... method write_pty_resize (line 107) | pub async fn write_pty_resize(&mut self, cols: u32, rows: u32) -> Resu... method kind (line 118) | fn kind() -> RecordingKind { method new (line 122) | fn new(writer: RecordingWriter) -> Self { FILE: warpgate-core/src/recordings/traffic.rs type TrafficRecorder (line 14) | pub struct TrafficRecorder { method connection (line 33) | pub fn connection(&mut self, params: TrafficConnectionParams) -> Conne... type TrafficConnectionParams (line 20) | pub enum TrafficConnectionParams { method kind (line 39) | fn kind() -> RecordingKind { method new (line 43) | fn new(writer: RecordingWriter) -> Self { type ConnectionRecorder (line 51) | pub struct ConnectionRecorder { method new (line 60) | fn new(params: TrafficConnectionParams, writer: RecordingWriter, start... method write_connection_setup (line 70) | pub async fn write_connection_setup(&mut self) -> Result<()> { method write_packet (line 84) | async fn write_packet(&mut self, data: Bytes) -> Result<()> { method write_rx (line 102) | pub async fn write_rx(&mut self, data: &[u8]) -> Result<()> { method write_tx (line 121) | pub async fn write_tx(&mut self, data: &[u8]) -> Result<()> { method ip_packet_tx (line 140) | fn ip_packet_tx(&self, f: F) -> Result method ip_packet_rx (line 158) | fn ip_packet_rx(&self, f: F) -> Result method tcp_packet_tx (line 176) | fn tcp_packet_tx(&self, f: F) -> Result method tcp_packet_rx (line 188) | fn tcp_packet_rx(&self, f: F) -> Result method tcp_init (line 200) | fn tcp_init(&mut self) -> Result<(Bytes, Bytes, Bytes)> { FILE: warpgate-core/src/recordings/writer.rs type RecordingWriter (line 20) | pub struct RecordingWriter { method new (line 27) | pub(crate) async fn new( method write (line 111) | pub async fn write(&mut self, data: &[u8]) -> Result<()> { method drop (line 123) | fn drop(&mut self) { FILE: warpgate-core/src/services.rs type Services (line 15) | pub struct Services { method new (line 28) | pub async fn new( FILE: warpgate-core/src/state.rs type State (line 17) | pub struct State { method new (line 25) | pub fn new( method register_session (line 38) | pub async fn register_session( method subscribe (line 89) | pub fn subscribe(&mut self) -> broadcast::Receiver<()> { method remove_session (line 93) | pub async fn remove_session(&mut self, id: SessionId) { method mark_session_complete (line 103) | async fn mark_session_complete(&mut self, id: Uuid) -> Result<()> { type SessionState (line 117) | pub struct SessionState { method new (line 132) | fn new(init: SessionStateInit, change_sender: broadcast::Sender<()>) -... method emit_change (line 143) | pub fn emit_change(&self) { type SessionStateInit (line 126) | pub struct SessionStateInit { FILE: warpgate-database-protocols/src/error.rs type Result (line 10) | pub type Result = StdResult; type BoxDynError (line 14) | pub type BoxDynError = Box; type UnexpectedNullError (line 22) | pub struct UnexpectedNullError; type Error (line 27) | pub enum Error { method protocol (line 104) | pub(crate) fn protocol(err: impl Display) -> Self { method config (line 110) | pub(crate) fn config(err: impl StdError + Send + Sync + 'static) -> Se... method from (line 174) | fn from(error: E) -> Self { type DatabaseError (line 116) | pub trait DatabaseError: 'static + Send + Sync + StdError { method message (line 118) | fn message(&self) -> &str; method code (line 121) | fn code(&self) -> Option> { method as_error (line 126) | fn as_error(&self) -> &(dyn StdError + Send + Sync + 'static); method as_error_mut (line 129) | fn as_error_mut(&mut self) -> &mut (dyn StdError + Send + Sync + 'stat... method into_error (line 132) | fn into_error(self: Box) -> Box bool { method constraint (line 144) | fn constraint(&self) -> Option<&str> { function try_downcast_ref (line 153) | pub fn try_downcast_ref(&self) -> Option<&E> { function try_downcast (line 159) | pub fn try_downcast(self: Box) -> StdResult Result; method get_bytes (line 14) | fn get_bytes(&mut self, len: usize) -> Bytes; method get_str_nul (line 17) | fn get_str_nul(&mut self) -> Result; method get_str (line 20) | fn get_str(&mut self, len: usize) -> Result; method get_bytes_nul (line 24) | fn get_bytes_nul(&mut self) -> Result { method get_bytes (line 35) | fn get_bytes(&mut self, len: usize) -> Bytes { method get_str_nul (line 42) | fn get_str_nul(&mut self) -> Result { method get_str (line 50) | fn get_str(&mut self, len: usize) -> Result { FILE: warpgate-database-protocols/src/io/buf_mut.rs type BufMutExt (line 3) | pub trait BufMutExt: BufMut { method put_str_nul (line 4) | fn put_str_nul(&mut self, s: &str); method put_str_nul (line 8) | fn put_str_nul(&mut self, s: &str) { FILE: warpgate-database-protocols/src/io/buf_stream.rs type BufStream (line 15) | pub struct BufStream function new (line 33) | pub fn new(stream: S) -> Self { function write (line 41) | pub fn write<'en, T>(&mut self, value: T) function write_with (line 48) | pub fn write_with<'en, T, C>(&mut self, value: T, context: C) function flush (line 55) | pub fn flush(&mut self) -> WriteAndFlush<'_, S> { function read (line 62) | pub async fn read<'de, T>(&mut self, cnt: usize) -> Result function read_with (line 69) | pub async fn read_with<'de, T, C>(&mut self, cnt: usize, context: C) -> ... function read_raw (line 76) | pub async fn read_raw(&mut self, cnt: usize) -> Result { function read_raw_into (line 83) | pub async fn read_raw_into(&mut self, buf: &mut BytesMut, cnt: usize) ->... function take (line 87) | pub fn take(self) -> S { type Target (line 96) | type Target = S; method deref (line 98) | fn deref(&self) -> &Self::Target { method deref_mut (line 107) | fn deref_mut(&mut self) -> &mut Self::Target { type BufTruncator (line 115) | struct BufTruncator<'a> { function new (line 121) | fn new(buf: &'a mut BytesMut) -> Self { function reserve (line 125) | fn reserve(&mut self, space: usize) { function read (line 128) | async fn read(&mut self, stream: &mut S) -> Result... function is_full (line 133) | fn is_full(&self) -> bool { method drop (line 139) | fn drop(&mut self) { function read_raw_into (line 144) | async fn read_raw_into( FILE: warpgate-database-protocols/src/io/decode.rs type Decode (line 5) | pub trait Decode<'de, Context = ()> method decode (line 9) | fn decode(buf: Bytes) -> Result method decode_with (line 16) | fn decode_with(buf: Bytes, context: Context) -> Result; method decode_with (line 20) | fn decode_with(buf: Bytes, _: ()) -> Result { function decode_with (line 26) | fn decode_with(_: Bytes, _: ()) -> Result<(), Error> { FILE: warpgate-database-protocols/src/io/encode.rs type Encode (line 1) | pub trait Encode<'en, Context = ()> { method encode (line 2) | fn encode(&self, buf: &mut Vec) method encode_with (line 9) | fn encode_with(&self, buf: &mut Vec, context: Context); function encode_with (line 13) | fn encode_with(&self, buf: &mut Vec, _: C) { FILE: warpgate-database-protocols/src/io/write_and_flush.rs type WriteAndFlush (line 13) | pub struct WriteAndFlush<'a, S> { type Output (line 19) | type Output = Result<(), Error>; method poll (line 21) | fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll &'static str { method default_collation (line 98) | pub(crate) fn default_collation(&self) -> Collation { type Err (line 146) | type Err = Error; method from_str (line 148) | fn from_str(char_set: &str) -> Result { type Collation (line 204) | pub(crate) enum Collation { method as_str (line 432) | pub(crate) fn as_str(&self) -> &'static str { type Err (line 665) | type Err = Error; method from_str (line 667) | fn from_str(collation: &str) -> Result { FILE: warpgate-database-protocols/src/mysql/io/buf.rs type MySqlBufExt (line 6) | pub trait MySqlBufExt: Buf { method get_uint_lenenc (line 11) | fn get_uint_lenenc(&mut self) -> u64; method get_str_lenenc (line 14) | fn get_str_lenenc(&mut self) -> Result; method get_bytes_lenenc (line 17) | fn get_bytes_lenenc(&mut self) -> Bytes; method get_uint_lenenc (line 21) | fn get_uint_lenenc(&mut self) -> u64 { method get_str_lenenc (line 31) | fn get_str_lenenc(&mut self) -> Result { method get_bytes_lenenc (line 36) | fn get_bytes_lenenc(&mut self) -> Bytes { FILE: warpgate-database-protocols/src/mysql/io/buf_mut.rs type MySqlBufMutExt (line 3) | pub trait MySqlBufMutExt: BufMut { method put_uint_lenenc (line 4) | fn put_uint_lenenc(&mut self, v: u64); method put_str_lenenc (line 6) | fn put_str_lenenc(&mut self, v: &str); method put_bytes_lenenc (line 8) | fn put_bytes_lenenc(&mut self, v: &[u8]); method put_uint_lenenc (line 12) | fn put_uint_lenenc(&mut self, v: u64) { method put_str_lenenc (line 30) | fn put_str_lenenc(&mut self, v: &str) { method put_bytes_lenenc (line 34) | fn put_bytes_lenenc(&mut self, v: &[u8]) { function test_encodes_int_lenenc_u8 (line 41) | fn test_encodes_int_lenenc_u8() { function test_encodes_int_lenenc_u16 (line 49) | fn test_encodes_int_lenenc_u16() { function test_encodes_int_lenenc_u24 (line 57) | fn test_encodes_int_lenenc_u24() { function test_encodes_int_lenenc_u64 (line 65) | fn test_encodes_int_lenenc_u64() { function test_encodes_int_lenenc_fb (line 73) | fn test_encodes_int_lenenc_fb() { function test_encodes_int_lenenc_fc (line 81) | fn test_encodes_int_lenenc_fc() { function test_encodes_int_lenenc_fd (line 89) | fn test_encodes_int_lenenc_fd() { function test_encodes_int_lenenc_fe (line 97) | fn test_encodes_int_lenenc_fe() { function test_encodes_int_lenenc_ff (line 105) | fn test_encodes_int_lenenc_ff() { function test_encodes_string_lenenc (line 113) | fn test_encodes_string_lenenc() { function test_encodes_byte_lenenc (line 121) | fn test_encodes_byte_lenenc() { FILE: warpgate-database-protocols/src/mysql/protocol/auth.rs type AuthPlugin (line 8) | pub enum AuthPlugin { method name (line 16) | pub(crate) fn name(self) -> &'static str { type Err (line 27) | type Err = Error; method from_str (line 29) | fn from_str(s: &str) -> Result { FILE: warpgate-database-protocols/src/mysql/protocol/connect/auth_switch.rs type AuthSwitchRequest (line 12) | pub struct AuthSwitchRequest { method decode_with (line 18) | fn decode_with(mut buf: Bytes, _: ()) -> Result { method encode_with (line 44) | fn encode_with(&self, buf: &mut Vec, _: ()) { type AuthSwitchResponse (line 52) | pub struct AuthSwitchResponse(pub Vec); method encode_with (line 55) | fn encode_with(&self, buf: &mut Vec, _: Capabilities) { FILE: warpgate-database-protocols/src/mysql/protocol/connect/handshake.rs type Handshake (line 14) | pub struct Handshake { method decode_with (line 30) | fn decode_with(mut buf: Bytes, _: ()) -> Result { method encode_with (line 93) | fn encode_with(&self, buf: &mut Vec, _: ()) { function test_decode_handshake_mysql_8_0_18 (line 130) | fn test_decode_handshake_mysql_8_0_18() { function test_decode_handshake_mariadb_10_4_7 (line 185) | fn test_decode_handshake_mariadb_10_4_7() { FILE: warpgate-database-protocols/src/mysql/protocol/connect/handshake_response.rs type HandshakeResponse (line 16) | pub struct HandshakeResponse { method encode_with (line 36) | fn encode_with(&self, buf: &mut Vec, mut capabilities: Capabilitie... method decode_with (line 87) | fn decode_with(mut buf: Bytes, server_capabilities: &mut Capabilities)... FILE: warpgate-database-protocols/src/mysql/protocol/connect/ssl_request.rs type SslRequest (line 8) | pub struct SslRequest { method encode_with (line 14) | fn encode_with(&self, buf: &mut Vec, capabilities: Capabilities) { FILE: warpgate-database-protocols/src/mysql/protocol/packet.rs type Packet (line 11) | pub struct Packet(pub T); function encode_with (line 17) | fn encode_with( function decode (line 45) | pub(crate) fn decode<'de, T>(self) -> Result function decode_with (line 52) | pub(crate) fn decode_with<'de, T, C>(self, context: C) -> Result function ok (line 59) | pub(crate) fn ok(self) -> Result { function eof (line 63) | pub(crate) fn eof(self, capabilities: Capabilities) -> Result &Bytes { method deref_mut (line 86) | fn deref_mut(&mut self) -> &mut Bytes { FILE: warpgate-database-protocols/src/mysql/protocol/response/eof.rs type EofPacket (line 16) | pub struct EofPacket { method decode_with (line 22) | fn decode_with(mut buf: Bytes, _: Capabilities) -> Result { FILE: warpgate-database-protocols/src/mysql/protocol/response/err.rs type ErrPacket (line 13) | pub struct ErrPacket { method decode_with (line 20) | fn decode_with(mut buf: Bytes, capabilities: Capabilities) -> Result, _: ()) { function test_decode_err_packet_out_of_order (line 61) | fn test_decode_err_packet_out_of_order() { function test_decode_err_packet_unknown_database (line 74) | fn test_decode_err_packet_unknown_database() { FILE: warpgate-database-protocols/src/mysql/protocol/response/ok.rs type OkPacket (line 11) | pub struct OkPacket { method decode_with (line 19) | fn decode_with(mut buf: Bytes, _: ()) -> Result { method encode_with (line 43) | fn encode_with(&self, buf: &mut Vec, _: ()) { function test_decode_ok_packet (line 54) | fn test_decode_ok_packet() { FILE: warpgate-database-protocols/src/mysql/protocol/row.rs type Row (line 6) | pub struct Row { method get (line 12) | pub(crate) fn get(&self, index: usize) -> Option<&[u8]> { FILE: warpgate-database-protocols/src/mysql/protocol/text/column.rs type ColumnType (line 68) | pub enum ColumnType { method name (line 167) | pub(crate) fn name( method try_from_u16 (line 225) | pub(crate) fn try_from_u16(id: u8) -> Result { type ColumnDefinition (line 103) | pub struct ColumnDefinition { method name (line 126) | pub(crate) fn name(&self) -> Result<&str, Error> { method alias (line 130) | pub(crate) fn alias(&self) -> Result<&str, Error> { method decode_with (line 136) | fn decode_with(mut buf: Bytes, _: Capabilities) -> Result { FILE: warpgate-database-protocols/src/mysql/protocol/text/ping.rs type Ping (line 7) | pub struct Ping; method encode_with (line 10) | fn encode_with(&self, buf: &mut Vec, _: Capabilities) { FILE: warpgate-database-protocols/src/mysql/protocol/text/query.rs type Query (line 10) | pub struct Query(pub String); method encode_with (line 13) | fn encode_with(&self, buf: &mut Vec, _: ()) { method encode_with (line 20) | fn encode_with(&self, buf: &mut Vec, _: Capabilities) { method decode_with (line 27) | fn decode_with(mut buf: Bytes, _: ()) -> Result { FILE: warpgate-database-protocols/src/mysql/protocol/text/quit.rs type Quit (line 7) | pub struct Quit; method encode_with (line 10) | fn encode_with(&self, buf: &mut Vec, _: Capabilities) { FILE: warpgate-db-entities/src/AdminRole.rs type Model (line 11) | pub struct Model { type Relation (line 46) | pub enum Relation { method to (line 52) | fn to() -> RelationDef { method via (line 56) | fn via() -> Option { function from (line 68) | fn from(model: Model) -> Self { FILE: warpgate-db-entities/src/ApiToken.rs type Model (line 9) | pub struct Model { type Relation (line 20) | pub enum Relation { method def (line 25) | fn def(&self) -> RelationDef { method to (line 37) | fn to() -> RelationDef { FILE: warpgate-db-entities/src/CertificateCredential.rs type Model (line 11) | pub struct Model { type Relation (line 23) | pub enum Relation { method def (line 28) | fn def(&self) -> RelationDef { method to (line 40) | fn to() -> RelationDef { method from (line 48) | fn from(credential: Model) -> Self { method from (line 56) | fn from(model: Model) -> Self { method from (line 62) | fn from(credential: UserCertificateCredential) -> Self { FILE: warpgate-db-entities/src/CertificateRevocation.rs type Model (line 8) | pub struct Model { type Relation (line 16) | pub enum Relation {} FILE: warpgate-db-entities/src/KnownHost.rs type Model (line 9) | pub struct Model { method key_openssh (line 24) | pub fn key_openssh(&self) -> String { type Relation (line 19) | pub enum Relation {} FILE: warpgate-db-entities/src/LdapServer.rs type Model (line 10) | pub struct Model { type Relation (line 34) | pub enum Relation {} type Error (line 39) | type Error = serde_json::Error; function try_from (line 41) | fn try_from(server: &Model) -> Result { type Error (line 69) | type Error = serde_json::Error; function try_from (line 71) | fn try_from(server: Model) -> Result { FILE: warpgate-db-entities/src/LogEntry.rs type Model (line 11) | pub struct Model { type Relation (line 22) | pub enum Relation {} FILE: warpgate-db-entities/src/OtpCredential.rs type Model (line 10) | pub struct Model { type Relation (line 18) | pub enum Relation { method def (line 23) | fn def(&self) -> RelationDef { method to (line 35) | fn to() -> RelationDef { method from (line 43) | fn from(credential: Model) -> Self { method from (line 51) | fn from(model: Model) -> Self { method from (line 57) | fn from(credential: UserTotpCredential) -> Self { FILE: warpgate-db-entities/src/Parameters.rs type Model (line 7) | pub struct Model { type Relation (line 25) | pub enum Relation {} method get (line 28) | pub async fn get(db: &DatabaseConnection) -> Result { FILE: warpgate-db-entities/src/PasswordCredential.rs type Model (line 10) | pub struct Model { type Relation (line 18) | pub enum Relation { method def (line 23) | fn def(&self) -> RelationDef { method to (line 35) | fn to() -> RelationDef { type StrictModel (line 42) | pub struct StrictModel { method from (line 48) | fn from(model: Model) -> Self { method from (line 57) | fn from(credential: Model) -> Self { method from (line 65) | fn from(model: Model) -> Self { method from (line 71) | fn from(credential: UserPasswordCredential) -> Self { FILE: warpgate-db-entities/src/PublicKeyCredential.rs type Model (line 11) | pub struct Model { type Relation (line 23) | pub enum Relation { method def (line 28) | fn def(&self) -> RelationDef { method to (line 40) | fn to() -> RelationDef { method from (line 48) | fn from(credential: Model) -> Self { method from (line 56) | fn from(model: Model) -> Self { method from (line 62) | fn from(credential: UserPublicKeyCredential) -> Self { FILE: warpgate-db-entities/src/Recording.rs type RecordingKind (line 10) | pub enum RecordingKind { type Model (line 22) | pub struct Model { type Relation (line 35) | pub enum Relation { method def (line 40) | fn def(&self) -> RelationDef { method to (line 52) | fn to() -> RelationDef { FILE: warpgate-db-entities/src/Role.rs type Model (line 10) | pub struct Model { type Relation (line 19) | pub enum Relation {} method to (line 22) | fn to() -> RelationDef { method via (line 26) | fn via() -> Option { method to (line 32) | fn to() -> RelationDef { method via (line 36) | fn via() -> Option { method from (line 44) | fn from(model: Model) -> Self { FILE: warpgate-db-entities/src/Session.rs type Model (line 7) | pub struct Model { type Relation (line 20) | pub enum Relation { method def (line 26) | fn def(&self) -> RelationDef { method to (line 42) | fn to() -> RelationDef { FILE: warpgate-db-entities/src/SsoCredential.rs type Model (line 10) | pub struct Model { type Relation (line 19) | pub enum Relation { method def (line 24) | fn def(&self) -> RelationDef { method to (line 36) | fn to() -> RelationDef { method from (line 44) | fn from(credential: Model) -> Self { method from (line 53) | fn from(model: Model) -> Self { method from (line 59) | fn from(credential: UserSsoCredential) -> Self { FILE: warpgate-db-entities/src/Target.rs type TargetKind (line 9) | pub enum TargetKind { method from (line 23) | fn from(options: &TargetOptions) -> Self { type SshAuthKind (line 36) | pub enum SshAuthKind { type Model (line 46) | pub struct Model { method to (line 59) | fn to() -> RelationDef { method via (line 63) | fn via() -> Option { type Relation (line 69) | pub enum Relation { method to (line 79) | fn to() -> RelationDef { type Error (line 87) | type Error = serde_json::Error; method try_from (line 89) | fn try_from(model: Model) -> Result { FILE: warpgate-db-entities/src/TargetGroup.rs type BootstrapThemeColor (line 8) | pub enum BootstrapThemeColor { type Model (line 30) | pub struct Model { type Relation (line 40) | pub enum Relation { FILE: warpgate-db-entities/src/TargetRoleAssignment.rs type Model (line 9) | pub struct Model { type Relation (line 17) | pub enum Relation { method def (line 23) | fn def(&self) -> RelationDef { FILE: warpgate-db-entities/src/Ticket.rs type Model (line 10) | pub struct Model { type Relation (line 25) | pub enum Relation { FILE: warpgate-db-entities/src/User.rs type Model (line 16) | pub struct Model { method load_details (line 150) | pub async fn load_details(self, db: &DatabaseConnection) -> Result RelationDef { method via (line 34) | fn via() -> Option { method to (line 40) | fn to() -> RelationDef { method via (line 44) | fn via() -> Option { method to (line 50) | fn to() -> RelationDef { method to (line 56) | fn to() -> RelationDef { method to (line 62) | fn to() -> RelationDef { method to (line 68) | fn to() -> RelationDef { method to (line 74) | fn to() -> RelationDef { method to (line 80) | fn to() -> RelationDef { type Relation (line 87) | pub enum Relation { method def (line 98) | fn def(&self) -> RelationDef { type Error (line 135) | type Error = WarpgateError; method try_from (line 137) | fn try_from(model: Model) -> Result { type Error (line 206) | type Error = WarpgateError; method try_from (line 208) | fn try_from(user: User) -> Result { FILE: warpgate-db-entities/src/UserAdminRoleAssignment.rs type Model (line 9) | pub struct Model { type Relation (line 17) | pub enum Relation { method def (line 23) | fn def(&self) -> RelationDef { method to (line 40) | fn to() -> RelationDef { method to (line 46) | fn to() -> RelationDef { FILE: warpgate-db-entities/src/UserRoleAssignment.rs type Model (line 9) | pub struct Model { type Relation (line 17) | pub enum Relation { method def (line 23) | fn def(&self) -> RelationDef { FILE: warpgate-db-migrations/src/lib.rs type Migrator (line 38) | pub struct Migrator; method migrations (line 42) | fn migrations() -> Vec> { function migrate_database (line 80) | pub async fn migrate_database(connection: &DatabaseConnection) -> Result... FILE: warpgate-db-migrations/src/m00001_create_ticket.rs type Model (line 10) | pub struct Model { type Relation (line 22) | pub enum Relation {} type Migration (line 27) | pub struct Migration; method name (line 30) | fn name(&self) -> &str { method up (line 37) | async fn up(&self, manager: &SchemaManager) -> Result<(), DbErr> { method down (line 58) | async fn down(&self, manager: &SchemaManager) -> Result<(), DbErr> { FILE: warpgate-db-migrations/src/m00002_create_session.rs type Model (line 12) | pub struct Model { type Relation (line 24) | pub enum Relation { method def (line 29) | fn def(&self) -> RelationDef { method to (line 41) | fn to() -> RelationDef { type Migration (line 49) | pub struct Migration; method name (line 52) | fn name(&self) -> &str { method up (line 59) | async fn up(&self, manager: &SchemaManager) -> Result<(), DbErr> { method down (line 67) | async fn down(&self, manager: &SchemaManager) -> Result<(), DbErr> { FILE: warpgate-db-migrations/src/m00003_create_recording.rs type RecordingKind (line 12) | pub enum RecordingKind { type Model (line 23) | pub struct Model { type Relation (line 34) | pub enum Relation { method def (line 39) | fn def(&self) -> RelationDef { method to (line 51) | fn to() -> RelationDef { type Migration (line 59) | pub struct Migration; method name (line 62) | fn name(&self) -> &str { method up (line 69) | async fn up(&self, manager: &SchemaManager) -> Result<(), DbErr> { method down (line 88) | async fn down(&self, manager: &SchemaManager) -> Result<(), DbErr> { FILE: warpgate-db-migrations/src/m00004_create_known_host.rs type Model (line 10) | pub struct Model { type Relation (line 20) | pub enum Relation {} type Migration (line 25) | pub struct Migration; method name (line 28) | fn name(&self) -> &str { method up (line 35) | async fn up(&self, manager: &SchemaManager) -> Result<(), DbErr> { method down (line 43) | async fn down(&self, manager: &SchemaManager) -> Result<(), DbErr> { FILE: warpgate-db-migrations/src/m00005_create_log_entry.rs type Model (line 12) | pub struct Model { type Relation (line 23) | pub enum Relation {} type Migration (line 28) | pub struct Migration; method name (line 31) | fn name(&self) -> &str { method up (line 38) | async fn up(&self, manager: &SchemaManager) -> Result<(), DbErr> { method down (line 74) | async fn down(&self, manager: &SchemaManager) -> Result<(), DbErr> { FILE: warpgate-db-migrations/src/m00006_add_session_protocol.rs type Migration (line 3) | pub struct Migration; method name (line 6) | fn name(&self) -> &str { method up (line 15) | async fn up(&self, manager: &SchemaManager) -> Result<(), DbErr> { method down (line 31) | async fn down(&self, manager: &SchemaManager) -> Result<(), DbErr> { FILE: warpgate-db-migrations/src/m00007_targets_and_roles.rs type Model (line 10) | pub struct Model { type Relation (line 17) | pub enum Relation {} type TargetKind (line 28) | pub enum TargetKind { type Model (line 41) | pub struct Model { method to (line 50) | fn to() -> RelationDef { method via (line 54) | fn via() -> Option { type Relation (line 60) | pub enum Relation {} type Model (line 71) | pub struct Model { type Relation (line 79) | pub enum Relation { method def (line 85) | fn def(&self) -> RelationDef { type Migration (line 102) | pub struct Migration; method name (line 105) | fn name(&self) -> &str { method up (line 112) | async fn up(&self, manager: &SchemaManager) -> Result<(), DbErr> { method down (line 127) | async fn down(&self, manager: &SchemaManager) -> Result<(), DbErr> { FILE: warpgate-db-migrations/src/m00008_users.rs type Model (line 10) | pub struct Model { method to (line 19) | fn to() -> RelationDef { method via (line 23) | fn via() -> Option { type Relation (line 29) | pub enum Relation {} type Model (line 40) | pub struct Model { type Relation (line 48) | pub enum Relation { method def (line 54) | fn def(&self) -> RelationDef { type Migration (line 71) | pub struct Migration; method name (line 74) | fn name(&self) -> &str { method up (line 81) | async fn up(&self, manager: &SchemaManager) -> Result<(), DbErr> { method down (line 93) | async fn down(&self, manager: &SchemaManager) -> Result<(), DbErr> { FILE: warpgate-db-migrations/src/m00009_credential_models.rs type Model (line 18) | pub struct Model { type Relation (line 26) | pub enum Relation { method def (line 31) | fn def(&self) -> RelationDef { type Model (line 54) | pub struct Model { type Relation (line 62) | pub enum Relation { method def (line 67) | fn def(&self) -> RelationDef { type Model (line 90) | pub struct Model { type Relation (line 99) | pub enum Relation { method def (line 104) | fn def(&self) -> RelationDef { type Model (line 127) | pub struct Model { type Relation (line 136) | pub enum Relation { method def (line 141) | fn def(&self) -> RelationDef { function serialize (line 165) | pub fn serialize>( function deserialize (line 172) | pub fn deserialize<'de, D: serde::Deserializer<'de>, B: From>>( function serialize (line 183) | pub fn serialize( function deserialize (line 190) | pub fn deserialize<'de, D: serde::Deserializer<'de>>( type UserAuthCredential (line 200) | pub enum UserAuthCredential { type UserPasswordCredential (line 212) | pub struct UserPasswordCredential { type UserPublicKeyCredential (line 216) | pub struct UserPublicKeyCredential { type UserTotpCredential (line 220) | pub struct UserTotpCredential { type UserSsoCredential (line 225) | pub struct UserSsoCredential { type Migration (line 231) | pub struct Migration; method name (line 234) | fn name(&self) -> &str { method up (line 241) | async fn up(&self, manager: &SchemaManager) -> Result<(), DbErr> { method down (line 322) | async fn down(&self, _manager: &SchemaManager) -> Result<(), DbErr> { FILE: warpgate-db-migrations/src/m00010_parameters.rs type Model (line 10) | pub struct Model { type Relation (line 19) | pub enum Relation {} type Migration (line 22) | pub struct Migration; method name (line 25) | fn name(&self) -> &str { method up (line 32) | async fn up(&self, manager: &SchemaManager) -> Result<(), DbErr> { method down (line 41) | async fn down(&self, manager: &SchemaManager) -> Result<(), DbErr> { FILE: warpgate-db-migrations/src/m00011_rsa_key_algos.rs type Migration (line 7) | pub struct Migration; method name (line 10) | fn name(&self) -> &str { method up (line 19) | async fn up(&self, manager: &SchemaManager) -> Result<(), DbErr> { method down (line 42) | async fn down(&self, _manager: &SchemaManager) -> Result<(), DbErr> { FILE: warpgate-db-migrations/src/m00012_add_openssh_public_key_label.rs type Migration (line 3) | pub struct Migration; method name (line 6) | fn name(&self) -> &str { method up (line 15) | async fn up(&self, manager: &SchemaManager) -> Result<(), DbErr> { method down (line 31) | async fn down(&self, manager: &SchemaManager) -> Result<(), DbErr> { FILE: warpgate-db-migrations/src/m00013_add_openssh_public_key_dates.rs type Migration (line 3) | pub struct Migration; method name (line 6) | fn name(&self) -> &str { method up (line 15) | async fn up(&self, manager: &SchemaManager) -> Result<(), DbErr> { method down (line 39) | async fn down(&self, manager: &SchemaManager) -> Result<(), DbErr> { FILE: warpgate-db-migrations/src/m00014_api_tokens.rs type Model (line 15) | pub struct Model { type Relation (line 26) | pub enum Relation { method def (line 31) | fn def(&self) -> RelationDef { method to (line 43) | fn to() -> RelationDef { type Migration (line 51) | pub struct Migration; method name (line 54) | fn name(&self) -> &str { method up (line 61) | async fn up(&self, manager: &SchemaManager) -> Result<(), DbErr> { method down (line 70) | async fn down(&self, manager: &SchemaManager) -> Result<(), DbErr> { FILE: warpgate-db-migrations/src/m00015_fix_public_key_dates.rs type Migration (line 5) | pub struct Migration; method name (line 8) | fn name(&self) -> &str { method up (line 17) | async fn up(&self, manager: &SchemaManager) -> Result<(), DbErr> { method down (line 52) | async fn down(&self, manager: &SchemaManager) -> Result<(), DbErr> { FILE: warpgate-db-migrations/src/m00016_fix_public_key_length.rs type Migration (line 5) | pub struct Migration; method name (line 8) | fn name(&self) -> &str { method up (line 17) | async fn up(&self, manager: &SchemaManager) -> Result<(), DbErr> { method down (line 32) | async fn down(&self, manager: &SchemaManager) -> Result<(), DbErr> { FILE: warpgate-db-migrations/src/m00017_descriptions.rs type Migration (line 4) | pub struct Migration; method name (line 7) | fn name(&self) -> &str { type Model (line 22) | pub struct Model { type Relation (line 31) | pub enum Relation {} method up (line 38) | async fn up(&self, manager: &SchemaManager) -> Result<(), DbErr> { method down (line 96) | async fn down(&self, manager: &SchemaManager) -> Result<(), DbErr> { FILE: warpgate-db-migrations/src/m00018_ticket_description.rs type Migration (line 5) | pub struct Migration; method name (line 8) | fn name(&self) -> &str { method up (line 15) | async fn up(&self, manager: &SchemaManager) -> Result<(), DbErr> { method down (line 32) | async fn down(&self, manager: &SchemaManager) -> Result<(), DbErr> { FILE: warpgate-db-migrations/src/m00019_rate_limits.rs type Migration (line 3) | pub struct Migration; method name (line 6) | fn name(&self) -> &str { method up (line 17) | async fn up(&self, manager: &SchemaManager) -> Result<(), DbErr> { method down (line 58) | async fn down(&self, manager: &SchemaManager) -> Result<(), DbErr> { FILE: warpgate-db-migrations/src/m00020_target_groups.rs type BootstrapThemeColor (line 12) | pub enum BootstrapThemeColor { type Model (line 33) | pub struct Model { type Relation (line 43) | pub enum Relation {} type Migration (line 48) | pub struct Migration; method name (line 51) | fn name(&self) -> &str { method up (line 58) | async fn up(&self, manager: &SchemaManager) -> Result<(), DbErr> { method down (line 82) | async fn down(&self, manager: &SchemaManager) -> Result<(), DbErr> { FILE: warpgate-db-migrations/src/m00021_ldap_server.rs type Model (line 10) | pub struct Model { type Relation (line 30) | pub enum Relation {} type Migration (line 35) | pub struct Migration; method name (line 38) | fn name(&self) -> &str { method up (line 45) | async fn up(&self, manager: &SchemaManager) -> Result<(), DbErr> { method down (line 54) | async fn down(&self, manager: &SchemaManager) -> Result<(), DbErr> { FILE: warpgate-db-migrations/src/m00022_user_ldap_link.rs type Migration (line 3) | pub struct Migration; type Model (line 11) | pub struct Model { type Relation (line 25) | pub enum Relation {} method name (line 31) | fn name(&self) -> &str { method up (line 38) | async fn up(&self, manager: &SchemaManager) -> Result<(), DbErr> { method down (line 84) | async fn down(&self, manager: &SchemaManager) -> Result<(), DbErr> { FILE: warpgate-db-migrations/src/m00023_ldap_username_attribute.rs type Migration (line 5) | pub struct Migration; method name (line 8) | fn name(&self) -> &str { method up (line 15) | async fn up(&self, manager: &SchemaManager) -> Result<(), DbErr> { method down (line 32) | async fn down(&self, manager: &SchemaManager) -> Result<(), DbErr> { FILE: warpgate-db-migrations/src/m00024_ssh_key_attribute.rs type Migration (line 6) | pub struct Migration; method up (line 10) | async fn up(&self, manager: &SchemaManager) -> Result<(), DbErr> { method down (line 26) | async fn down(&self, manager: &SchemaManager) -> Result<(), DbErr> { FILE: warpgate-db-migrations/src/m00025_ldap_uuid_attribute.rs type Migration (line 6) | pub struct Migration; method up (line 10) | async fn up(&self, manager: &SchemaManager) -> Result<(), DbErr> { method down (line 26) | async fn down(&self, manager: &SchemaManager) -> Result<(), DbErr> { FILE: warpgate-db-migrations/src/m00026_ssh_client_auth.rs type Migration (line 3) | pub struct Migration; method name (line 6) | fn name(&self) -> &str { method up (line 15) | async fn up(&self, manager: &SchemaManager) -> Result<(), DbErr> { method down (line 59) | async fn down(&self, manager: &SchemaManager) -> Result<(), DbErr> { FILE: warpgate-db-migrations/src/m00027_ca.rs type Model (line 13) | pub struct Model { type Relation (line 28) | pub enum Relation {} type Migration (line 32) | pub struct Migration; method up (line 36) | async fn up(&self, manager: &SchemaManager) -> Result<(), DbErr> { method down (line 93) | async fn down(&self, manager: &SchemaManager) -> Result<(), DbErr> { FILE: warpgate-db-migrations/src/m00028_certificate_credentials.rs type Model (line 16) | pub struct Model { type Relation (line 28) | pub enum Relation { method def (line 33) | fn def(&self) -> RelationDef { method to (line 45) | fn to() -> RelationDef { type Migration (line 54) | pub struct Migration; method up (line 58) | async fn up(&self, manager: &SchemaManager) -> Result<(), DbErr> { method down (line 68) | async fn down(&self, manager: &SchemaManager) -> Result<(), DbErr> { FILE: warpgate-db-migrations/src/m00029_certificate_revocation.rs type Model (line 15) | pub struct Model { type Relation (line 23) | pub enum Relation {} type Migration (line 29) | pub struct Migration; method up (line 33) | async fn up(&self, manager: &SchemaManager) -> Result<(), DbErr> { method down (line 52) | async fn down(&self, manager: &SchemaManager) -> Result<(), DbErr> { FILE: warpgate-db-migrations/src/m00030_add_recording_metadata.rs type Migration (line 3) | pub struct Migration; method name (line 7) | fn name(&self) -> &str { method up (line 14) | async fn up(&self, manager: &SchemaManager) -> Result<(), DbErr> { method down (line 29) | async fn down(&self, manager: &SchemaManager) -> Result<(), DbErr> { FILE: warpgate-db-migrations/src/m00031_minimize_password_login.rs type Migration (line 5) | pub struct Migration; method name (line 8) | fn name(&self) -> &str { method up (line 15) | async fn up(&self, manager: &SchemaManager) -> Result<(), DbErr> { method down (line 33) | async fn down(&self, manager: &SchemaManager) -> Result<(), DbErr> { FILE: warpgate-db-migrations/src/m00032_admin_roles.rs type Model (line 15) | pub struct Model { type Relation (line 41) | pub enum Relation {} type Model (line 51) | pub struct Model { type Relation (line 59) | pub enum Relation { method def (line 65) | fn def(&self) -> RelationDef { type Migration (line 82) | pub struct Migration; method name (line 85) | fn name(&self) -> &str { method up (line 92) | async fn up(&self, manager: &SchemaManager) -> Result<(), DbErr> { method down (line 199) | async fn down(&self, _manager: &SchemaManager) -> Result<(), DbErr> { FILE: warpgate-db-migrations/src/main.rs function main (line 5) | async fn main() { FILE: warpgate-ldap/src/connection.rs function connect (line 11) | pub async fn connect(config: &LdapConfig) -> Result { function test_connection (line 46) | pub async fn test_connection(config: &LdapConfig) -> Result { function discover_base_dns (line 60) | pub async fn discover_base_dns(config: &LdapConfig) -> Result String { FILE: warpgate-ldap/src/error.rs type Result (line 4) | pub type Result = std::result::Result; type LdapError (line 7) | pub enum LdapError { method from (line 43) | fn from(s: String) -> Self { FILE: warpgate-ldap/src/queries.rs function ldap_user_attributes (line 12) | fn ldap_user_attributes(config: &LdapConfig) -> Vec { function extract_ldap_user (line 42) | fn extract_ldap_user(search_entry: SearchEntry, config: &LdapConfig) -> ... function list_users (line 119) | pub async fn list_users(config: &LdapConfig) -> Result> { function find_user_by_username (line 166) | pub async fn find_user_by_username( function find_user_by_filter (line 187) | async fn find_user_by_filter( function find_user_by_uuid (line 225) | pub async fn find_user_by_uuid( FILE: warpgate-ldap/src/types.rs type LdapUsernameAttribute (line 7) | pub enum LdapUsernameAttribute { method attribute_name (line 16) | pub fn attribute_name(&self) -> &'static str { type Error (line 28) | type Error = (); method try_from (line 30) | fn try_from(value: &str) -> Result { type LdapConfig (line 43) | pub struct LdapConfig { type LdapUser (line 58) | pub struct LdapUser { FILE: warpgate-protocol-http/src/api/api_tokens.rs type Api (line 16) | pub struct Api; method api_get_api_tokens (line 83) | async fn api_get_api_tokens( method api_create_api_token (line 107) | async fn api_create_api_token( method api_delete_api_token (line 144) | async fn api_delete_api_token( type GetApiTokensResponse (line 19) | enum GetApiTokensResponse { type NewApiToken (line 27) | struct NewApiToken { type ExistingApiToken (line 33) | struct ExistingApiToken { method from (line 41) | fn from(token: ApiToken::Model) -> Self { type TokenAndSecret (line 52) | struct TokenAndSecret { type CreateApiTokenResponse (line 58) | enum CreateApiTokenResponse { type DeleteApiTokenResponse (line 66) | enum DeleteApiTokenResponse { FILE: warpgate-protocol-http/src/api/auth.rs type Api (line 27) | pub struct Api; method api_auth_login (line 137) | async fn api_auth_login( method api_auth_otp_login (line 188) | async fn api_auth_otp_login( method api_auth_logout (line 233) | async fn api_auth_logout( method api_default_auth_state (line 247) | async fn api_default_auth_state( method api_cancel_default_auth (line 271) | async fn api_cancel_default_auth( method get_web_auth_requests (line 300) | async fn get_web_auth_requests( method api_auth_state (line 330) | async fn api_auth_state( method api_approve_auth (line 352) | async fn api_approve_auth( method api_reject_auth (line 385) | async fn api_reject_auth( type LoginRequest (line 30) | struct LoginRequest { type OtpLoginRequest (line 36) | struct OtpLoginRequest { type ApiAuthState (line 41) | enum ApiAuthState { method from (line 107) | fn from(state: AuthResult) -> Self { type LoginFailureResponse (line 53) | struct LoginFailureResponse { type LoginResponse (line 58) | enum LoginResponse { type LogoutResponse (line 67) | enum LogoutResponse { type AuthStateResponseInternal (line 73) | struct AuthStateResponseInternal { type AuthStateListResponse (line 83) | enum AuthStateListResponse { type AuthStateResponse (line 91) | enum AuthStateResponse { constant PREFERRED_NEED_CRED_ORDER (line 98) | const PREFERRED_NEED_CRED_ORDER: &[CredentialKind] = &[ function get_auth_state (line 404) | async fn get_auth_state( function serialize_auth_state_inner (line 426) | async fn serialize_auth_state_inner( function api_get_web_auth_requests_stream (line 453) | pub async fn api_get_web_auth_requests_stream( FILE: warpgate-protocol-http/src/api/common.rs function logout (line 10) | pub fn logout(session: &Session, session_middleware: &mut SessionStore) { function get_user (line 16) | pub async fn get_user( FILE: warpgate-protocol-http/src/api/credentials.rs type Api (line 20) | pub struct Api; method api_get_credentials_state (line 243) | async fn api_get_credentials_state( method api_change_password (line 301) | async fn api_change_password( method api_create_pk (line 349) | async fn api_create_pk( method api_delete_pk (line 385) | async fn api_delete_pk( method api_create_otp (line 417) | async fn api_create_otp( method api_delete_otp (line 461) | async fn api_delete_otp( method api_issue_certificate (line 493) | async fn api_issue_certificate( method api_revoke_certificate (line 544) | async fn api_revoke_certificate( type PasswordState (line 23) | enum PasswordState { type ExistingSsoCredential (line 30) | struct ExistingSsoCredential { method from (line 37) | fn from(credential: entities::SsoCredential::Model) -> Self { type ChangePasswordRequest (line 47) | struct ChangePasswordRequest { type ChangePasswordResponse (line 52) | enum ChangePasswordResponse { type CredentialsState (line 60) | pub struct CredentialsState { type CredentialsStateResponse (line 72) | enum CredentialsStateResponse { type NewPublicKeyCredential (line 80) | struct NewPublicKeyCredential { type ExistingPublicKeyCredential (line 86) | struct ExistingPublicKeyCredential { method from (line 108) | fn from(credential: entities::PublicKeyCredential::Model) -> Self { function abbreviate_public_key (line 94) | fn abbreviate_public_key(k: &str) -> String { type CreatePublicKeyCredentialResponse (line 119) | enum CreatePublicKeyCredentialResponse { type DeleteCredentialResponse (line 127) | enum DeleteCredentialResponse { type NewOtpCredential (line 137) | struct NewOtpCredential { type ExistingOtpCredential (line 142) | struct ExistingOtpCredential { method from (line 147) | fn from(credential: entities::OtpCredential::Model) -> Self { type CreateOtpCredentialResponse (line 153) | enum CreateOtpCredentialResponse { type ExistingCertificateCredential (line 161) | struct ExistingCertificateCredential { method from (line 176) | fn from(credential: entities::CertificateCredential::Model) -> Self { function certificate_fingerprint (line 169) | fn certificate_fingerprint(certificate_pem: &str) -> Result(e: E) -> impl Endpoi... FILE: warpgate-protocol-http/src/api/info.rs type Api (line 17) | pub struct Api; method api_get_info (line 92) | async fn api_get_info( type PortsInfo (line 20) | pub struct PortsInfo { type SetupState (line 29) | pub struct SetupState { method completed (line 35) | pub fn completed(&self) -> bool { type AdminPermissions (line 41) | pub struct AdminPermissions { type Info (line 68) | pub struct Info { type InstanceInfoResponse (line 84) | enum InstanceInfoResponse { FILE: warpgate-protocol-http/src/api/mod.rs function get (line 14) | pub fn get() -> impl OpenApi { FILE: warpgate-protocol-http/src/api/sso_provider_detail.rs type Api (line 13) | pub struct Api; method api_start_sso (line 47) | async fn api_start_sso( type StartSsoResponseParams (line 16) | struct StartSsoResponseParams { type StartSsoResponse (line 22) | enum StartSsoResponse { type SsoContext (line 32) | pub struct SsoContext { FILE: warpgate-protocol-http/src/api/sso_provider_list.rs type Api (line 25) | pub struct Api; method api_get_all_sso_providers (line 95) | async fn api_get_all_sso_providers( method api_return_to_sso_get (line 119) | async fn api_return_to_sso_get( method api_return_to_sso_post (line 139) | async fn api_return_to_sso_post( method api_return_to_sso_get_common (line 167) | async fn api_return_to_sso_get_common( method api_start_slo (line 340) | async fn api_start_slo( type SsoProviderKind (line 28) | pub enum SsoProviderKind { type SsoProviderDescription (line 36) | pub struct SsoProviderDescription { type GetSsoProvidersResponse (line 43) | enum GetSsoProvidersResponse { type ReturnToSsoResponse (line 50) | enum ReturnToSsoResponse { type ReturnToSsoPostResponse (line 57) | enum ReturnToSsoPostResponse { type ReturnToSsoFormData (line 63) | pub struct ReturnToSsoFormData { type StartSloResponseParams (line 68) | struct StartSloResponseParams { type StartSloResponse (line 74) | enum StartSloResponse { function make_redirect_url (line 83) | fn make_redirect_url(err: &str) -> String { FILE: warpgate-protocol-http/src/api/targets_list.rs type Api (line 21) | pub struct Api; method api_get_all_targets (line 54) | async fn api_get_all_targets( type GroupInfo (line 24) | pub struct GroupInfo { type TargetSnapshot (line 31) | pub struct TargetSnapshot { type GetTargetsResponse (line 41) | enum GetTargetsResponse { FILE: warpgate-protocol-http/src/catchall.rs type QueryParams (line 21) | struct QueryParams { function target_select_redirect (line 26) | pub fn target_select_redirect() -> Response { function catchall_endpoint (line 31) | pub async fn catchall_endpoint( function get_target_for_request (line 64) | async fn get_target_for_request( FILE: warpgate-protocol-http/src/common.rs constant PROTOCOL_NAME (line 28) | pub const PROTOCOL_NAME: ProtocolName = "HTTP"; function is_localhost_host (line 37) | pub fn is_localhost_host(host: &str) -> bool { type SsoLoginState (line 42) | pub struct SsoLoginState { type SessionExt (line 48) | pub trait SessionExt { method get_target_name (line 49) | fn get_target_name(&self) -> Option; method set_target_name (line 50) | fn set_target_name(&self, target_name: String); method get_username (line 51) | fn get_username(&self) -> Option; method get_auth (line 52) | fn get_auth(&self) -> Option; method set_auth (line 53) | fn set_auth(&self, auth: SessionAuthorization); method get_auth_state_id (line 54) | fn get_auth_state_id(&self) -> Option; method clear_auth_state (line 55) | fn clear_auth_state(&self); method get_sso_login_state (line 57) | fn get_sso_login_state(&self) -> Option; method set_sso_login_state (line 58) | fn set_sso_login_state(&self, token: SsoLoginState); method get_target_name (line 62) | fn get_target_name(&self) -> Option { method set_target_name (line 66) | fn set_target_name(&self, target_name: String) { method get_username (line 70) | fn get_username(&self) -> Option { method get_auth (line 74) | fn get_auth(&self) -> Option { method set_auth (line 78) | fn set_auth(&self, auth: SessionAuthorization) { method get_auth_state_id (line 82) | fn get_auth_state_id(&self) -> Option { method clear_auth_state (line 86) | fn clear_auth_state(&self) { method get_sso_login_state (line 90) | fn get_sso_login_state(&self) -> Option { method set_sso_login_state (line 95) | fn set_sso_login_state(&self, state: SsoLoginState) { type AuthStateId (line 103) | pub struct AuthStateId(pub Uuid); function is_user_admin (line 105) | pub async fn is_user_admin(ctx: &AuthenticatedRequestContext) -> poem::R... function _inner_auth (line 141) | pub async fn _inner_auth( function endpoint_auth (line 153) | pub fn endpoint_auth(e: E) -> impl Endpoint(e: E) -> impl Endpoint { function gateway_redirect (line 171) | pub fn gateway_redirect(req: &Request) -> Response { function get_auth_state_for_request (line 186) | pub async fn get_auth_state_for_request( function authorize_session (line 222) | pub async fn authorize_session( function inject_request_authorization (line 250) | pub async fn inject_request_authorization( FILE: warpgate-protocol-http/src/error.rs function error_page (line 5) | pub fn error_page(e: poem::Error) -> impl IntoResponse { FILE: warpgate-protocol-http/src/lib.rs type HTTPProtocolServer (line 47) | pub struct HTTPProtocolServer { method new (line 52) | pub async fn new(services: &Services) -> Result { function make_session_storage (line 59) | fn make_session_storage() -> SharedSessionStorage { function load_certificate_and_key (line 63) | async fn load_certificate_and_key( function make_rustls_config (line 77) | async fn make_rustls_config( method run (line 105) | async fn run(self, address: ListenEndpoint) -> Result<()> { method name (line 303) | fn name(&self) -> &'static str { method fmt (line 309) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { FILE: warpgate-protocol-http/src/main.rs function main (line 7) | pub fn main() { FILE: warpgate-protocol-http/src/middleware/cookie_host.rs type CookieHostMiddleware (line 8) | pub struct CookieHostMiddleware { method new (line 16) | pub fn new(base_domain: Option) -> Self { type Output (line 27) | type Output = CookieHostMiddlewareEndpoint; method transform (line 29) | fn transform(&self, inner: E) -> Self::Output { type CookieHostMiddlewareEndpoint (line 21) | pub struct CookieHostMiddlewareEndpoint { type Output (line 38) | type Output = Response; method call (line 40) | async fn call(&self, req: Request) -> poem::Result { FILE: warpgate-protocol-http/src/middleware/ticket.rs type TicketMiddleware (line 12) | pub struct TicketMiddleware {} method new (line 15) | pub fn new() -> Self { type Output (line 25) | type Output = TicketMiddlewareEndpoint; method transform (line 27) | fn transform(&self, inner: E) -> Self::Output { type TicketMiddlewareEndpoint (line 20) | pub struct TicketMiddlewareEndpoint { type QueryParams (line 33) | struct QueryParams { type Output (line 39) | type Output = E::Output; method call (line 41) | async fn call(&self, req: Request) -> poem::Result { FILE: warpgate-protocol-http/src/proxy.rs type SomeResponse (line 34) | trait SomeResponse { method status (line 35) | fn status(&self) -> http::StatusCode; method headers (line 36) | fn headers(&self) -> &http::HeaderMap; type SomeRequestBuilder (line 57) | trait SomeRequestBuilder { method header (line 58) | fn header, V>(self, k: K, v: V) -> Self method header (line 65) | fn header, V>(self, k: K, v: V) -> Self method header (line 75) | fn header, V>(self, k: K, v: V) -> Self function construct_uri (line 84) | fn construct_uri(req: &Request, options: &TargetHTTPOptions, websocket: ... function copy_client_response (line 125) | fn copy_client_response( function rewrite_request (line 142) | fn rewrite_request(mut req: B, options: &TargetHT... function rewrite_response (line 151) | fn rewrite_response( function copy_server_request (line 194) | fn copy_server_request(req: &Request, mut target:... function inject_forwarding_headers (line 213) | fn inject_forwarding_headers(req: &Request, mut t... function inject_own_headers (line 228) | async fn inject_own_headers(req: &Request, mut ta... function proxy_normal_request (line 242) | pub async fn proxy_normal_request( function copy_client_body (line 320) | async fn copy_client_body( function copy_client_body_and_embed (line 339) | async fn copy_client_body_and_embed( function proxy_websocket_request (line 374) | pub async fn proxy_websocket_request( function extract_basic_auth (line 389) | fn extract_basic_auth(uri: Uri) -> anyhow::Result<(Option, ... function proxy_ws_inner (line 418) | async fn proxy_ws_inner( FILE: warpgate-protocol-http/src/session.rs type SharedSessionStorage (line 19) | pub struct SharedSessionStorage(pub Arc>>); method load_session (line 24) | async fn load_session<'a>( method update_session (line 40) | async fn update_session<'a>( method remove_session (line 54) | async fn remove_session<'a>(&'a self, session_id: &'a str) -> poem::Resu... type SessionStore (line 59) | pub struct SessionStore { method new (line 69) | pub fn new() -> Arc> { method process_request (line 79) | pub async fn process_request(&mut self, req: Request) -> poem::Result<... method create_handle_for (line 95) | pub async fn create_handle_for( method handle_for (line 155) | pub fn handle_for(&self, session: &Session) -> Option (Self, mpsc::UnboundedReceiver) { method close (line 30) | fn close(&mut self) { function warpgate_server_handle_for_request (line 35) | pub async fn warpgate_server_handle_for_request( FILE: warpgate-protocol-kubernetes/src/correlator.rs type CorrelationKey (line 14) | type CorrelationKey = (String, String, Option); type RequestCorrelator (line 16) | pub struct RequestCorrelator { method new (line 22) | pub fn new(services: &Services) -> Arc> { method session_for_request (line 31) | pub async fn session_for_request( method correlation_key_for_request (line 61) | async fn correlation_key_for_request( method vacuum (line 72) | pub async fn vacuum(&mut self) { method spawn_vacuum_task (line 87) | fn spawn_vacuum_task(this: Arc>) { FILE: warpgate-protocol-kubernetes/src/lib.rs type KubernetesProtocolServer (line 16) | pub struct KubernetesProtocolServer { method new (line 21) | pub async fn new(services: &Services) -> Result { method run (line 29) | async fn run(self, address: ListenEndpoint) -> Result<()> { method name (line 33) | fn name(&self) -> &'static str { method fmt (line 39) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { FILE: warpgate-protocol-kubernetes/src/recording.rs type KubernetesRecordingItemApiObject (line 18) | pub struct KubernetesRecordingItemApiObject { method from (line 40) | fn from(item: KubernetesRecordingItem) -> Self { type KubernetesRecordingItem (line 28) | pub struct KubernetesRecordingItem { type KubernetesRecorder (line 56) | pub struct KubernetesRecorder { method write_item (line 61) | async fn write_item( method record_response (line 72) | pub async fn record_response( method kind (line 95) | fn kind() -> RecordingKind { method new (line 99) | fn new(writer: RecordingWriter) -> Self { type SessionRecordingMetadata (line 108) | pub enum SessionRecordingMetadata { function start_recording_api (line 126) | pub async fn start_recording_api( function start_recording_exec (line 141) | pub async fn start_recording_exec( function deduce_exec_recording_metadata (line 153) | pub fn deduce_exec_recording_metadata(target_url: &Url) -> Option Result { function normalize_certificate_pem (line 246) | fn normalize_certificate_pem(pem: &str) -> String { FILE: warpgate-protocol-kubernetes/src/server/client_certs.rs type AcceptAnyClientCert (line 15) | pub struct AcceptAnyClientCert; method offer_client_auth (line 18) | fn offer_client_auth(&self) -> bool { method client_auth_mandatory (line 22) | fn client_auth_mandatory(&self) -> bool { method verify_client_cert (line 26) | fn verify_client_cert( method verify_tls12_signature (line 37) | fn verify_tls12_signature( method verify_tls13_signature (line 46) | fn verify_tls13_signature( method supported_verify_schemes (line 55) | fn supported_verify_schemes(&self) -> Vec { method root_hint_subjects (line 72) | fn root_hint_subjects(&self) -> &[rustls::DistinguishedName] { type CertificateCapturingAcceptor (line 78) | pub struct CertificateCapturingAcceptor { function new (line 84) | pub fn new(inner: T, server_config: ServerConfig) -> Self { type Io (line 96) | type Io = TlsStream; method local_addr (line 98) | fn local_addr(&self) -> Vec { method accept (line 102) | async fn accept( function extract_peer_certificates (line 137) | fn extract_peer_certificates(tls_stream: &TlsStream) -> Option; method transform (line 168) | fn transform(&self, ep: E) -> Self::Output { type CertificateExtractorEndpoint (line 174) | pub struct CertificateExtractorEndpoint { type Output (line 182) | type Output = E::Output; function call (line 183) | async fn call(&self, mut req: poem::Request) -> poem::Result Option<&ClientCertificate>; method client_certificate (line 226) | fn client_certificate(&self) -> Option<&ClientCertificate> { FILE: warpgate-protocol-kubernetes/src/server/handlers.rs function construct_target_url (line 30) | fn construct_target_url( function handle_api_request (line 48) | pub async fn handle_api_request( function _handle_normal_request_inner (line 136) | async fn _handle_normal_request_inner( function run_websocket_recording (line 330) | async fn run_websocket_recording(mut recorder: TerminalRecorder, mut rx:... function _handle_websocket_request_inner (line 373) | async fn _handle_websocket_request_inner( FILE: warpgate-protocol-kubernetes/src/server/mod.rs function run_server (line 25) | pub async fn run_server(services: Services, address: ListenEndpoint) -> ... FILE: warpgate-protocol-kubernetes/src/session_handle.rs type KubernetesSessionHandle (line 3) | pub struct KubernetesSessionHandle; method close (line 6) | fn close(&mut self) { FILE: warpgate-protocol-mysql/src/client.rs type MySqlClient (line 20) | pub struct MySqlClient { method connect (line 57) | pub async fn connect( type ConnectionOptions (line 25) | pub struct ConnectionOptions { method default (line 33) | fn default() -> Self { FILE: warpgate-protocol-mysql/src/common.rs constant PROTOCOL_NAME (line 4) | pub const PROTOCOL_NAME: ProtocolName = "MySQL"; function compute_auth_challenge_response (line 6) | pub fn compute_auth_challenge_response( FILE: warpgate-protocol-mysql/src/error.rs type MySqlError (line 10) | pub enum MySqlError { method other (line 40) | pub fn other(err: E) -> Self { method decode (line 44) | pub fn decode(err: SqlxError) -> Self { FILE: warpgate-protocol-mysql/src/lib.rs type MySQLProtocolServer (line 24) | pub struct MySQLProtocolServer { method new (line 29) | pub async fn new(services: &Services) -> Result { method run (line 37) | async fn run(self, address: ListenEndpoint) -> Result<()> { method name (line 120) | fn name(&self) -> &'static str { method fmt (line 126) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { FILE: warpgate-protocol-mysql/src/session.rs type MySqlSession (line 33) | pub struct MySqlSession { function new (line 47) | pub async fn new( function make_logging_span (line 82) | pub fn make_logging_span(&self) -> tracing::Span { function run (line 92) | pub async fn run(mut self) -> Result<(), MySqlError> { function send_error (line 155) | async fn send_error(&mut self, code: u16, message: &str) -> Result<(), M... function run_authorization (line 168) | pub async fn run_authorization( function run_authorized (line 270) | async fn run_authorized( function run_authorized_inner (line 326) | async fn run_authorized_inner( function passthrough_until_result (line 427) | async fn passthrough_until_result( FILE: warpgate-protocol-mysql/src/session_handle.rs type MySqlSessionHandle (line 4) | pub struct MySqlSessionHandle { method new (line 9) | pub fn new() -> (Self, mpsc::UnboundedReceiver<()>) { method close (line 16) | fn close(&mut self) { FILE: warpgate-protocol-mysql/src/stream.rs type MySqlStreamError (line 10) | pub enum MySqlStreamError { type MySqlStream (line 17) | pub struct MySqlStream function new (line 35) | pub fn new(stream: S) -> Self { function push (line 44) | pub fn push<'a, C, P: Encode<'a, C>>( function flush (line 55) | pub async fn flush(&mut self) -> std::io::Result<()> { function recv (line 63) | pub async fn recv(&mut self) -> Result, MySqlStreamError> { function reset_sequence_id (line 81) | pub fn reset_sequence_id(&mut self) { function upgrade (line 85) | pub async fn upgrade( function is_tls (line 93) | pub fn is_tls(&self) -> bool { FILE: warpgate-protocol-postgres/src/client.rs type PostgresClient (line 18) | pub struct PostgresClient { method connect (line 56) | pub async fn connect( method run_sasl_auth (line 190) | async fn run_sasl_auth( method recv (line 266) | pub async fn recv(&mut self) -> Result( type ConnectionOptions (line 22) | pub struct ConnectionOptions { method default (line 29) | fn default() -> Self { type SaslBufferWriter (line 38) | struct SaslBufferWriter<'a>(&'a mut Option>); method write (line 41) | fn write(&mut self, buf: &[u8]) -> std::io::Result { method flush (line 50) | fn flush(&mut self) -> std::io::Result<()> { FILE: warpgate-protocol-postgres/src/common.rs constant PROTOCOL_NAME (line 3) | pub const PROTOCOL_NAME: ProtocolName = "PostgreSQL"; FILE: warpgate-protocol-postgres/src/error.rs type PostgresError (line 13) | pub enum PostgresError { method other (line 49) | pub fn other(err: E) -> Self { method from (line 55) | fn from(e: ErrorResponse) -> Self { FILE: warpgate-protocol-postgres/src/lib.rs type PostgresProtocolServer (line 26) | pub struct PostgresProtocolServer { method new (line 31) | pub async fn new(services: &Services) -> Result { method run (line 39) | async fn run(self, address: ListenEndpoint) -> Result<()> { method name (line 135) | fn name(&self) -> &'static str { method fmt (line 141) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { FILE: warpgate-protocol-postgres/src/session.rs type PostgresSession (line 26) | pub struct PostgresSession { function new (line 38) | pub async fn new( function make_logging_span (line 59) | pub fn make_logging_span(&self) -> tracing::Span { function run (line 69) | pub async fn run(mut self) -> Result<(), PostgresError> { function run_authorization (line 102) | pub async fn run_authorization( function run_authorized (line 296) | async fn run_authorized( function send_error_response (line 339) | async fn send_error_response( function run_authorized_inner (line 351) | async fn run_authorized_inner( function maybe_log_client_msg (line 477) | fn maybe_log_client_msg(&self, msg: &PgWireFrontendMessage) { function maybe_log_server_msg (line 493) | fn maybe_log_server_msg(&self, msg: &PgWireBackendMessage) { FILE: warpgate-protocol-postgres/src/session_handle.rs type PostgresSessionHandle (line 4) | pub struct PostgresSessionHandle { method new (line 9) | pub fn new() -> (Self, mpsc::UnboundedReceiver<()>) { method close (line 16) | fn close(&mut self) { FILE: warpgate-protocol-postgres/src/stream.rs type PostgresStreamError (line 11) | pub enum PostgresStreamError { type PostgresEncode (line 18) | pub(crate) trait PostgresEncode { method encode (line 19) | fn encode(&self, buf: &mut BytesMut) -> PgWireResult<()> method encode (line 70) | fn encode(&self, buf: &mut BytesMut) -> PgWireResult<()> { method encode (line 76) | fn encode(&self, buf: &mut BytesMut) -> PgWireResult<()> { method encode (line 82) | fn encode(&self, buf: &mut BytesMut) -> PgWireResult<()> { type PostgresDecode (line 24) | pub(crate) trait PostgresDecode { method decode (line 25) | fn decode(buf: &mut BytesMut) -> PgWireResult> method decode (line 37) | fn decode(buf: &mut BytesMut) -> PgWireResult> { method decode (line 52) | fn decode(buf: &mut BytesMut) -> PgWireResult> { method decode (line 58) | fn decode(buf: &mut BytesMut) -> PgWireResult> { method decode (line 64) | fn decode(buf: &mut BytesMut) -> PgWireResult> { type PgWireStartupOrSslRequest (line 31) | pub(crate) enum PgWireStartupOrSslRequest { type PgWireGenericFrontendMessage (line 46) | pub(crate) struct PgWireGenericFrontendMessage(pub PgWireFrontendMessage); type PgWireGenericBackendMessage (line 49) | pub(crate) struct PgWireGenericBackendMessage(pub PgWireBackendMessage); type PostgresStream (line 87) | pub(crate) struct PostgresStream function new (line 104) | pub fn new(stream: S) -> Self { function push (line 112) | pub fn push( function flush (line 121) | pub async fn flush(&mut self) -> std::io::Result<()> { function recv (line 128) | pub(crate) async fn recv( function upgrade (line 144) | pub(crate) async fn upgrade( FILE: warpgate-protocol-ssh/src/client/channel_direct_tcpip.rs type DirectTCPIPChannel (line 13) | pub struct DirectTCPIPChannel { method new (line 22) | pub fn new( method run (line 38) | pub async fn run(mut self) -> Result<(), SshClientError> { method drop (line 90) | fn drop(&mut self) { FILE: warpgate-protocol-ssh/src/client/channel_session.rs type SessionChannel (line 13) | pub struct SessionChannel { method new (line 23) | pub fn new( method run (line 40) | pub async fn run(mut self) -> Result<(), SshClientError> { method close (line 167) | fn close(&mut self) -> Result<(), SshClientError> { method drop (line 180) | fn drop(&mut self) { FILE: warpgate-protocol-ssh/src/client/error.rs type SshClientError (line 6) | pub enum SshClientError { method other (line 18) | pub fn other(err: E) -> Self { FILE: warpgate-protocol-ssh/src/client/handler.rs type ClientHandlerEvent (line 14) | pub enum ClientHandlerEvent { type ClientHandler (line 24) | pub struct ClientHandler { type Error (line 44) | type Error = ClientHandlerError; method check_server_key (line 46) | async fn check_server_key( method server_channel_open_forwarded_tcpip (line 113) | async fn server_channel_open_forwarded_tcpip( method server_channel_open_x11 (line 136) | async fn server_channel_open_x11( method server_channel_open_forwarded_streamlocal (line 152) | async fn server_channel_open_forwarded_streamlocal( method server_channel_open_agent_forward (line 166) | async fn server_channel_open_agent_forward( type ClientHandlerError (line 32) | pub enum ClientHandlerError { method drop (line 179) | fn drop(&mut self) { FILE: warpgate-protocol-ssh/src/client/mod.rs type ConnectionError (line 35) | pub enum ConnectionError { type RCEvent (line 67) | pub enum RCEvent { type RCCommandReply (line 99) | pub type RCCommandReply = oneshot::Sender>; type RCCommand (line 102) | pub enum RCCommand { type RCState (line 113) | pub enum RCState { type InnerEvent (line 121) | enum InnerEvent { type RemoteClient (line 126) | pub struct RemoteClient { method create (line 149) | pub fn create(id: SessionId, services: Services) -> io::Result Result<(), SshClientError> { method apply_channel_op (line 229) | async fn apply_channel_op( method start (line 264) | pub fn start(mut self) -> io::Result>> { method handle_event (line 300) | async fn handle_event(&mut self, event: InnerEvent) -> Result { method setup_server_initiated_channel (line 347) | async fn setup_server_initiated_channel( method handle_command (line 367) | async fn handle_command(&mut self, cmd: RCCommand) -> Result Result<(... method _handle_auth_result (line 670) | async fn _handle_auth_result( method open_shell (line 738) | async fn open_shell(&mut self, channel_id: Uuid) -> Result<(), SshClie... method open_direct_tcpip (line 757) | async fn open_direct_tcpip( method open_direct_streamlocal (line 788) | async fn open_direct_streamlocal( method tcpip_forward (line 812) | async fn tcpip_forward(&mut self, address: String, port: u32) -> Resul... method cancel_tcpip_forward (line 822) | async fn cancel_tcpip_forward( method streamlocal_forward (line 837) | async fn streamlocal_forward(&mut self, socket_path: String) -> Result... method cancel_streamlocal_forward (line 847) | async fn cancel_streamlocal_forward( method disconnect (line 861) | async fn disconnect(&mut self) { method _on_disconnect (line 872) | async fn _on_disconnect(&mut self) -> Result<()> { type RemoteClientHandles (line 142) | pub struct RemoteClientHandles { method drop (line 879) | fn drop(&mut self) { FILE: warpgate-protocol-ssh/src/common.rs type PtyRequest (line 8) | pub struct PtyRequest { type ServerChannelId (line 18) | pub struct ServerChannelId(pub ChannelId); method fmt (line 21) | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { type DirectTCPIPParams (line 27) | pub struct DirectTCPIPParams { type ForwardedTcpIpParams (line 35) | pub struct ForwardedTcpIpParams { type ForwardedStreamlocalParams (line 43) | pub struct ForwardedStreamlocalParams { type X11Request (line 48) | pub struct X11Request { type ChannelOperation (line 56) | pub enum ChannelOperation { type SshRecordingMetadata (line 78) | pub enum SshRecordingMetadata { FILE: warpgate-protocol-ssh/src/compat.rs type ContextExt (line 3) | pub trait ContextExt { method context (line 4) | fn context(self, context: C) -> anyhow::Result; function context (line 11) | fn context(self, context: C) -> anyhow::Result { FILE: warpgate-protocol-ssh/src/keys.rs function get_keys_path (line 11) | fn get_keys_path(config: &WarpgateConfig, params: &GlobalParams) -> Path... function generate_keys (line 17) | pub fn generate_keys(config: &WarpgateConfig, params: &GlobalParams, pre... function load_keys (line 49) | pub fn load_keys( FILE: warpgate-protocol-ssh/src/known_hosts.rs type KnownHosts (line 9) | pub struct KnownHosts { method new (line 23) | pub fn new(db: &Arc>) -> Self { method validate (line 27) | pub async fn validate( method trust (line 54) | pub async fn trust( type KnownHostValidationResult (line 13) | pub enum KnownHostValidationResult { FILE: warpgate-protocol-ssh/src/lib.rs type SSHProtocolServer (line 20) | pub struct SSHProtocolServer { method new (line 25) | pub async fn new(services: &Services) -> Result { method run (line 36) | async fn run(self, address: ListenEndpoint) -> Result<()> { method name (line 40) | fn name(&self) -> &'static str { method fmt (line 46) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { FILE: warpgate-protocol-ssh/src/server/channel_writer.rs type ChannelWriteOperation (line 6) | enum ChannelWriteOperation { type ChannelWriter (line 13) | pub struct ChannelWriter { method new (line 18) | pub fn new() -> Self { method write (line 38) | pub fn write>>(&self, handle: Handle, channel: Channel... method write_extended (line 44) | pub fn write_extended>>( method flush (line 60) | pub async fn flush(&self) -> Result<(), Box ... function _handle_connection (line 57) | async fn _handle_connection( function _run_stream (line 144) | async fn _run_stream( function get_allowed_auth_methods (line 166) | pub(crate) async fn get_allowed_auth_methods(services: &Services) -> Res... FILE: warpgate-protocol-ssh/src/server/russh_handler.rs type HandleWrapper (line 15) | pub struct HandleWrapper(pub Handle); method fmt (line 18) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type ServerHandlerEvent (line 24) | pub enum ServerHandlerEvent { type ServerHandler (line 57) | pub struct ServerHandler { method send_event (line 68) | fn send_event(&self, event: ServerHandlerEvent) -> Result<(), ServerHa... type Error (line 76) | type Error = anyhow::Error; method auth_succeeded (line 78) | async fn auth_succeeded(&mut self, session: &mut Session) -> Result<()... method channel_open_session (line 84) | async fn channel_open_session( method subsystem_request (line 100) | async fn subsystem_request( method pty_request (line 124) | async fn pty_request( method shell_request (line 162) | async fn shell_request( method auth_publickey_offered (line 183) | async fn auth_publickey_offered( method auth_publickey (line 200) | async fn auth_publickey( method auth_password (line 214) | async fn auth_password(&mut self, user: &str, password: &str) -> Resul... method auth_keyboard_interactive (line 226) | async fn auth_keyboard_interactive<'a>( method data (line 248) | async fn data( method extended_data (line 265) | async fn extended_data( method channel_close (line 281) | async fn channel_close( method window_change_request (line 293) | async fn window_change_request( method channel_eof (line 319) | async fn channel_eof( method signal (line 335) | async fn signal( method exec_request (line 351) | async fn exec_request( method env_request (line 374) | async fn env_request( method channel_open_direct_tcpip (line 394) | async fn channel_open_direct_tcpip( method channel_open_direct_streamlocal (line 420) | async fn channel_open_direct_streamlocal( method x11_request (line 437) | async fn x11_request( method tcpip_forward (line 463) | async fn tcpip_forward( method cancel_tcpip_forward (line 482) | async fn cancel_tcpip_forward( method streamlocal_forward (line 500) | async fn streamlocal_forward( method cancel_streamlocal_forward (line 517) | async fn cancel_streamlocal_forward( method agent_request (line 537) | async fn agent_request( type ServerHandlerError (line 62) | pub enum ServerHandlerError { method drop (line 558) | fn drop(&mut self) { method fmt (line 565) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { FILE: warpgate-protocol-ssh/src/server/service_output.rs constant ERASE_PROGRESS_SPINNER (line 8) | pub const ERASE_PROGRESS_SPINNER: &str = "\r \r"; constant ERASE_PROGRESS_SPINNER_BUF (line 9) | pub const ERASE_PROGRESS_SPINNER_BUF: &[u8] = ERASE_PROGRESS_SPINNER.as_... constant LINEBREAK (line 10) | pub const LINEBREAK: &[u8] = "\n".as_bytes(); type ServiceOutput (line 13) | pub struct ServiceOutput { method new (line 20) | pub fn new() -> Self { method show_progress (line 57) | pub fn show_progress(&mut self) { method hide_progress (line 62) | pub async fn hide_progress(&mut self) { method subscribe (line 69) | pub fn subscribe(&self) -> broadcast::Receiver { method emit_output (line 73) | pub fn emit_output(&mut self, output: Bytes) { method drop (line 79) | fn drop(&mut self) { FILE: warpgate-protocol-ssh/src/server/session.rs type TargetSelection (line 52) | enum TargetSelection { type Event (line 59) | enum Event { type KeyboardInteractiveState (line 67) | enum KeyboardInteractiveState { type CachedSuccessfulTicketAuth (line 73) | struct CachedSuccessfulTicketAuth { type TrafficRecorderKey (line 79) | pub enum TrafficRecorderKey { type ServerSession (line 84) | pub struct ServerSession { method fmt (line 118) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method start (line 124) | pub async fn start( method get_next_event (line 237) | async fn get_next_event(&mut self) -> Option { method get_auth_state (line 241) | async fn get_auth_state(&mut self, username: &str) -> Result tracing::Span { method map_channel (line 288) | fn map_channel(&self, ch: &ServerChannelId) -> Result Result { method emit_service_message (line 302) | pub async fn emit_service_message(&mut self, msg: &str) -> Result<()> { method emit_pty_output (line 315) | pub async fn emit_pty_output(&mut self, data: &[u8]) -> Result<()> { method maybe_connect_remote (line 336) | pub async fn maybe_connect_remote(&mut self) -> Result<()> { method connect_remote (line 356) | async fn connect_remote( method handle_event (line 371) | fn handle_event<'a>( method handle_server_handler_event (line 413) | async fn handle_server_handler_event(&mut self, event: ServerHandlerEv... method handle_session_control (line 616) | pub async fn handle_session_control(&mut self, command: SessionHandleC... method handle_remote_event (line 628) | pub async fn handle_remote_event(&mut self, event: RCEvent) -> Result<... method handle_unknown_host_key (line 936) | async fn handle_unknown_host_key( method maybe_with_session (line 1008) | async fn maybe_with_session<'a, FN, FT, R>(&'a mut self, f: FN) -> Res... method _channel_open_direct_tcpip (line 1019) | async fn _channel_open_direct_tcpip( method _channel_open_direct_streamlocal (line 1074) | async fn _channel_open_direct_streamlocal( method _window_change_request (line 1119) | async fn _window_change_request( method _channel_exec_request (line 1144) | async fn _channel_exec_request( method start_terminal_recording (line 1176) | async fn start_terminal_recording(&mut self, channel_id: Uuid, metadat... method _channel_x11_request (line 1204) | async fn _channel_x11_request( method _channel_env_request (line 1220) | async fn _channel_env_request( method traffic_recorder_for (line 1236) | async fn traffic_recorder_for( method _channel_subsystem_request (line 1261) | pub async fn _channel_subsystem_request( method _data (line 1277) | async fn _data(&mut self, server_channel_id: ServerChannelId, data: By... method _extended_data (line 1314) | async fn _extended_data( method _tcpip_forward (line 1329) | async fn _tcpip_forward(&mut self, address: String, port: u32) -> Resu... method _cancel_tcpip_forward (line 1337) | pub async fn _cancel_tcpip_forward(&mut self, address: String, port: u... method _streamlocal_forward (line 1344) | async fn _streamlocal_forward(&mut self, socket_path: String) -> Resul... method _cancel_streamlocal_forward (line 1352) | pub async fn _cancel_streamlocal_forward(&mut self, socket_path: Strin... method _agent_forward (line 1359) | async fn _agent_forward(&mut self, server_channel_id: ServerChannelId)... method _auth_publickey_offer (line 1370) | async fn _auth_publickey_offer( method _auth_publickey (line 1410) | async fn _auth_publickey( method _auth_password (line 1467) | async fn _auth_password( method _auth_keyboard_interactive (line 1500) | async fn _auth_keyboard_interactive( method get_remaining_auth_methods (line 1614) | fn get_remaining_auth_methods(&self, kinds: HashSet) -... method try_validate_public_key_offer (line 1643) | async fn try_validate_public_key_offer( method try_auth_lazy (line 1668) | async fn try_auth_lazy( method try_auth_eager (line 1697) | async fn try_auth_eager( method _auth_accept (line 1769) | async fn _auth_accept( method _channel_close (line 1814) | async fn _channel_close(&mut self, server_channel_id: ServerChannelId)... method _channel_eof (line 1822) | async fn _channel_eof(&mut self, server_channel_id: ServerChannelId) -... method _channel_signal (line 1829) | pub async fn _channel_signal( method send_command (line 1844) | fn send_command(&mut self, command: RCCommand) -> Result<(), RCCommand> { method send_command_and_wait (line 1848) | async fn send_command_and_wait(&mut self, command: RCCommand) -> Resul... method _disconnect (line 1872) | pub async fn _disconnect(&mut self) { method request_disconnect (line 1877) | async fn request_disconnect(&mut self) { method disconnect_server (line 1885) | async fn disconnect_server(&mut self) { function session_debug_tag (line 113) | fn session_debug_tag(id: &SessionId, remote_address: &SocketAddr) -> Str... method drop (line 1907) | fn drop(&mut self) { type PendingCommand (line 1914) | pub enum PendingCommand { type Output (line 1920) | type Output = Result<(), SshClientError>; method poll (line 1922) | fn poll(self: Pin<&mut Self>, cx: &mut std::task::Context<'_>) -> Poll (Self, mpsc::UnboundedReceiver) { method close (line 21) | fn close(&mut self) { FILE: warpgate-sso/src/config.rs type RoleMapping (line 17) | pub enum RoleMapping { method roles (line 23) | pub fn roles(&self) -> Vec { type SsoProviderReturnUrlPrefix (line 40) | pub enum SsoProviderReturnUrlPrefix { method fmt (line 49) | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { type SsoProviderConfig (line 58) | pub struct SsoProviderConfig { method label (line 74) | pub fn label(&self) -> &str { type SsoInternalProviderConfig (line 83) | pub enum SsoInternalProviderConfig { method label (line 146) | pub fn label(&self) -> &'static str { method client_id (line 156) | pub fn client_id(&self) -> &ClientId { method client_secret (line 166) | pub fn client_secret(&self) -> Result { method issuer_url (line 217) | pub fn issuer_url(&self) -> Result { method scopes (line 239) | pub fn scopes(&self) -> Vec { method extra_parameters (line 250) | pub fn extra_parameters(&self) -> HashMap { method auth_type (line 262) | pub fn auth_type(&self) -> AuthType { method needs_pkce_verifier (line 271) | pub fn needs_pkce_verifier(&self) -> bool { method role_mappings (line 280) | pub fn role_mappings(&self) -> Option> { method admin_role_mappings (line 290) | pub fn admin_role_mappings(&self) -> Option Option<&Vec> { method trust_unknown_audiences (line 318) | pub fn trust_unknown_audiences(&self) -> bool { type AppleIDClaims (line 136) | struct AppleIDClaims<'a> { FILE: warpgate-sso/src/error.rs type SsoError (line 8) | pub enum SsoError { FILE: warpgate-sso/src/google_groups.rs type DirectoryGroupsResponse (line 10) | struct DirectoryGroupsResponse { type DirectoryGroup (line 18) | struct DirectoryGroup { constant DIRECTORY_SCOPE (line 22) | const DIRECTORY_SCOPE: &str = "https://www.googleapis.com/auth/admin.dir... constant GOOGLE_TOKEN_URL (line 23) | const GOOGLE_TOKEN_URL: &str = "https://oauth2.googleapis.com/token"; constant DIRECTORY_GROUPS_URL (line 24) | const DIRECTORY_GROUPS_URL: &str = "https://admin.googleapis.com/admin/d... function fetch_groups_if_configured (line 33) | pub async fn fetch_groups_if_configured( function parse_json_response (line 62) | async fn parse_json_response( function get_access_token (line 74) | async fn get_access_token( function fetch_user_groups (line 111) | async fn fetch_user_groups( FILE: warpgate-sso/src/request.rs type SsoLoginRequest (line 9) | pub struct SsoLoginRequest { method auth_url (line 19) | pub fn auth_url(&self) -> &Url { method csrf_token (line 23) | pub fn csrf_token(&self) -> &CsrfToken { method redirect_url (line 27) | pub fn redirect_url(&self) -> &RedirectUrl { method verify_code (line 31) | pub async fn verify_code(self, code: String) -> Result(deserializer: D) -> Result>,... type WarpgateClaims (line 47) | pub struct WarpgateClaims { type SsoResult (line 56) | pub struct SsoResult { type SsoClient (line 62) | pub struct SsoClient { method new (line 108) | pub fn new(config: SsoInternalProviderConfig) -> Result { method supports_single_logout (line 115) | pub async fn supports_single_logout(&self) -> Result { method start_login (line 123) | pub async fn start_login(&self, redirect_url: String) -> Result R... function discover_metadata (line 67) | pub async fn discover_metadata( function make_client (line 81) | async fn make_client( FILE: warpgate-tls/src/cert.rs type TlsCertificateBundle (line 17) | pub struct TlsCertificateBundle { method bytes (line 41) | pub fn bytes(&self) -> &[u8] { method certificates (line 45) | pub fn certificates(&self) -> &[CertificateDer<'static>] { method from_file (line 49) | pub async fn from_file>(path: P) -> Result) -> Result { method sni_names (line 70) | pub fn sni_names(&self) -> Result, RustlsSetupError> { type TlsPrivateKey (line 23) | pub struct TlsPrivateKey { method key (line 29) | pub fn key(&self) -> &Arc { method from_file (line 133) | pub async fn from_file>(path: P) -> Result) -> Result { type TlsCertificateAndPrivateKey (line 35) | pub struct TlsCertificateAndPrivateKey { function from (line 149) | fn from(val: TlsCertificateBundle) -> Self { function from (line 155) | fn from(val: TlsPrivateKey) -> Self { method from (line 161) | fn from(val: TlsCertificateAndPrivateKey) -> Self { method from (line 169) | fn from(val: TlsCertificateAndPrivateKey) -> Self { type SingleCertResolver (line 181) | pub struct SingleCertResolver(Arc); method new (line 184) | pub fn new(inner: TlsCertificateAndPrivateKey) -> Self { method resolve (line 190) | fn resolve( type IntoTlsCertificateRelativePaths (line 198) | pub trait IntoTlsCertificateRelativePaths { method certificate_path (line 199) | fn certificate_path(&self) -> PathBuf; method key_path (line 200) | fn key_path(&self) -> PathBuf; FILE: warpgate-tls/src/error.rs type RustlsSetupError (line 5) | pub enum RustlsSetupError { FILE: warpgate-tls/src/maybe_tls_stream.rs type MaybeTlsStreamError (line 11) | pub enum MaybeTlsStreamError { type UpgradableStream (line 18) | pub trait UpgradableStream method upgrade (line 24) | fn upgrade( type MaybeTlsStream (line 30) | pub enum MaybeTlsStream function new (line 45) | pub fn new(stream: S) -> Self { function upgrade (line 55) | pub async fn upgrade( method poll_read (line 73) | fn poll_read( method poll_write (line 91) | fn poll_write( method poll_flush (line 103) | fn poll_flush( method poll_shutdown (line 114) | fn poll_shutdown( type UpgradeConfig (line 130) | type UpgradeConfig = (ServerName<'static>, Arc); method upgrade (line 132) | async fn upgrade( type UpgradeConfig (line 146) | type UpgradeConfig = Arc; method upgrade (line 148) | async fn upgrade( FILE: warpgate-tls/src/mode.rs type TlsMode (line 5) | pub enum TlsMode { method from (line 16) | fn from(s: &str) -> Self { method from (line 27) | fn from(mode: TlsMode) -> Self { FILE: warpgate-tls/src/rustls_helpers.rs type ResolveServerCert (line 15) | pub struct ResolveServerCert(pub Arc); method resolve (line 18) | fn resolve(&self, _: ClientHello) -> Option> { function configure_tls_connector (line 23) | pub async fn configure_tls_connector( type DummyTlsVerifier (line 67) | pub struct DummyTlsVerifier; method verify_server_cert (line 70) | fn verify_server_cert( method verify_tls12_signature (line 81) | fn verify_tls12_signature( method verify_tls13_signature (line 90) | fn verify_tls13_signature( method supported_verify_schemes (line 99) | fn supported_verify_schemes(&self) -> Vec { type NoHostnameTlsVerifier (line 119) | pub struct NoHostnameTlsVerifier { method verify_server_cert (line 124) | fn verify_server_cert( method verify_tls12_signature (line 146) | fn verify_tls12_signature( method verify_tls13_signature (line 155) | fn verify_tls13_signature( method supported_verify_schemes (line 164) | fn supported_verify_schemes(&self) -> Vec { FILE: warpgate-web/src/admin/config/ldap/common.ts function testLdapConnection (line 3) | async function testLdapConnection(options: TestLdapServerRequest): Promi... function defaultLdapPortForTlsMode (line 15) | function defaultLdapPortForTlsMode(tlsMode: TlsMode): number { FILE: warpgate-web/src/admin/config/target-groups/common.ts constant VALID_COLORS (line 3) | const VALID_COLORS: BootstrapThemeColor[] = ['Primary', 'Secondary', 'Su... constant VALID_CHOICES (line 4) | const VALID_CHOICES = ['' as (BootstrapThemeColor | ''), ...VALID_COLORS] FILE: warpgate-web/src/admin/lib/api.ts function stringifyError (line 10) | async function stringifyError (err: ResponseError): Promise { FILE: warpgate-web/src/admin/lib/store.ts type AdminPermissionDef (line 5) | interface AdminPermissionDef { constant ADMIN_PERMISSIONS (line 13) | const ADMIN_PERMISSIONS = [ type AdminPermission (line 104) | type AdminPermission = typeof ADMIN_PERMISSIONS[number] type AdminPermissionKey (line 106) | type AdminPermissionKey = AdminPermission['key'] type AdminPermissionCategory (line 108) | type AdminPermissionCategory = AdminPermission['category'] function emptyPermissions (line 110) | function emptyPermissions(): AdminPermissions { FILE: warpgate-web/src/admin/lib/time.ts function timeAgo (line 3) | function timeAgo(t: Date): string { FILE: warpgate-web/src/common/autosave.ts function autosave (line 4) | function autosave (key: string, initial: T): ([Writable, BehaviorS... FILE: warpgate-web/src/common/errors.ts function stringifyError (line 5) | async function stringifyError (err: any): Promise { FILE: warpgate-web/src/common/helpers.ts function getCSSColorFromThemeColor (line 3) | function getCSSColorFromThemeColor(color?: BootstrapThemeColor): string { FILE: warpgate-web/src/common/protocols.ts type ConnectionOptions (line 5) | interface ConnectionOptions { function makeSSHUsername (line 14) | function makeSSHUsername (opt: ConnectionOptions): string { function makeExampleSSHCommand (line 21) | function makeExampleSSHCommand (opt: ConnectionOptions): string { function makeExampleSCPCommand (line 30) | function makeExampleSCPCommand (opt: ConnectionOptions): string { function makeMySQLUsername (line 42) | function makeMySQLUsername (opt: ConnectionOptions): string { function makeExampleMySQLCommand (line 49) | function makeExampleMySQLCommand (opt: ConnectionOptions): string { function makeExampleMySQLURI (line 58) | function makeExampleMySQLURI (opt: ConnectionOptions): string { function makeExamplePostgreSQLCommand (line 66) | function makeExamplePostgreSQLCommand (opt: ConnectionOptions): string { function makeExamplePostgreSQLURI (line 76) | function makeExamplePostgreSQLURI (opt: ConnectionOptions): string { function makeTargetURL (line 82) | function makeTargetURL (opt: ConnectionOptions): string { function abbreviatePublicKey (line 98) | function abbreviatePublicKey (key: string): string { function makeKubernetesContext (line 102) | function makeKubernetesContext (opt: ConnectionOptions): string { function makeKubernetesNamespace (line 109) | function makeKubernetesNamespace (_opt: ConnectionOptions): string { function makeKubernetesClusterUrl (line 113) | function makeKubernetesClusterUrl (opt: ConnectionOptions): string { function makeKubeconfig (line 118) | function makeKubeconfig (opt: ConnectionOptions): string { function makeExampleKubectlCommand (line 169) | function makeExampleKubectlCommand (_opt: ConnectionOptions): string { type ProtocolProperties (line 174) | interface ProtocolProperties { constant PROTOCOL_PROPERTIES (line 178) | const PROTOCOL_PROPERTIES: Record = { FILE: warpgate-web/src/common/recordings.ts type RecordingMetadata (line 3) | type RecordingMetadata ={ function recordingMetadataToFieldSet (line 39) | function recordingMetadataToFieldSet(metadata: RecordingMetadata): [stri... function recordingTypeLabel (line 74) | function recordingTypeLabel(recording: Recording): string { FILE: warpgate-web/src/common/sveltestrap-s5-ports/_sveltestrapUtils.ts function toClassName (line 2) | function toClassName(value: any) { function uuid (line 28) | function uuid(): string { FILE: warpgate-web/src/gateway/lib/api.ts function stringifyError (line 10) | async function stringifyError (err: ResponseError): Promise { FILE: warpgate-web/src/gateway/lib/shellEscape.ts function escapeUnix (line 3) | function escapeUnix (arg: string): string { function escapeWin (line 10) | function escapeWin (arg: string): string { function shellEscape (line 19) | function shellEscape (stringOrArray: string[]|string): string { FILE: warpgate-web/src/gateway/lib/store.ts function reloadServerInfo (line 6) | async function reloadServerInfo (): Promise { FILE: warpgate-web/src/lib.rs type Assets (line 8) | pub struct Assets; type LookupError (line 11) | pub enum LookupError { type ManifestEntry (line 26) | pub struct ManifestEntry { function lookup_built_file (line 31) | pub fn lookup_built_file(source: &str) -> Result Result<()> { FILE: warpgate/src/commands/client_keys.rs function command (line 6) | pub(crate) async fn command(params: &GlobalParams) -> Result<()> { FILE: warpgate/src/commands/common.rs function assert_interactive_terminal (line 5) | pub(crate) fn assert_interactive_terminal() { function is_docker (line 15) | pub(crate) fn is_docker() -> bool { FILE: warpgate/src/commands/create_user.rs function command (line 13) | pub(crate) async fn command( FILE: warpgate/src/commands/healthcheck.rs function command (line 7) | pub(crate) async fn command(params: &GlobalParams) -> Result<()> { FILE: warpgate/src/commands/recover_access.rs function command (line 14) | pub(crate) async fn command(params: &GlobalParams, username: &Option( function command (line 32) | pub(crate) async fn command(params: &GlobalParams, enable_admin_token: b... function watch_config_and_reload (line 186) | pub async fn watch_config_and_reload(services: Services) -> Result<()> { FILE: warpgate/src/commands/setup.rs function prompt_endpoint (line 24) | fn prompt_endpoint(prompt: &str, default: ListenEndpoint) -> ListenEndpo... function command (line 46) | pub(crate) async fn command(cli: &Cli, params: &GlobalParams) -> Result<... FILE: warpgate/src/config.rs function load_config (line 11) | pub fn load_config(params: &GlobalParams, secure: bool) -> Result, cli: &Cli) ->... FILE: warpgate/src/main.rs type Cli (line 18) | pub struct Cli { method into_global_params (line 39) | pub fn into_global_params(&self) -> anyhow::Result { type Commands (line 45) | pub(crate) enum Commands { function _main (line 125) | async fn _main() -> Result<()> { function main (line 183) | async fn main() {