Documentation ¶
Index ¶
- Constants
- func NewBlockAPIServer(dir string, backend string) (pfsclient.BlockAPIServer, error)
- func NewLocalBlockAPIServer(dir string) (pfsclient.BlockAPIServer, error)
- func NewObjBlockAPIServer(dir string, objClient obj.Client) (pfsclient.BlockAPIServer, error)
- type APIServer
- type InternalAPIServer
Constants ¶
View Source
const ( AmazonBackendEnvVar = "AMAZON" GoogleBackendEnvVar = "GOOGLE" )
Variables ¶
This section is empty.
Functions ¶
func NewBlockAPIServer ¶
func NewBlockAPIServer(dir string, backend string) (pfsclient.BlockAPIServer, error)
NewBlockAPIServer creates a BlockAPIServer using the credentials it finds in the environment
func NewLocalBlockAPIServer ¶
func NewLocalBlockAPIServer(dir string) (pfsclient.BlockAPIServer, error)
func NewObjBlockAPIServer ¶
Types ¶
type InternalAPIServer ¶
type InternalAPIServer interface { pfsclient.InternalAPIServer // SJ: also bad naming shard.Server }
func NewInternalAPIServer ¶
Click to show internal directories.
Click to hide internal directories.