block

package
v0.0.0-...-ad8409f Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2022 License: CC0-1.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Block

type Block struct {
	TotalSizeBytes int64   `json:"total_size_bytes"`
	Disks          []Disks `json:"disks"`
}

func (*Block) Get

func (*Block) Get(b *Block)

type Disks

type Disks struct {
	Name      string `json:"name"`
	SizeBytes int64  `json:"size_bytes"`
	//PhysicalBlockSizeBytes int    `json:"physical_block_size_bytes"`
	DriveType         string `json:"drive_type"`
	Removable         bool   `json:"removable"`
	StorageController string `json:"storage_controller"`
	BusPath           string `json:"bus_path"`
	Vendor            string `json:"vendor"`
	Model             string `json:"model"`
	SerialNumber      string `json:"serial_number"`
	Wwn               string `json:"wwn"`
}

Jump to

Keyboard shortcuts

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