lsblk

package
v0.3.7-rc.8 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2022 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

View Source
const (
	PartType = "part"
)

Variables

This section is empty.

Functions

func NewAttributeParser

func NewAttributeParser(disk *manager.DiskIdentify) manager.AttributeParser

NewAttributeParser

func NewPartitionParser

func NewPartitionParser(disk *manager.DiskIdentify) manager.PartitionParser

NewPartitionParser

Types

type AttributeParser

type AttributeParser struct {
	*manager.DiskIdentify
}

func (AttributeParser) ParseDiskAttr

func (ap AttributeParser) ParseDiskAttr() manager.Attribute

ParseDiskAttr

type LSBlk

type LSBlk struct {
	*manager.DiskIdentify
}

func (LSBlk) HasPartition

func (lsb LSBlk) HasPartition() bool

HasPartition

func (LSBlk) ParsePartitionInfo

func (lsb LSBlk) ParsePartitionInfo() []manager.PartitionInfo

ParsePartitionInfo

Jump to

Keyboard shortcuts

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