-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(services/cephfs): Move services cephfs back (#945)
* Add cephfs back * Add cephfs back
- Loading branch information
1 parent
6a28e00
commit 609b00c
Showing
12 changed files
with
798 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
coverage.* | ||
bin/ | ||
|
||
# Jetbrain IDE | ||
.idea | ||
*.iml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
SHELL := /bin/bash | ||
|
||
.PHONY: all check format lint build test generate tidy | ||
|
||
help: | ||
@echo "Please use \`make <target>\` where <target> is one of" | ||
@echo " check to do static check" | ||
@echo " build to create bin directory and build" | ||
@echo " generate to generate code" | ||
@echo " test to run test" | ||
|
||
check: vet | ||
|
||
format: | ||
go fmt ./... | ||
|
||
vet: | ||
go vet ./... | ||
|
||
generate: | ||
@echo "generate code" | ||
go generate ./... | ||
go fmt ./... | ||
|
||
build: tidy generate check | ||
go build ./... | ||
|
||
test: | ||
go test -race -coverprofile=coverage.txt -covermode=atomic -v . | ||
go tool cover -html="coverage.txt" -o "coverage.html" | ||
|
||
integration_test: | ||
go test -race -count=1 -covermode=atomic -v ./tests | ||
|
||
tidy: | ||
go mod tidy | ||
go mod verify | ||
|
||
clean: | ||
@echo "clean generated files" | ||
find . -type f -name 'generated.go' -delete |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# cephfs | ||
|
||
cephfs service support for [go-storage](https://github.com/beyondstorage/go-storage) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
/* | ||
Package cephfs provided support for ceph file system(https://ceph.io). | ||
*/ | ||
package cephfs | ||
|
||
//go:generate go run -tags tools go.beyondstorage.io/v5/cmd/definitions service.toml |
Oops, something went wrong.