DialFunc dials an agent by ID and returns a connection.
func(ctx context.Context, id uuid.UUID) (workspacesdk.AgentConn, func(), error)
| 20 | |
| 21 | // DialFunc dials an agent by ID and returns a connection. |
| 22 | type DialFunc func(ctx context.Context, id uuid.UUID) (workspacesdk.AgentConn, func(), error) |
| 23 | |
| 24 | // ValidateFunc returns the current agent ID for a workspace. |
| 25 | type ValidateFunc func(ctx context.Context, workspaceID uuid.UUID) (uuid.UUID, error) |