Documentation ¶
Overview ¶
Package rest provides the REST API to create highly-available iSCSI targets.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Errorf ¶
Errorf takes a StatusCode, a ResponseWriter and a format string. It sets up the REST response and writes it to the ResponseWriter It also sets the according error code.
func ListenAndServe ¶
ListenAndServe is the entry point for the REST API
Types ¶
Source Files ¶
- api_status.go
- iscsi_add_volume.go
- iscsi_create.go
- iscsi_delete.go
- iscsi_get.go
- iscsi_list.go
- iscsi_start.go
- iscsi_stop.go
- nfs_create.go
- nfs_delete.go
- nfs_get.go
- nfs_list.go
- nfs_start.go
- nfs_stop.go
- nvmeof_add_volume.go
- nvmeof_create.go
- nvmeof_delete.go
- nvmeof_get.go
- nvmeof_list.go
- nvmeof_start.go
- nvmeof_stop.go
- routes.go
- server.go
Click to show internal directories.
Click to hide internal directories.