resourcetypes

package
v1.56.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

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

func (*Settings) Name

func (me *Settings) Name() string

func (*Settings) Schema

func (me *Settings) Schema() map[string]*schema.Schema

func (*Settings) UnmarshalHCL

func (me *Settings) UnmarshalHCL(decoder hcl.Decoder) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL