Skip to content
This repository has been archived by the owner on Mar 30, 2023. It is now read-only.

Commit

Permalink
Merge pull request #81 from RSE-Cambridge/etcd-rework
Browse files Browse the repository at this point in the history
Etcd rework
  • Loading branch information
JohnGarbutt authored Sep 4, 2019
2 parents 018ad90 + 9b592df commit 6d7f487
Show file tree
Hide file tree
Showing 158 changed files with 7,244 additions and 7,387 deletions.
6 changes: 6 additions & 0 deletions .idea/data-acc.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions .idea/dictionaries/john.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions .idea/webResources.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 20 additions & 12 deletions build/rebuild_mocks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,32 @@ echo "Regenerate mocks:"

mkdir -p internal/pkg/mocks

items="pool volume"
items="session session_action_handler"
for i in $items; do
mockgen -source=internal/pkg/registry/${i}.go \
-package mocks >internal/pkg/mocks/${i}_mock.go
mockgen -source=internal/pkg/facade/${i}.go \
>internal/pkg/mock_facade/${i}.go
done

items="job"
items="disk"
for i in $items; do
mockgen -source=internal/pkg/dacctl/${i}.go \
-package mocks >internal/pkg/mocks/${i}_mock.go
mockgen -source=internal/pkg/fileio/${i}.go \
>internal/pkg/mock_fileio/${i}_mock.go
done

items="disk"
items="provider ansible"
for i in $items; do
mockgen -source=internal/pkg/fileio/${i}.go \
-package mocks >internal/pkg/mocks/${i}_mock.go
mockgen -source=internal/pkg/filesystem/${i}.go \
>internal/pkg/mock_filesystem/${i}.go
done

items="interface"
mockgen -source=internal/pkg/pfsprovider/interface.go \
-package mocks >internal/pkg/mocks/pfsprovider_mock.go
items="brick_allocation brick_host session session_actions"
for i in $items; do
mockgen -source=internal/pkg/registry/${i}.go \
>internal/pkg/mock_registry/${i}.go
done

items="keystore"
for i in $items; do
mockgen -source=internal/pkg/store/${i}.go \
>internal/pkg/mock_store/${i}.go
done
71 changes: 0 additions & 71 deletions cmd/dac-func-test/dacctl.go

This file was deleted.

123 changes: 0 additions & 123 deletions cmd/dac-func-test/etcdkeystore.go

This file was deleted.

24 changes: 0 additions & 24 deletions cmd/dac-func-test/main.go

This file was deleted.

Loading

0 comments on commit 6d7f487

Please sign in to comment.