Documentation
¶
Index ¶
- Variables
- func Commit(r *resctrl.ResAssociation, name string) error
- func ConnectRPCServer(in types.PipePair) error
- func DestroyResAssociation(name string) error
- func EnableCat() error
- func Enforce(module string, params map[string]interface{}) (string, error)
- func GetRdtCosInfo() map[string]*resctrl.RdtCosInfo
- func GetResAssociation(availableCLOS []string) map[string]*resctrl.ResAssociation
- func IsIntelRdtMounted() bool
- func PAMAuthenticate(user string, pass string) error
- func Release(module string, params map[string]interface{}) error
- func RemoveCores(cores []string) error
- func RemoveTasks(tasks []string) error
- func ResetCOSParamsToDefaults(cosName string) error
Constants ¶
This section is empty.
Variables ¶
var Client *rpc.Client
Client is the connection to rpc server
Functions ¶
func Commit ¶
func Commit(r *resctrl.ResAssociation, name string) error
Commit resctrl.ResAssociation with given name
func ConnectRPCServer ¶
ConnectRPCServer by a pipe pair Be care about this method usage, it can only be called once while we start RMD API server, sync.once could be one choice, developer should control it.
func DestroyResAssociation ¶
DestroyResAssociation by resource group name
func GetRdtCosInfo ¶
func GetRdtCosInfo() map[string]*resctrl.RdtCosInfo
GetRdtCosInfo returns RDT information
func GetResAssociation ¶
func GetResAssociation(availableCLOS []string) map[string]*resctrl.ResAssociation
GetResAssociation returns all resource group association
func IsIntelRdtMounted ¶
func IsIntelRdtMounted() bool
IsIntelRdtMounted will check if resctrl mounted or not
func PAMAuthenticate ¶
PAMAuthenticate leverage PAM to do authentication
func RemoveCores ¶
RemoveCores moves cores to default resource group
func RemoveTasks ¶
RemoveTasks moves tasks to default resource group
func ResetCOSParamsToDefaults ¶
ResetCOSParamsToDefaults resets L3 cache and MBA to default values for common COS#
Types ¶
This section is empty.