Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ReplacementTypes = struct { Sha256 ReplacementType String ReplacementType }{ "SHA256", "STRING", }
View Source
var RuleTypes = struct { Regex RuleType VarName RuleType }{ "REGEX", "VAR_NAME", }
Functions ¶
This section is empty.
Types ¶
type ReplacementType ¶
type ReplacementType string
type Settings ¶
type Settings struct { Enabled bool `json:"enabled"` // This setting is enabled (`true`) or disabled (`false`) ReplacementPattern *string `json:"replacementPattern,omitempty"` ReplacementType ReplacementType `json:"replacementType"` // Possible Values: `SHA256`, `STRING` RuleName string `json:"ruleName"` // Rule Name RuleRegex *string `json:"ruleRegex,omitempty"` RuleType RuleType `json:"ruleType"` // Possible Values: `REGEX`, `VAR_NAME` RuleVarName *string `json:"ruleVarName,omitempty"` InsertAfter string `json:"-"` }
func (*Settings) HandlePreconditions ¶
func (*Settings) MarshalHCL ¶
func (me *Settings) MarshalHCL(properties hcl.Properties) error
Click to show internal directories.
Click to hide internal directories.