Documentation ¶
Overview ¶
Package pfs is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterAPIHandler ¶
RegisterAPIHandler registers the http handlers for service API to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterAPIHandlerFromEndpoint ¶
func RegisterAPIHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterAPIHandlerFromEndpoint is same as RegisterAPIHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
examples
|
|
src
|
|
client/pfs
Package pfs is a generated protocol buffer package.
|
Package pfs is a generated protocol buffer package. |
client/pkg/shard
Package shard is a generated protocol buffer package.
|
Package shard is a generated protocol buffer package. |
client/pps
Package pps is a generated protocol buffer package.
|
Package pps is a generated protocol buffer package. |
server/pfs/drive
Package drive provides the definitions for the low-level pfs storage drivers.
|
Package drive provides the definitions for the low-level pfs storage drivers. |
server/pfs/fuse
Package fuse is a generated protocol buffer package.
|
Package fuse is a generated protocol buffer package. |
server/pkg/container
Package container provides functionality to interact with containers.
|
Package container provides functionality to interact with containers. |
server/pkg/deploy
Package deploy is a generated protocol buffer package.
|
Package deploy is a generated protocol buffer package. |
server/pkg/metrics
Package metrics is a generated protocol buffer package.
|
Package metrics is a generated protocol buffer package. |
server/pps
Package pps is a generated protocol buffer package.
|
Package pps is a generated protocol buffer package. |
server/pps/persist
Package persist is a generated protocol buffer package.
|
Package persist is a generated protocol buffer package. |
Click to show internal directories.
Click to hide internal directories.