chore: Move httpapi, httpmw, & database into coderd (#568)

* chore: Move httpmw to /coderd directory
httpmw is specific to coderd and should be scoped under coderd

* chore: Move httpapi to /coderd directory
httpapi is specific to coderd and should be scoped under coderd

* chore: Move database  to /coderd directory
database is specific to coderd and should be scoped under coderd

* chore: Update codecov & gitattributes for generated files
* chore: Update Makefile
This commit is contained in:
Steven Masley
2022-03-25 16:07:45 -05:00
committed by GitHub
parent 6be949a88e
commit 591523a078
98 changed files with 155 additions and 155 deletions

View File

@ -13,8 +13,8 @@ import (
"golang.org/x/xerrors"
"github.com/coder/coder/httpapi"
"github.com/coder/coder/httpmw"
"github.com/coder/coder/coderd/httpapi"
"github.com/coder/coder/coderd/httpmw"
)
// New creates a Coder client for the provided URL.

View File

@ -9,7 +9,7 @@ import (
"github.com/google/uuid"
"github.com/coder/coder/database"
"github.com/coder/coder/coderd/database"
)
// Organization is the JSON representation of a Coder organization.

View File

@ -9,7 +9,7 @@ import (
"github.com/google/uuid"
"github.com/coder/coder/database"
"github.com/coder/coder/coderd/database"
)
type ParameterScope string

View File

@ -9,7 +9,7 @@ import (
"github.com/google/uuid"
"github.com/coder/coder/database"
"github.com/coder/coder/coderd/database"
)
// Project is the JSON representation of a Coder project.

View File

@ -9,8 +9,8 @@ import (
"github.com/google/uuid"
"github.com/coder/coder/coderd/database"
"github.com/coder/coder/coderd/parameter"
"github.com/coder/coder/database"
)
// ProjectVersion represents a single version of a project.

View File

@ -15,7 +15,7 @@ import (
"golang.org/x/xerrors"
"nhooyr.io/websocket"
"github.com/coder/coder/database"
"github.com/coder/coder/coderd/database"
"github.com/coder/coder/provisionerd/proto"
"github.com/coder/coder/provisionersdk"
)

View File

@ -9,7 +9,7 @@ import (
"github.com/google/uuid"
"github.com/coder/coder/database"
"github.com/coder/coder/coderd/database"
)
// WorkspaceBuild is an at-point representation of a workspace state.

View File

@ -16,8 +16,8 @@ import (
"nhooyr.io/websocket"
"github.com/coder/coder/agent"
"github.com/coder/coder/database"
"github.com/coder/coder/httpmw"
"github.com/coder/coder/coderd/database"
"github.com/coder/coder/coderd/httpmw"
"github.com/coder/coder/peer"
"github.com/coder/coder/peerbroker"
"github.com/coder/coder/peerbroker/proto"

View File

@ -9,7 +9,7 @@ import (
"github.com/google/uuid"
"github.com/coder/coder/database"
"github.com/coder/coder/coderd/database"
)
// Workspace is a per-user deployment of a project. It tracks