Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Detection ¶
type Detection struct { Drops *DropDetection // The configuration of traffic drops detection. Spikes *SpikeDetection // The configuration of traffic spikes detection. }
func (*Detection) MarshalHCL ¶
func (me *Detection) MarshalHCL(properties hcl.Properties) error
type DropDetection ¶
type DropDetection struct { Enabled bool `json:"enabled"` // The detection is enabled (`true`) or disabled (`false`). TrafficDropPercent *int32 `json:"trafficDropPercent,omitempty"` // Alert if the observed traffic is less than *X* % of the expected value. }
DropDetection The configuration of traffic drops detection.
func (*DropDetection) MarshalHCL ¶
func (me *DropDetection) MarshalHCL(properties hcl.Properties) error
func (*DropDetection) UnmarshalHCL ¶
func (me *DropDetection) UnmarshalHCL(decoder hcl.Decoder) error
type SpikeDetection ¶
type SpikeDetection struct { Enabled bool `json:"enabled"` // The detection is enabled (`true`) or disabled (`false`). TrafficSpikePercent *int32 `json:"trafficSpikePercent,omitempty"` // Alert if the observed traffic is more than *X* % of the expected value. }
SpikeDetection The configuration of traffic spikes detection.
func (*SpikeDetection) MarshalHCL ¶
func (me *SpikeDetection) MarshalHCL(properties hcl.Properties) error
func (*SpikeDetection) UnmarshalHCL ¶
func (me *SpikeDetection) UnmarshalHCL(decoder hcl.Decoder) error
Click to show internal directories.
Click to hide internal directories.