Documentation ¶
Overview ¶
Package template TODO: This template is too sample. need to improve it. Not sure golang native template can satify us.
Index ¶
Constants ¶
View Source
const Templ = `` /* 2222-byte string literal not displayed */
Templ is content of template
Variables ¶
View Source
var Broadwell = map[string]interface{}{
"os_cacheways": 1,
"infra_cacheways": 19,
"max_shared": 10,
"guarantee": 10,
"besteffort": 7,
"shared": 2}
Broadwell options
View Source
var Options = map[string]interface{}{ "address": "localhost", "debugport": 8081, "tlsport": 8443, "clientauth": "challenge", "logfile": "/var/log/rmd.log", "dbbackend": "bolt", "dbtransport": "/var/run/rmd.db", "logtostdout": true, "os_cacheways": 1, "infra_cacheways": 19, "max_shared": 10, "guarantee": 10, "besteffort": 7, "shared": 2, "shrink": false, "policypath": "/usr/local/etc/rmd/policy.toml", }
Options are options for temlate will be replaced
View Source
var Skylake = map[string]interface{}{
"os_cacheways": 1,
"infra_cacheways": 10,
"max_shared": 10,
"guarantee": 6,
"besteffort": 3,
"shared": 1}
Skylake options
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.