Documentation ¶
Index ¶
- Constants
- type Client
- func (c *Client) ClusterCreate() (*glusterfs.ClusterInfoResponse, error)
- func (c *Client) ClusterDelete(id string) error
- func (c *Client) ClusterInfo(id string) (*glusterfs.ClusterInfoResponse, error)
- func (c *Client) ClusterList() (*glusterfs.ClusterListResponse, error)
- func (c *Client) DeviceAdd(request *glusterfs.DeviceAddRequest) error
- func (c *Client) DeviceDelete(id string) error
- func (c *Client) DeviceInfo(id string) (*glusterfs.DeviceInfoResponse, error)
- func (c *Client) Hello() error
- func (c *Client) NodeAdd(request *glusterfs.NodeAddRequest) (*glusterfs.NodeInfoResponse, error)
- func (c *Client) NodeDelete(id string) error
- func (c *Client) NodeInfo(id string) (*glusterfs.NodeInfoResponse, error)
- func (c *Client) VolumeCreate(request *glusterfs.VolumeCreateRequest) (*glusterfs.VolumeInfoResponse, error)
- func (c *Client) VolumeDelete(id string) error
- func (c *Client) VolumeExpand(id string, request *glusterfs.VolumeExpandRequest) (*glusterfs.VolumeInfoResponse, error)
- func (c *Client) VolumeInfo(id string) (*glusterfs.VolumeInfoResponse, error)
- func (c *Client) VolumeList() (*glusterfs.VolumeListResponse, error)
Constants ¶
View Source
const ( MAX_CONCURRENT_REQUESTS = 32 VOLUME_CREATE_DURABILITY_TYPE_DISPERSION = glusterfs.DURABILITY_STRING_EC VOLUME_CREATE_DURABILITY_TYPE_REPLICATE = glusterfs.DURABILITY_STRING_REPLICATE VOLUME_CREATE_DURABILITY_TYPE_NONE = glusterfs.DURABILITY_STRING_DISTRIBUTE_ONLY )
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() (*glusterfs.ClusterInfoResponse, error)
func (*Client) ClusterDelete ¶
func (*Client) ClusterInfo ¶
func (c *Client) ClusterInfo(id string) (*glusterfs.ClusterInfoResponse, error)
func (*Client) ClusterList ¶
func (c *Client) ClusterList() (*glusterfs.ClusterListResponse, error)
func (*Client) DeviceDelete ¶
func (*Client) DeviceInfo ¶
func (c *Client) DeviceInfo(id string) (*glusterfs.DeviceInfoResponse, error)
func (*Client) NodeAdd ¶
func (c *Client) NodeAdd(request *glusterfs.NodeAddRequest) (*glusterfs.NodeInfoResponse, error)
func (*Client) NodeDelete ¶
func (*Client) VolumeCreate ¶
func (c *Client) VolumeCreate(request *glusterfs.VolumeCreateRequest) ( *glusterfs.VolumeInfoResponse, error)
func (*Client) VolumeDelete ¶
func (*Client) VolumeExpand ¶
func (c *Client) VolumeExpand(id string, request *glusterfs.VolumeExpandRequest) ( *glusterfs.VolumeInfoResponse, error)
func (*Client) VolumeInfo ¶
func (c *Client) VolumeInfo(id string) (*glusterfs.VolumeInfoResponse, error)
func (*Client) VolumeList ¶
func (c *Client) VolumeList() (*glusterfs.VolumeListResponse, error)
Click to show internal directories.
Click to hide internal directories.