Documentation ¶
Index ¶
Constants ¶
View Source
const ( MinioBackendEnvVar = "MINIO" AmazonBackendEnvVar = "AMAZON" GoogleBackendEnvVar = "GOOGLE" MicrosoftBackendEnvVar = "MICROSOFT" )
Valid object storage backends
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockAPIServer ¶ added in v1.3.9
type BlockAPIServer interface { pfsclient.BlockAPIServer pfsclient.ObjectAPIServer }
BlockAPIServer combines BlockAPIServer and ObjectAPIServer.
func NewBlockAPIServer ¶
func NewBlockAPIServer(dir string, cacheBytes int64, backend string) (BlockAPIServer, error)
NewBlockAPIServer creates a BlockAPIServer using the credentials it finds in the environment
func NewLocalBlockAPIServer ¶
func NewLocalBlockAPIServer(dir string) (BlockAPIServer, error)
NewLocalBlockAPIServer creates a BlockAPIServer.
func NewObjBlockAPIServer ¶
func NewObjBlockAPIServer(dir string, cacheBytes int64, objClient obj.Client) (BlockAPIServer, error)
NewObjBlockAPIServer create a BlockAPIServer from an obj.Client.
Click to show internal directories.
Click to hide internal directories.