Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Operators = struct { Allpages Operator Contains Operator Ends Operator Equals Operator Starts Operator }{ "AllPages", "Contains", "Ends", "Equals", "Starts", }
View Source
var Rules = struct { Afterspecifichtml Rule Automatic Rule Beforespecifichtml Rule Donotinject Rule }{ "AfterSpecificHtml", "Automatic", "BeforeSpecificHtml", "DoNotInject", }
Functions ¶
This section is empty.
Types ¶
type Settings ¶
type Settings struct { ApplicationID string `json:"-" scope:"applicationId"` // The scope of this settings. If the settings should cover the whole environment, just don't specify any scope. Enabled bool `json:"enabled"` // This setting is enabled (`true`) or disabled (`false`) HtmlPattern *string `json:"htmlPattern,omitempty"` Operator Operator `json:"operator"` // Possible Values: `AllPages`, `Contains`, `Ends`, `Equals`, `Starts` Rule Rule `json:"rule"` // Possible Values: `AfterSpecificHtml`, `Automatic`, `BeforeSpecificHtml`, `DoNotInject` UrlPattern *string `json:"urlPattern,omitempty"` // URL pattern 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.