Documentation ¶
Index ¶
- Constants
- type Client
- func (c *Client) BackupDb(w io.Writer) error
- func (c *Client) ClusterCreate() (*api.ClusterInfoResponse, error)
- func (c *Client) ClusterDelete(id string) error
- func (c *Client) ClusterInfo(id string) (*api.ClusterInfoResponse, error)
- func (c *Client) ClusterList() (*api.ClusterListResponse, error)
- func (c *Client) DeviceAdd(request *api.DeviceAddRequest) error
- func (c *Client) DeviceDelete(id string) error
- func (c *Client) DeviceInfo(id string) (*api.DeviceInfoResponse, error)
- func (c *Client) DeviceState(id string, request *api.StateRequest) error
- func (c *Client) Hello() error
- func (c *Client) NodeAdd(request *api.NodeAddRequest) (*api.NodeInfoResponse, error)
- func (c *Client) NodeDelete(id string) error
- func (c *Client) NodeInfo(id string) (*api.NodeInfoResponse, error)
- func (c *Client) NodeState(id string, request *api.StateRequest) error
- func (c *Client) TopologyInfo() (*api.TopologyInfoResponse, error)
- func (c *Client) VolumeCreate(request *api.VolumeCreateRequest) (*api.VolumeInfoResponse, error)
- func (c *Client) VolumeDelete(id string) error
- func (c *Client) VolumeExpand(id string, request *api.VolumeExpandRequest) (*api.VolumeInfoResponse, error)
- func (c *Client) VolumeInfo(id string) (*api.VolumeInfoResponse, error)
- func (c *Client) VolumeList() (*api.VolumeListResponse, error)
Constants ¶
View Source
const (
MAX_CONCURRENT_REQUESTS = 32
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client object
func NewClientNoAuth ¶
Create a client to access a Heketi server without authentication enabled
func (*Client) ClusterCreate ¶
func (c *Client) ClusterCreate() (*api.ClusterInfoResponse, error)
func (*Client) ClusterDelete ¶
func (*Client) ClusterInfo ¶
func (c *Client) ClusterInfo(id string) (*api.ClusterInfoResponse, error)
func (*Client) ClusterList ¶
func (c *Client) ClusterList() (*api.ClusterListResponse, error)
func (*Client) DeviceDelete ¶
func (*Client) DeviceInfo ¶
func (c *Client) DeviceInfo(id string) (*api.DeviceInfoResponse, error)
func (*Client) DeviceState ¶
func (c *Client) DeviceState(id string, request *api.StateRequest) error
func (*Client) NodeAdd ¶
func (c *Client) NodeAdd(request *api.NodeAddRequest) (*api.NodeInfoResponse, error)
func (*Client) NodeDelete ¶
func (*Client) TopologyInfo ¶
func (c *Client) TopologyInfo() (*api.TopologyInfoResponse, error)
func (*Client) VolumeCreate ¶
func (c *Client) VolumeCreate(request *api.VolumeCreateRequest) ( *api.VolumeInfoResponse, error)
func (*Client) VolumeDelete ¶
func (*Client) VolumeExpand ¶
func (c *Client) VolumeExpand(id string, request *api.VolumeExpandRequest) ( *api.VolumeInfoResponse, error)
func (*Client) VolumeInfo ¶
func (c *Client) VolumeInfo(id string) (*api.VolumeInfoResponse, error)
func (*Client) VolumeList ¶
func (c *Client) VolumeList() (*api.VolumeListResponse, error)
Click to show internal directories.
Click to hide internal directories.