Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Settings ¶
type Settings struct { Enabled bool `json:"enabled"` // This setting is enabled (`true`) or disabled (`false`) Scope string `json:"-" scope:"scope"` // The scope of this setting (SYNTHETIC_TEST) Thresholds ThresholdEntries `json:"thresholds"` // Performance thresholds }
func (*Settings) MarshalHCL ¶
func (me *Settings) MarshalHCL(properties hcl.Properties) error
type ThresholdEntries ¶
type ThresholdEntries []*ThresholdEntry
func (ThresholdEntries) MarshalHCL ¶
func (me ThresholdEntries) MarshalHCL(properties hcl.Properties) error
func (*ThresholdEntries) UnmarshalHCL ¶
func (me *ThresholdEntries) UnmarshalHCL(decoder hcl.Decoder) error
type ThresholdEntry ¶
type ThresholdEntry struct { Event string `json:"event"` // Synthetic event Threshold float64 `json:"threshold"` // Threshold (in seconds) }
func (*ThresholdEntry) MarshalHCL ¶
func (me *ThresholdEntry) MarshalHCL(properties hcl.Properties) error
func (*ThresholdEntry) UnmarshalHCL ¶
func (me *ThresholdEntry) UnmarshalHCL(decoder hcl.Decoder) error
Click to show internal directories.
Click to hide internal directories.