mirror of https://github.com/ceph/go-ceph
repo: update new repo path
noahdesu -> ceph Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
This commit is contained in:
parent
f9be60af9f
commit
3f52ea219a
|
@ -11,7 +11,7 @@ RUN wget --no-check-certificate -q -O- 'https://ceph.com/git/?p=ceph.git;a=blob_
|
|||
apt-get install -y ceph \
|
||||
librados-dev librbd-dev libcephfs-dev
|
||||
|
||||
VOLUME /go/src/github.com/noahdesu/go-ceph
|
||||
VOLUME /go/src/github.com/ceph/go-ceph
|
||||
|
||||
COPY ./ci/entrypoint.sh /tmp/entrypoint.sh
|
||||
|
||||
|
|
2
Makefile
2
Makefile
|
@ -7,7 +7,7 @@ test:
|
|||
go test -v ./...
|
||||
|
||||
test-docker: .build-docker
|
||||
docker run --rm -it -v $(CURDIR):/go/src/github.com/noahdesu/go-ceph $(DOCKER_CI_IMAGE)
|
||||
docker run --rm -it -v $(CURDIR):/go/src/github.com/ceph/go-ceph $(DOCKER_CI_IMAGE)
|
||||
|
||||
.build-docker:
|
||||
docker build -t $(DOCKER_CI_IMAGE) .
|
||||
|
|
|
@ -1,20 +1,20 @@
|
|||
# go-ceph - Go bindings for Ceph APIs (RBD, RADOS, CephFS)
|
||||
|
||||
[![Build Status](https://travis-ci.org/noahdesu/go-ceph.svg)](https://travis-ci.org/noahdesu/go-ceph) [![Godoc](http://img.shields.io/badge/godoc-reference-blue.svg?style=flat)](https://godoc.org/github.com/noahdesu/go-ceph) [![license](http://img.shields.io/badge/license-MIT-red.svg?style=flat)](https://raw.githubusercontent.com/noahdesu/go-ceph/master/LICENSE)
|
||||
[![Build Status](https://travis-ci.org/noahdesu/go-ceph.svg)](https://travis-ci.org/noahdesu/go-ceph) [![Godoc](http://img.shields.io/badge/godoc-reference-blue.svg?style=flat)](https://godoc.org/github.com/ceph/go-ceph) [![license](http://img.shields.io/badge/license-MIT-red.svg?style=flat)](https://raw.githubusercontent.com/ceph/go-ceph/master/LICENSE)
|
||||
|
||||
|
||||
This project uses Semantic Versioning (http://semver.org/).
|
||||
|
||||
## Installation
|
||||
|
||||
go get github.com/noahdesu/go-ceph
|
||||
go get github.com/ceph/go-ceph
|
||||
|
||||
The native RADOS library and development headers are expected to be installed.
|
||||
|
||||
## Documentation
|
||||
|
||||
Detailed documentation is available at
|
||||
<http://godoc.org/github.com/noahdesu/go-ceph>.
|
||||
<http://godoc.org/github.com/ceph/go-ceph>.
|
||||
|
||||
### Connecting to a cluster
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package cephfs_test
|
||||
|
||||
import "testing"
|
||||
import "github.com/noahdesu/go-ceph/cephfs"
|
||||
import "github.com/ceph/go-ceph/cephfs"
|
||||
import "github.com/stretchr/testify/assert"
|
||||
|
||||
func TestCreateMount(t *testing.T) {
|
||||
|
|
|
@ -109,6 +109,6 @@ ceph osd tree
|
|||
export CEPH_CONF="${DIR}/ceph.conf"
|
||||
|
||||
go get github.com/stretchr/testify/assert
|
||||
cd /go/src/github.com/noahdesu/go-ceph
|
||||
cd /go/src/github.com/ceph/go-ceph
|
||||
|
||||
exec go test -v ./...
|
||||
|
|
4
doc.go
4
doc.go
|
@ -4,6 +4,6 @@ Set of wrappers around Ceph APIs.
|
|||
package rados
|
||||
|
||||
import (
|
||||
_ "github.com/noahdesu/go-ceph/rados"
|
||||
_ "github.com/noahdesu/go-ceph/rbd"
|
||||
_ "github.com/ceph/go-ceph/rados"
|
||||
_ "github.com/ceph/go-ceph/rbd"
|
||||
)
|
||||
|
|
|
@ -3,7 +3,7 @@ package rados_test
|
|||
import "testing"
|
||||
|
||||
//import "bytes"
|
||||
import "github.com/noahdesu/go-ceph/rados"
|
||||
import "github.com/ceph/go-ceph/rados"
|
||||
import "github.com/stretchr/testify/assert"
|
||||
import "os"
|
||||
import "os/exec"
|
||||
|
|
|
@ -11,7 +11,7 @@ import (
|
|||
"bytes"
|
||||
"errors"
|
||||
"fmt"
|
||||
"github.com/noahdesu/go-ceph/rados"
|
||||
"github.com/ceph/go-ceph/rados"
|
||||
"io"
|
||||
"unsafe"
|
||||
)
|
||||
|
|
|
@ -3,8 +3,8 @@ package rbd_test
|
|||
import (
|
||||
"bytes"
|
||||
"encoding/json"
|
||||
"github.com/noahdesu/go-ceph/rados"
|
||||
"github.com/noahdesu/go-ceph/rbd"
|
||||
"github.com/ceph/go-ceph/rados"
|
||||
"github.com/ceph/go-ceph/rbd"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"os/exec"
|
||||
"sort"
|
||||
|
|
Loading…
Reference in New Issue