Documentation ¶
Index ¶
- Variables
- type AlertingMode
- type Settings
- func (me *Settings) GetScope() string
- func (me *Settings) Load(data []byte) error
- func (me *Settings) MarshalHCL(properties hcl.Properties) error
- func (me *Settings) Name() string
- func (me *Settings) Schema() map[string]*schema.Schema
- func (me *Settings) SetScope(scope string)
- func (me *Settings) Store() ([]byte, error)
- func (me *Settings) UnmarshalHCL(decoder hcl.Decoder) error
Constants ¶
This section is empty.
Variables ¶
View Source
var AlertingModes = struct { OnPgiUnavailability AlertingMode OnInstanceCountViolation AlertingMode }{ AlertingMode("ON_PGI_UNAVAILABILITY"), AlertingMode("ON_INSTANCE_COUNT_VIOLATION"), }
Functions ¶
This section is empty.
Types ¶
type AlertingMode ¶
type AlertingMode string
type Settings ¶
type Settings struct { Enabled bool `json:"enabled"` // Enable (`true`) or disable (`false`) process group availability monitoring AlertingMode *AlertingMode `json:"alertingMode,omitempty"` // Possible Values: `ON_INSTANCE_COUNT_VIOLATION`, `ON_PGI_UNAVAILABILITY` MinimumInstanceThreshold *int `json:"minimumInstanceThreshold,omitempty"` // Open a new problem if the number of active process instances in the group is fewer than X ProcessGroupId string `json:"-"` }
func (*Settings) MarshalHCL ¶
func (me *Settings) MarshalHCL(properties hcl.Properties) error
Click to show internal directories.
Click to hide internal directories.