proxyserver

package
v0.2.2-0...-aec2f31 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterAndServe

func RegisterAndServe(pipes types.PipePair)

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

func (*Proxy) DestroyResAssociation(grpName string, dummy *int) error

DestroyResAssociation remove resource association

func (*Proxy) EnableCat

func (*Proxy) EnableCat(dummy *int, result *bool) error

EnableCat mounts resctrl

func (*Proxy) Enforce

func (*Proxy) Enforce(params map[string]interface{}, id *string) error

Enforce simplifies enforcing data in a more generic way

func (*Proxy) PAMAuthenticate

func (*Proxy) PAMAuthenticate(request types.PAMRequest, dummy *int) error

PAMAuthenticate calls PAM authenticate

func (*Proxy) Release

func (*Proxy) Release(params map[string]interface{}, unused *int) error

Release simplifies releasing data in a more generic way

func (*Proxy) RemoveCores

func (*Proxy) RemoveCores(cores []string, dummy *int) error

RemoveCores move tasks to default group

func (*Proxy) RemoveTasks

func (*Proxy) RemoveTasks(tasks []string, dummy *int) error

RemoveTasks move tasks to default group

func (*Proxy) ResetCOSParamsToDefaults

func (*Proxy) ResetCOSParamsToDefaults(cosName string, dummy *int) error

ResetCOSParamsToDefaults resets L3 cache and MBA to default values for common COS#

Jump to

Keyboard shortcuts

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