Versions in this module Expand all Collapse all v1 v1.0.0 Nov 12, 2014 Changes in this version + const Byte + const EByte + const GByte + const KByte + const MByte + const PByte + const TByte + type Dataset struct + Avail uint64 + Compression string + Mountpoint string + Name string + Quota uint64 + Type string + Used uint64 + Usedbydataset uint64 + Volsize uint64 + Written uint64 + func CreateFilesystem(name string, properties map[string]string) (*Dataset, error) + func CreateVolume(name string, size uint64, properties map[string]string) (*Dataset, error) + func Datasets(filter string) ([]*Dataset, error) + func Filesystems(filter string) ([]*Dataset, error) + func GetDataset(name string) (*Dataset, error) + func ReceiveSnapshot(input io.Reader, name string) (*Dataset, error) + func Snapshots(filter string) ([]*Dataset, error) + func Volumes(filter string) ([]*Dataset, error) + func (d *Dataset) Children(depth uint64) ([]*Dataset, error) + func (d *Dataset) Clone(dest string, properties map[string]string) (*Dataset, error) + func (d *Dataset) Destroy(recursive bool) error + func (d *Dataset) GetProperty(key string) (string, error) + func (d *Dataset) Rollback(destroyMoreRecent bool) error + func (d *Dataset) SendSnapshot(output io.Writer) error + func (d *Dataset) SetProperty(key, val string) error + func (d *Dataset) Snapshot(name string, recursive bool) (*Dataset, error) + func (d *Dataset) Snapshots() ([]*Dataset, error) + type Error struct + Debug string + Err error + Stderr string + func (e Error) Error() string + type Zpool struct + Allocated uint64 + Free uint64 + Health string + Name string + Size uint64 + func CreateZpool(name string, properties map[string]string, args ...string) (*Zpool, error) + func GetZpool(name string) (*Zpool, error) + func ListZpools() ([]*Zpool, error) + func (z *Zpool) Datasets() ([]*Dataset, error) + func (z *Zpool) Destroy() error + func (z *Zpool) Snapshots() ([]*Dataset, error) Incompatible versions in this module v2.1.1+incompatible May 29, 2015 v2.1.0+incompatible Dec 8, 2014 v2.0.0+incompatible Dec 2, 2014