Documentation
¶
Index ¶
- func NewRouter(s *Server) *mux.Router
- func NewSchema() *client.Schemas
- type CreateInput
- type RebuildingInput
- type RemoveDiskInput
- type Replica
- type Server
- func (s *Server) CloseReplica(rw http.ResponseWriter, req *http.Request) error
- func (s *Server) Create(rw http.ResponseWriter, req *http.Request) error
- func (s *Server) DeleteReplica(rw http.ResponseWriter, req *http.Request) error
- func (s *Server) GetReplica(rw http.ResponseWriter, req *http.Request) error
- func (s *Server) ListReplicas(rw http.ResponseWriter, req *http.Request) error
- func (s *Server) OpenReplica(rw http.ResponseWriter, req *http.Request) error
- func (s *Server) ReloadReplica(rw http.ResponseWriter, req *http.Request) error
- func (s *Server) RemoveDisk(rw http.ResponseWriter, req *http.Request) error
- func (s *Server) Replica(apiContext *api.ApiContext) *Replica
- func (s *Server) SetRebuilding(rw http.ResponseWriter, req *http.Request) error
- func (s *Server) SnapshotReplica(rw http.ResponseWriter, req *http.Request) error
- type SnapshotInput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CreateInput ¶
type RebuildingInput ¶
type RemoveDiskInput ¶
type Replica ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) CloseReplica ¶
func (*Server) DeleteReplica ¶
func (*Server) GetReplica ¶
func (*Server) ListReplicas ¶
func (*Server) OpenReplica ¶
func (*Server) ReloadReplica ¶
func (*Server) RemoveDisk ¶
func (*Server) SetRebuilding ¶
func (*Server) SnapshotReplica ¶
type SnapshotInput ¶
Click to show internal directories.
Click to hide internal directories.