Documentation ¶
Index ¶
- func GetBootcmdline() (string, error)
- func InitializeStatusConditions() []tunedv1.ProfileStatusCondition
- func ProfilesExtract(profiles []tunedv1.TunedProfile, recommendedProfile string) (bool, map[string]bool, map[string]bool, error)
- func RunOperand(stopCh <-chan struct{}, version string, inCluster bool) error
- func TunedCreateCmd(debug bool) *exec.Cmd
- func TunedRecommendFileWrite(profileName string) error
- func TunedRun(cmd *exec.Cmd, daemon *Daemon, onDaemonReload func()) error
- func TunedRunNoDaemon(cmd *exec.Cmd) error
- type Bits
- type Change
- type Controller
- type Daemon
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBootcmdline ¶
func InitializeStatusConditions ¶
func InitializeStatusConditions() []tunedv1.ProfileStatusCondition
InitializeStatusConditions returns a slice of tunedv1.ProfileStatusCondition initialized to an unknown state.
func ProfilesExtract ¶
func ProfilesExtract(profiles []tunedv1.TunedProfile, recommendedProfile string) (bool, map[string]bool, map[string]bool, error)
ProfilesExtract extracts TuneD daemon profiles to the daemon configuration directory. Returns:
- True if the data in the to-be-extracted recommended profile or the profiles being included from the current recommended profile have changed.
- A map with successfully extracted TuneD profile names.
- A map with names of TuneD profiles the current TuneD recommended profile depends on.
- Error if any or nil.
func RunOperand ¶
func TunedCreateCmd ¶
func TunedRecommendFileWrite ¶
func TunedRunNoDaemon ¶
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.