template

package
v0.0.0-...-8365721 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2017 License: Apache-2.0 Imports: 0 Imported by: 0

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.

Jump to

Keyboard shortcuts

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