knit

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: Apache-2.0 Imports: 18 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 NewCtrreschkCommand

func NewCtrreschkCommand(ko *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
* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.
* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.

Jump to

Keyboard shortcuts

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