Finds a workspace proxy that has an access URL or app hostname that matches the provided hostname. This is to check if a hostname matches any workspace proxy. The hostname must be sanitized to only contain [a-zA-Z0-9.-] before calling this query. The scheme, port and path should be stripped.
(ctx context.Context, arg GetWorkspaceProxyByHostnameParams)
| 901 | // this query. The scheme, port and path should be stripped. |
| 902 | // |
| 903 | GetWorkspaceProxyByHostname(ctx context.Context, arg GetWorkspaceProxyByHostnameParams) (WorkspaceProxy, error) |
| 904 | GetWorkspaceProxyByID(ctx context.Context, id uuid.UUID) (WorkspaceProxy, error) |
| 905 | GetWorkspaceProxyByName(ctx context.Context, name string) (WorkspaceProxy, error) |
| 906 | GetWorkspaceResourceByID(ctx context.Context, id uuid.UUID) (WorkspaceResource, error) |
no outgoing calls