Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Matchers = struct { DomainContains Matcher DomainEndsWith Matcher DomainEquals Matcher DomainMatches Matcher DomainStartsWith Matcher UrlContains Matcher UrlEndsWith Matcher UrlEquals Matcher UrlStartsWith Matcher }{ "DOMAIN_CONTAINS", "DOMAIN_ENDS_WITH", "DOMAIN_EQUALS", "DOMAIN_MATCHES", "DOMAIN_STARTS_WITH", "URL_CONTAINS", "URL_ENDS_WITH", "URL_EQUALS", "URL_STARTS_WITH", }
Functions ¶
This section is empty.
Types ¶
type Settings ¶
type Settings struct { ApplicationID string `json:"applicationId"` // Select an existing application or create a new one. Description *string `json:"description,omitempty"` // (v1.274) Add a description for your rule Matcher Matcher `json:"matcher"` // Possible Values: `DOMAIN_CONTAINS`, `DOMAIN_ENDS_WITH`, `DOMAIN_EQUALS`, `DOMAIN_MATCHES`, `DOMAIN_STARTS_WITH`, `URL_CONTAINS`, `URL_ENDS_WITH`, `URL_EQUALS`, `URL_STARTS_WITH` Pattern string `json:"pattern"` // Pattern InsertAfter string `json:"-"` }
func (*Settings) MarshalHCL ¶
func (me *Settings) MarshalHCL(properties hcl.Properties) error
Click to show internal directories.
Click to hide internal directories.