File tree 5 files changed +557
-556
lines changed
5 files changed +557
-556
lines changed Original file line number Diff line number Diff line change @@ -4,29 +4,29 @@ inpackage: true
4
4
dir : " {{.InterfaceDir}}"
5
5
filename : " mock_{{.InterfaceNameSnake}}.go"
6
6
packages :
7
- github.com/nais/device/pkg /apiserver/auth :
7
+ github.com/nais/device/internal /apiserver/auth :
8
8
interfaces :
9
9
SessionStore :
10
- github.com/nais/device/pkg /apiserver/bucket :
10
+ github.com/nais/device/internal /apiserver/bucket :
11
11
interfaces :
12
12
Client :
13
13
Object :
14
- github.com/nais/device/pkg /apiserver/database :
14
+ github.com/nais/device/internal /apiserver/database :
15
15
interfaces :
16
16
APIServer :
17
- github.com/nais/device/pkg /pb :
17
+ github.com/nais/device/internal /pb :
18
18
interfaces :
19
19
APIServerClient :
20
20
APIServer_GetGatewayConfigurationClient :
21
- github.com/nais/device/pkg /wireguard :
21
+ github.com/nais/device/internal /wireguard :
22
22
interfaces :
23
23
NetworkConfigurer :
24
- github.com/nais/device/pkg /notify :
24
+ github.com/nais/device/internal /notify :
25
25
interfaces :
26
26
Notifier :
27
- github.com/nais/device/pkg /device-agent/runtimeconfig :
27
+ github.com/nais/device/internal /device-agent/runtimeconfig :
28
28
interfaces :
29
29
RuntimeConfig :
30
- github.com/nais/device/pkg /helper :
30
+ github.com/nais/device/internal /helper :
31
31
interfaces :
32
32
OSConfigurator :
Original file line number Diff line number Diff line change 2
2
3
3
LAST_COMMIT = $(shell git --no-pager log -1 --pretty=% h)
4
4
VERSION := $(shell date "+% Y-% m-% d-% H% M% S")
5
- LDFLAGS := -X github.com/nais/device/pkg /version.Revision=$(shell git rev-parse --short HEAD) -X github.com/nais/device/pkg /version.Version=$(VERSION )
5
+ LDFLAGS := -X github.com/nais/device/internal /version.Revision=$(shell git rev-parse --short HEAD) -X github.com/nais/device/internal /version.Version=$(VERSION )
6
6
PKGID = io.nais.device
7
7
GOPATH ?= ~/go
8
8
GOTAGS ?=
@@ -13,7 +13,7 @@ all: test
13
13
clients : linux-client macos-client windows-client
14
14
15
15
proto : install-protobuf-go
16
- ${PROTOC} --go-grpc_opt=paths=source_relative --go_opt=paths=source_relative --go_out=. --go-grpc_out=. pkg /pb/protobuf-api.proto
16
+ ${PROTOC} --go-grpc_opt=paths=source_relative --go_opt=paths=source_relative --go_out=. --go-grpc_out=. internal /pb/protobuf-api.proto
17
17
18
18
install-protobuf-go :
19
19
go install google.golang.org/protobuf/cmd/protoc-gen-go
@@ -172,7 +172,7 @@ clean:
172
172
173
173
mocks :
174
174
go run github.com/vektra/mockery/v2
175
- find pkg -type f -name " mock_*.go" -exec go run mvdan.cc/gofumpt -w {} \;
175
+ find internal -type f -name " mock_*.go" -exec go run mvdan.cc/gofumpt -w {} \;
176
176
177
177
# controlplane is autoreleased for every push
178
178
release-frontend :
@@ -189,7 +189,7 @@ buildreleaseauthserver:
189
189
190
190
generate-sqlc :
191
191
go run github.com/sqlc-dev/sqlc/cmd/sqlc generate
192
- go run mvdan.cc/gofumpt -w ./pkg /apiserver/sqlc/
192
+ go run mvdan.cc/gofumpt -w ./internal /apiserver/sqlc/
193
193
194
194
fmt :
195
195
go run mvdan.cc/gofumpt -w ./
You can’t perform that action at this time.
0 commit comments