cmd

package
v0.0.0-...-394d779 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2025 License: MIT Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCommand = &cli.Command{
	Name:  "fusestream",
	Usage: "A simple FUSE tool for file system fault injection tests",
	Commands: []*cli.Command{
		fuseCommand,
		nbdCommand,
		faultCommand,
		toolCommand,
		statCommand,
	},
}

Functions

func NewFuseOpCliEnum

func NewFuseOpCliEnum() flag.Getter

func NewNbdOpCliEnum

func NewNbdOpCliEnum() flag.Getter

Types

type FuseStat

type FuseStat struct {
	// contains filtered or unexported fields
}

func NewFuseStat

func NewFuseStat(db *sqlx.DB, w io.Writer) *FuseStat

func (*FuseStat) PrintFileSystemOperationElapseBarChart

func (s *FuseStat) PrintFileSystemOperationElapseBarChart() error

func (*FuseStat) PrintFileSystemOperationHistogram

func (s *FuseStat) PrintFileSystemOperationHistogram() error

func (*FuseStat) PrintIOSizeHistogram

func (s *FuseStat) PrintIOSizeHistogram() error

func (*FuseStat) PrintRandomSequentialRatioTable

func (s *FuseStat) PrintRandomSequentialRatioTable() error

func (*FuseStat) PrintSummary

func (s *FuseStat) PrintSummary() error

type OpCliEnum

type OpCliEnum[T fmt.Stringer] struct {
	// contains filtered or unexported fields
}

func (*OpCliEnum[T]) Get

func (e *OpCliEnum[T]) Get() any

func (*OpCliEnum[T]) Set

func (e *OpCliEnum[T]) Set(value string) error

func (*OpCliEnum[T]) String

func (e *OpCliEnum[T]) String() string

Jump to

Keyboard shortcuts

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