Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PrimaryResourceTypes = struct { Css PrimaryResourceType Image PrimaryResourceType Other PrimaryResourceType Script PrimaryResourceType }{ "CSS", "IMAGE", "OTHER", "SCRIPT", }
Functions ¶
This section is empty.
Types ¶
type PrimaryResourceType ¶
type PrimaryResourceType string
type Settings ¶
type Settings struct { PrimaryResourceType PrimaryResourceType `json:"primaryResourceType"` // Possible Values: `CSS`, `IMAGE`, `OTHER`, `SCRIPT` RegularExpression string `json:"regularExpression"` // The regular expression to detect the resource. SecondaryResourceType *string `json:"secondaryResourceType,omitempty"` // The secondary type of the resource. InsertAfter string `json:"-"` }
func (*Settings) MarshalHCL ¶
func (me *Settings) MarshalHCL(properties hcl.Properties) error
Click to show internal directories.
Click to hide internal directories.