cmd

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCPUAffinityCommand

func NewCPUAffinityCommand(knitOpts *KnitOptions) *cobra.Command

func NewIRQAffinityCommand

func NewIRQAffinityCommand(knitOpts *KnitOptions) *cobra.Command

func NewIRQWatchCommand

func NewIRQWatchCommand(knitOpts *KnitOptions) *cobra.Command

func NewRootCommand

func NewRootCommand(extraCmds ...NewCommandFunc) *cobra.Command

NewRootCommand returns entrypoint command to interact with all other commands

func NewWaitCommand

func NewWaitCommand(_ *KnitOptions) *cobra.Command

func ShowHelp

func ShowHelp(cmd *cobra.Command, args []string) error

Types

type KnitOptions

type KnitOptions struct {
	Cpus       cpuset.CPUSet
	ProcFSRoot string
	SysFSRoot  string
	JsonOutput bool
	Debug      bool
	Log        *log.Logger
	// contains filtered or unexported fields
}

type NewCommandFunc

type NewCommandFunc func(ko *KnitOptions) *cobra.Command

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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