Documentation
¶
Overview ¶
Package ruby contains tally rules that target Ruby and Rails Dockerfile patterns. Rules in this package use the "tally/ruby/<rule-slug>" code convention and live under _docs/rules/tally/ruby/ in the docs site.
Index ¶
Constants ¶
View Source
const JemallocInstalledButNotPreloadedRuleCode = rules.TallyRulePrefix + "ruby/jemalloc-installed-but-not-preloaded"
JemallocInstalledButNotPreloadedRuleCode is the full rule code.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JemallocInstalledButNotPreloadedRule ¶
type JemallocInstalledButNotPreloadedRule struct{}
JemallocInstalledButNotPreloadedRule flags final stages that install a jemalloc package without setting LD_PRELOAD or jemalloc-knob MALLOC_CONF.
func NewJemallocInstalledButNotPreloadedRule ¶
func NewJemallocInstalledButNotPreloadedRule() *JemallocInstalledButNotPreloadedRule
NewJemallocInstalledButNotPreloadedRule creates the rule.
func (*JemallocInstalledButNotPreloadedRule) Check ¶
func (r *JemallocInstalledButNotPreloadedRule) Check(input rules.LintInput) []rules.Violation
Check runs the rule.
func (*JemallocInstalledButNotPreloadedRule) Metadata ¶
func (r *JemallocInstalledButNotPreloadedRule) Metadata() rules.RuleMetadata
Metadata returns the rule metadata.
Click to show internal directories.
Click to hide internal directories.