performancethresholds

package
v1.30.1 Latest Latest
Warning

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

Go to latest
Published: May 11, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

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 (HTTP_CHECK)
	Thresholds ThresholdEntries `json:"thresholds,omitempty"` // Performance thresholds
}

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

type ThresholdEntries

type ThresholdEntries []*ThresholdEntry

func (ThresholdEntries) MarshalHCL

func (me ThresholdEntries) MarshalHCL(properties hcl.Properties) error

func (*ThresholdEntries) Schema

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

func (*ThresholdEntries) UnmarshalHCL

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

type ThresholdEntry

type ThresholdEntry struct {
	Event     string  `json:"event"`     // Request
	Threshold float64 `json:"threshold"` // Threshold (in seconds)
}

func (*ThresholdEntry) MarshalHCL

func (me *ThresholdEntry) MarshalHCL(properties hcl.Properties) error

func (*ThresholdEntry) Schema

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

func (*ThresholdEntry) UnmarshalHCL

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

Jump to

Keyboard shortcuts

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