client/lxd_cluster.go
func (r *ProtocolLXD) GetClusterMemberNames() ([]string, error) {
	if !r.HasExtension("clustering") {
		return nil, fmt.Errorf("The server is missing the required \"clustering\" API extension")
	}

	urls := []string{}
	_, err := r.queryStruct("GET", "/cluster/members", nil, "", &urls)
	if err != nil {
		return nil, err
	}

	return urls, nil
}
func (r *ProtocolLXD) GetClusterMemberNames() ([]string, error) {
	if !r.HasExtension("clustering") {
		return nil, fmt.Errorf("The server is missing the required \"clustering\" API extension")
	}

	urls := []string{}
	_, err := r.queryStruct("GET", "/cluster/members", nil, "", &urls)
	if err != nil {
		return nil, err
	}

	return urls, nil
}
func ( r * ProtocolLXD ) GetClusterMemberNames ( ) ( [ ] string , error ) { if ! r . HasExtension ( " " ) { return nil , fmt . Errorf ( " \" \" " ) } urls := [ ] string { } _ , err := r . queryStruct ( " " , " " , nil , " " , & urls ) if err != nil { return nil , err } return urls , nil }
// GetClusterMemberNames returns the URLs of the current members in the cluster
GetClusterMemberNames returns the URLs of the current members in the cluster