Documentation ¶
Index ¶
- func RegisterAndServe(pipes types.PipePair)
- type Proxy
- func (*Proxy) Commit(r types.ResctrlRequest, dummy *int) error
- func (*Proxy) DestroyResAssociation(grpName string, dummy *int) error
- func (*Proxy) EnableCat(dummy *int, result *bool) error
- func (*Proxy) Enforce(params map[string]interface{}, id *string) error
- func (*Proxy) PAMAuthenticate(request types.PAMRequest, dummy *int) error
- func (*Proxy) Release(params map[string]interface{}, unused *int) error
- func (*Proxy) RemoveCores(cores []string, dummy *int) error
- func (*Proxy) RemoveTasks(tasks []string, dummy *int) error
- func (*Proxy) ResetCOSParamsToDefaults(cosName string, dummy *int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterAndServe ¶
RegisterAndServe to register rpc and serve
Types ¶
type Proxy ¶
type Proxy struct { }
Proxy struct of to rpc server
func (*Proxy) Commit ¶
func (*Proxy) Commit(r types.ResctrlRequest, dummy *int) error
Commit resource group
func (*Proxy) DestroyResAssociation ¶
DestroyResAssociation remove resource association
func (*Proxy) PAMAuthenticate ¶
func (*Proxy) PAMAuthenticate(request types.PAMRequest, dummy *int) error
PAMAuthenticate calls PAM authenticate
func (*Proxy) RemoveCores ¶
RemoveCores move tasks to default group
func (*Proxy) RemoveTasks ¶
RemoveTasks move tasks to default group
Click to show internal directories.
Click to hide internal directories.