Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddRule ¶
func AddRule(rule validations.Rule)
AddRule registers a rule with the default list of rules.
Types ¶
type RuleList ¶
type RuleList map[commands.DockerCommand]*[]validations.Rule
RuleList is a collection of commands.DockerCommand(s) and their rules.
func DefaultRules ¶
func DefaultRules() RuleList
DefaultRules returns the underlying collect of default rules.
func (RuleList) AddRule ¶
func (r RuleList) AddRule(rule validations.Rule)
AddRule associates the provided Rule with this RuleList.
Source Files ¶
- apt_get_best_practices.go
- avoid_add_external.go
- avoid_copy_all.go
- avoid_sudo.go
- consider_multistage.go
- curl_failing_silently.go
- formatting_labels.go
- gpg_without_batch.go
- maintainer_deprecated.go
- minimize_layers.go
- named_user.go
- no_debian_frontend.go
- no_latest.go
- no_secrets.go
- oci_labels.go
- questionable_expose.go
- reserved_labels.go
- rule_list.go
- run_ch.go
- single_cmd.go
- sort_installer_args.go
Click to show internal directories.
Click to hide internal directories.