mvp

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2016 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mvp contains a bunch of code which is a minimum viable product. We either call out to other

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockDevice

type BlockDevice struct {
	Name       string        `json:"name"`
	MajMin     string        `json:"maj:min"`
	RM         string        `json:"rm"`
	Size       string        `json:"size"`
	RO         string        `json:"ro"`
	Type       string        `json:"type"`
	MountPoint string        `json:"mountpoint"`
	Children   []BlockDevice `json:"children,omitempty"`
}

BlockDevice returns the blockdevice information about the

func GetLsBlk

func GetLsBlk() []BlockDevice

GetLsBlk gets the output of lsblk and returns that as an object.

Jump to

Keyboard shortcuts

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