Versions in this module Expand all Collapse all v1 v1.2.1 Aug 20, 2020 v1.2.0 Aug 20, 2020 Changes in this version + type AlertBulkUploadResponse struct + Errors map[string]string + Statuses map[string]string + func (m *AlertBulkUploadResponse) MarshalBinary() ([]byte, error) + func (m *AlertBulkUploadResponse) UnmarshalBinary(b []byte) error + func (m *AlertBulkUploadResponse) Validate(formats strfmt.Registry) error + type AlertReceiverConfig struct + EmailConfigs []*EmailReceiver + Name *string + SLACKConfigs []*SLACKReceiver + WebhookConfigs []*WebhookReceiver + func (m *AlertReceiverConfig) MarshalBinary() ([]byte, error) + func (m *AlertReceiverConfig) UnmarshalBinary(b []byte) error + func (m *AlertReceiverConfig) Validate(formats strfmt.Registry) error + type AlertRoutingTree struct + Continue bool + GroupBy []string + GroupInterval string + GroupWait string + Match *AlertRoutingTreeMatch + MatchRe *AlertRoutingTreeMatchRe + Receiver *string + RepeatInterval string + Routes []*AlertRoutingTree + func (m *AlertRoutingTree) MarshalBinary() ([]byte, error) + func (m *AlertRoutingTree) UnmarshalBinary(b []byte) error + func (m *AlertRoutingTree) Validate(formats strfmt.Registry) error + type AlertRoutingTreeMatch struct + Label string + Value string + func (m *AlertRoutingTreeMatch) MarshalBinary() ([]byte, error) + func (m *AlertRoutingTreeMatch) UnmarshalBinary(b []byte) error + func (m *AlertRoutingTreeMatch) Validate(formats strfmt.Registry) error + type AlertRoutingTreeMatchRe struct + Label string + Value string + func (m *AlertRoutingTreeMatchRe) MarshalBinary() ([]byte, error) + func (m *AlertRoutingTreeMatchRe) UnmarshalBinary(b []byte) error + func (m *AlertRoutingTreeMatchRe) Validate(formats strfmt.Registry) error + type AlertSilenceStatus struct + State *string + func (m *AlertSilenceStatus) MarshalBinary() ([]byte, error) + func (m *AlertSilenceStatus) UnmarshalBinary(b []byte) error + func (m *AlertSilenceStatus) Validate(formats strfmt.Registry) error + type AlertSilencer struct + Comment *string + CreatedBy *string + EndsAt *string + Matchers []*Matcher + StartsAt *string + func (m *AlertSilencer) MarshalBinary() ([]byte, error) + func (m *AlertSilencer) UnmarshalBinary(b []byte) error + func (m *AlertSilencer) Validate(formats strfmt.Registry) error + type EmailReceiver struct + AuthIdentity string + AuthPassword string + AuthSecret string + AuthUsername string + From *string + HTML string + Headers map[string]string + Hello string + SendResolved bool + Smarthost *string + Text string + To *string + func (m *EmailReceiver) MarshalBinary() ([]byte, error) + func (m *EmailReceiver) UnmarshalBinary(b []byte) error + func (m *EmailReceiver) Validate(formats strfmt.Registry) error + type GettableAlert struct + Name *string + func (m *GettableAlert) MarshalBinary() ([]byte, error) + func (m *GettableAlert) UnmarshalBinary(b []byte) error + func (m *GettableAlert) Validate(formats strfmt.Registry) error + type GettableAlertSilencer struct + ID *string + Status *AlertSilenceStatus + UpdatedAt *string + func (m *GettableAlertSilencer) MarshalBinary() ([]byte, error) + func (m *GettableAlertSilencer) UnmarshalBinary(b []byte) error + func (m *GettableAlertSilencer) UnmarshalJSON(raw []byte) error + func (m *GettableAlertSilencer) Validate(formats strfmt.Registry) error + func (m GettableAlertSilencer) MarshalJSON() ([]byte, error) + type HTTPConfig struct + BasicAuth *HTTPConfigBasicAuth + BearerToken string + ProxyURL string + func (m *HTTPConfig) MarshalBinary() ([]byte, error) + func (m *HTTPConfig) UnmarshalBinary(b []byte) error + func (m *HTTPConfig) Validate(formats strfmt.Registry) error + type HTTPConfigBasicAuth struct + Password *string + Username *string + func (m *HTTPConfigBasicAuth) MarshalBinary() ([]byte, error) + func (m *HTTPConfigBasicAuth) UnmarshalBinary(b []byte) error + func (m *HTTPConfigBasicAuth) Validate(formats strfmt.Registry) error + type LabelPair struct + Name *string + Value *string + func (m *LabelPair) MarshalBinary() ([]byte, error) + func (m *LabelPair) UnmarshalBinary(b []byte) error + func (m *LabelPair) Validate(formats strfmt.Registry) error + type Matcher struct + IsRegex *bool + Name *string + Value *string + func (m *Matcher) MarshalBinary() ([]byte, error) + func (m *Matcher) UnmarshalBinary(b []byte) error + func (m *Matcher) Validate(formats strfmt.Registry) error + type MetricDatapoint []string + func (m MetricDatapoint) Validate(formats strfmt.Registry) error + type MetricDatapoints []MetricDatapoint + func (m MetricDatapoints) Validate(formats strfmt.Registry) error + type PromAlertConfig struct + Alert *string + Annotations PromAlertLabels + Expr *string + For string + Labels PromAlertLabels + func (m *PromAlertConfig) MarshalBinary() ([]byte, error) + func (m *PromAlertConfig) UnmarshalBinary(b []byte) error + func (m *PromAlertConfig) Validate(formats strfmt.Registry) error + type PromAlertConfigList []*PromAlertConfig + func (m PromAlertConfigList) Validate(formats strfmt.Registry) error + type PromAlertLabels map[string]string + func (m PromAlertLabels) Validate(formats strfmt.Registry) error + type PromAlertStatus struct + InhibitedBy []string + SilencedBy []string + State *string + func (m *PromAlertStatus) MarshalBinary() ([]byte, error) + func (m *PromAlertStatus) UnmarshalBinary(b []byte) error + func (m *PromAlertStatus) Validate(formats strfmt.Registry) error + type PromFiringAlert struct + Annotations PromAlertLabels + EndsAt *string + Fingerprint *string + GeneratorURL string + Labels PromAlertLabels + Receivers *GettableAlert + StartsAt *string + Status *PromAlertStatus + UpdatedAt *string + func (m *PromFiringAlert) MarshalBinary() ([]byte, error) + func (m *PromFiringAlert) UnmarshalBinary(b []byte) error + func (m *PromFiringAlert) Validate(formats strfmt.Registry) error + type PrometheusLabelset map[string]string + func (m PrometheusLabelset) Validate(formats strfmt.Registry) error + type PrometheusTargetMetadata struct + Instance *string + Job *string + func (m *PrometheusTargetMetadata) MarshalBinary() ([]byte, error) + func (m *PrometheusTargetMetadata) UnmarshalBinary(b []byte) error + func (m *PrometheusTargetMetadata) Validate(formats strfmt.Registry) error + type PrometheusTargetsMetadata struct + Help *string + Metric *string + Target *PrometheusTargetMetadata + Type *string + Unit *string + func (m *PrometheusTargetsMetadata) MarshalBinary() ([]byte, error) + func (m *PrometheusTargetsMetadata) UnmarshalBinary(b []byte) error + func (m *PrometheusTargetsMetadata) Validate(formats strfmt.Registry) error + type PromqlData struct + Result PromqlResult + ResultType *string + func (m *PromqlData) MarshalBinary() ([]byte, error) + func (m *PromqlData) UnmarshalBinary(b []byte) error + func (m *PromqlData) Validate(formats strfmt.Registry) error + type PromqlMetric struct + AdditionalProperties string + func (m *PromqlMetric) MarshalBinary() ([]byte, error) + func (m *PromqlMetric) UnmarshalBinary(b []byte) error + func (m *PromqlMetric) Validate(formats strfmt.Registry) error + type PromqlMetricValue struct + Metric *PromqlMetric + Value MetricDatapoint + Values MetricDatapoints + func (m *PromqlMetricValue) MarshalBinary() ([]byte, error) + func (m *PromqlMetricValue) UnmarshalBinary(b []byte) error + func (m *PromqlMetricValue) Validate(formats strfmt.Registry) error + type PromqlResult []*PromqlMetricValue + func (m PromqlResult) Validate(formats strfmt.Registry) error + type PromqlReturnObject struct + Data *PromqlData + Status *string + func (m *PromqlReturnObject) MarshalBinary() ([]byte, error) + func (m *PromqlReturnObject) UnmarshalBinary(b []byte) error + func (m *PromqlReturnObject) Validate(formats strfmt.Registry) error + type PushedMetric struct + Labels []*LabelPair + MetricName *string + Timestamp string + Value *float64 + func (m *PushedMetric) MarshalBinary() ([]byte, error) + func (m *PushedMetric) UnmarshalBinary(b []byte) error + func (m *PushedMetric) Validate(formats strfmt.Registry) error + type SLACKAction struct + Confirm *SLACKConfirmField + Name string + Style string + Text *string + Type *string + URL *string + Value string + func (m *SLACKAction) MarshalBinary() ([]byte, error) + func (m *SLACKAction) UnmarshalBinary(b []byte) error + func (m *SLACKAction) Validate(formats strfmt.Registry) error + type SLACKConfirmField struct + DismissText *string + OkText *string + Text *string + Title *string + func (m *SLACKConfirmField) MarshalBinary() ([]byte, error) + func (m *SLACKConfirmField) UnmarshalBinary(b []byte) error + func (m *SLACKConfirmField) Validate(formats strfmt.Registry) error + type SLACKField struct + Short bool + Title *string + Value *string + func (m *SLACKField) MarshalBinary() ([]byte, error) + func (m *SLACKField) UnmarshalBinary(b []byte) error + func (m *SLACKField) Validate(formats strfmt.Registry) error + type SLACKReceiver struct + APIURL *string + Actions []*SLACKAction + CallbackID string + Channel string + Color string + Fallback string + Fields []*SLACKField + Footer string + IconEmoji string + IconURL string + ImageURL string + LinkNames bool + Pretext string + ShortFields bool + Text string + ThumbURL string + Title string + Username string + func (m *SLACKReceiver) MarshalBinary() ([]byte, error) + func (m *SLACKReceiver) UnmarshalBinary(b []byte) error + func (m *SLACKReceiver) Validate(formats strfmt.Registry) error + type WebhookReceiver struct + HTTPConfig *HTTPConfig + SendResolved bool + URL *string + func (m *WebhookReceiver) MarshalBinary() ([]byte, error) + func (m *WebhookReceiver) UnmarshalBinary(b []byte) error + func (m *WebhookReceiver) Validate(formats strfmt.Registry) error