Versions in this module Expand all Collapse all v0 v0.20.2 Mar 16, 2020 Changes in this version + const AlertStatusStateActive + const AlertStatusStateSuppressed + const AlertStatusStateUnprocessed + const ClusterStatusStatusDisabled + const ClusterStatusStatusReady + const ClusterStatusStatusSettling + const SilenceStatusStateActive + const SilenceStatusStateExpired + const SilenceStatusStatePending + type Alert struct + GeneratorURL strfmt.URI + Labels LabelSet + func (m *Alert) MarshalBinary() ([]byte, error) + func (m *Alert) UnmarshalBinary(b []byte) error + func (m *Alert) Validate(formats strfmt.Registry) error + type AlertGroup struct + Alerts []*GettableAlert + Labels LabelSet + Receiver *Receiver + func (m *AlertGroup) MarshalBinary() ([]byte, error) + func (m *AlertGroup) UnmarshalBinary(b []byte) error + func (m *AlertGroup) Validate(formats strfmt.Registry) error + type AlertGroups []*AlertGroup + func (m AlertGroups) Validate(formats strfmt.Registry) error + type AlertStatus struct + InhibitedBy []string + SilencedBy []string + State *string + func (m *AlertStatus) MarshalBinary() ([]byte, error) + func (m *AlertStatus) UnmarshalBinary(b []byte) error + func (m *AlertStatus) Validate(formats strfmt.Registry) error + type AlertmanagerConfig struct + Original *string + func (m *AlertmanagerConfig) MarshalBinary() ([]byte, error) + func (m *AlertmanagerConfig) UnmarshalBinary(b []byte) error + func (m *AlertmanagerConfig) Validate(formats strfmt.Registry) error + type AlertmanagerStatus struct + Cluster *ClusterStatus + Config *AlertmanagerConfig + Uptime *strfmt.DateTime + VersionInfo *VersionInfo + func (m *AlertmanagerStatus) MarshalBinary() ([]byte, error) + func (m *AlertmanagerStatus) UnmarshalBinary(b []byte) error + func (m *AlertmanagerStatus) Validate(formats strfmt.Registry) error + type ClusterStatus struct + Name string + Peers []*PeerStatus + Status *string + func (m *ClusterStatus) MarshalBinary() ([]byte, error) + func (m *ClusterStatus) UnmarshalBinary(b []byte) error + func (m *ClusterStatus) Validate(formats strfmt.Registry) error + type GettableAlert struct + Annotations LabelSet + EndsAt *strfmt.DateTime + Fingerprint *string + Receivers []*Receiver + StartsAt *strfmt.DateTime + Status *AlertStatus + UpdatedAt *strfmt.DateTime + func (m *GettableAlert) MarshalBinary() ([]byte, error) + func (m *GettableAlert) UnmarshalBinary(b []byte) error + func (m *GettableAlert) UnmarshalJSON(raw []byte) error + func (m *GettableAlert) Validate(formats strfmt.Registry) error + func (m GettableAlert) MarshalJSON() ([]byte, error) + type GettableAlerts []*GettableAlert + func (m GettableAlerts) Validate(formats strfmt.Registry) error + type GettableSilence struct + ID *string + Status *SilenceStatus + UpdatedAt *strfmt.DateTime + func (m *GettableSilence) MarshalBinary() ([]byte, error) + func (m *GettableSilence) UnmarshalBinary(b []byte) error + func (m *GettableSilence) UnmarshalJSON(raw []byte) error + func (m *GettableSilence) Validate(formats strfmt.Registry) error + func (m GettableSilence) MarshalJSON() ([]byte, error) + type GettableSilences []*GettableSilence + func (m GettableSilences) Validate(formats strfmt.Registry) error + type LabelSet map[string]string + func (m LabelSet) 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 Matchers []*Matcher + func (m Matchers) Validate(formats strfmt.Registry) error + type PeerStatus struct + Address *string + Name *string + func (m *PeerStatus) MarshalBinary() ([]byte, error) + func (m *PeerStatus) UnmarshalBinary(b []byte) error + func (m *PeerStatus) Validate(formats strfmt.Registry) error + type PostableAlert struct + Annotations LabelSet + EndsAt strfmt.DateTime + StartsAt strfmt.DateTime + func (m *PostableAlert) MarshalBinary() ([]byte, error) + func (m *PostableAlert) UnmarshalBinary(b []byte) error + func (m *PostableAlert) UnmarshalJSON(raw []byte) error + func (m *PostableAlert) Validate(formats strfmt.Registry) error + func (m PostableAlert) MarshalJSON() ([]byte, error) + type PostableAlerts []*PostableAlert + func (m PostableAlerts) Validate(formats strfmt.Registry) error + type PostableSilence struct + ID string + func (m *PostableSilence) MarshalBinary() ([]byte, error) + func (m *PostableSilence) UnmarshalBinary(b []byte) error + func (m *PostableSilence) UnmarshalJSON(raw []byte) error + func (m *PostableSilence) Validate(formats strfmt.Registry) error + func (m PostableSilence) MarshalJSON() ([]byte, error) + type Receiver struct + Name *string + func (m *Receiver) MarshalBinary() ([]byte, error) + func (m *Receiver) UnmarshalBinary(b []byte) error + func (m *Receiver) Validate(formats strfmt.Registry) error + type Silence struct + Comment *string + CreatedBy *string + EndsAt *strfmt.DateTime + Matchers Matchers + StartsAt *strfmt.DateTime + func (m *Silence) MarshalBinary() ([]byte, error) + func (m *Silence) UnmarshalBinary(b []byte) error + func (m *Silence) Validate(formats strfmt.Registry) error + type SilenceStatus struct + State *string + func (m *SilenceStatus) MarshalBinary() ([]byte, error) + func (m *SilenceStatus) UnmarshalBinary(b []byte) error + func (m *SilenceStatus) Validate(formats strfmt.Registry) error + type VersionInfo struct + Branch *string + BuildDate *string + BuildUser *string + GoVersion *string + Revision *string + Version *string + func (m *VersionInfo) MarshalBinary() ([]byte, error) + func (m *VersionInfo) UnmarshalBinary(b []byte) error + func (m *VersionInfo) Validate(formats strfmt.Registry) error