utils

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 30, 2020 License: GPL-3.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Containers

type Containers struct {
	Fusion                  bool             `json:"Fusion",bool`
	ContainerReference      string           `json:"ContainerReference",string`
	APFSContainerUUID       string           `json:"APFSContainerUUID",string`
	PhysicalStores          []PhysicalStores `json:"PhysicalStores"`
	CapacityCeiling         int64            `json:"CapacityCeiling",int64`
	Volumes                 []Volumes        `json:"Volumes"`
	CapacityFree            int64            `json:"CapacityFree",int64`
	DesignatedPhysicalStore string           `json:"DesignatedPhysicalStore",string`
}

type DiskList

type DiskList struct {
	Containers []Containers `json:"containers"`
}

func NewDiskList

func NewDiskList() DiskList

func (*DiskList) Set

func (dl *DiskList) Set() error

type PhysicalStores

type PhysicalStores struct {
	DiskUUID         string `json:"DiskUUID",string`
	DeviceIdentifier string `json:"DeviceIdentifier",string`
	Size             int64  `json:"Size",int64`
}

type Volumes

type Volumes struct {
	Locked            bool     `json:"Locked",bool`
	APFSVolumeUUID    string   `json:"APFSVolumeUUID",string`
	CapacityQuota     int      `json:"CapacityQuota",int`
	DeviceIdentifier  string   `json:"DeviceIdentifier",string`
	CapacityReserve   int      `json:"CapacityReserve",int`
	CryptoMigrationOn bool     `json:"CryptoMigrationOn",bool`
	Name              string   `json:"Name",string`
	Encryption        bool     `json:"Encryption",bool`
	CapacityInUse     int64    `json:"CapacityInUse",int64`
	FileVault         bool     `json:"FileVault",string`
	Roles             []string `json:"Roles",string`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL