parsers

package
v0.0.0-...-0ab759d Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBytes

func GetBytes(value uint, unit string) uint

TODO: test me!!

func GetHostnamesFromFile

func GetHostnamesFromFile(disk fileio.Disk, filename string) ([]string, error)

func IsValidKey

func IsValidKey(name string) bool

func IsValidName

func IsValidName(name string) bool

func IsValidPath

func IsValidPath(value string) bool

func ParseCapacityBytes

func ParseCapacityBytes(raw string) (string, int, error)

func ParseJobFile

func ParseJobFile(disk fileio.Disk, filename string) (jobSummary, error)

func ParseSize

func ParseSize(raw string) (int, error)

TODO: why not uint?

Types

This section is empty.

Jump to

Keyboard shortcuts

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