Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alerter ¶
type Alerter struct {
// contains filtered or unexported fields
}
func NewAlerter ¶
func NewAlerter() *Alerter
func (*Alerter) IsResourceIgnored ¶
type AlerterInterface ¶
type FakeAlert ¶
func (*FakeAlert) ShouldIgnoreResource ¶
type SerializableAlert ¶
type SerializableAlert struct {
Alert
}
func (*SerializableAlert) MarshalJSON ¶
func (s *SerializableAlert) MarshalJSON() ([]byte, error)
func (*SerializableAlert) UnmarshalJSON ¶
func (s *SerializableAlert) UnmarshalJSON(bytes []byte) error
type SerializedAlert ¶
type SerializedAlert struct {
Msg string `json:"message"`
}
func (*SerializedAlert) Message ¶
func (u *SerializedAlert) Message() string
func (*SerializedAlert) ShouldIgnoreResource ¶
func (u *SerializedAlert) ShouldIgnoreResource() bool
Click to show internal directories.
Click to hide internal directories.