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) Resource ¶
func (s *SerializedAlert) Resource() *resource.Resource
func (*SerializedAlert) ShouldIgnoreResource ¶
func (u *SerializedAlert) ShouldIgnoreResource() bool
type UnsupportedResourcetypeAlert ¶
type UnsupportedResourcetypeAlert struct {
Typ string
}
func NewUnsupportedResourcetypeAlert ¶
func NewUnsupportedResourcetypeAlert(typ string) *UnsupportedResourcetypeAlert
func (*UnsupportedResourcetypeAlert) Message ¶
func (f *UnsupportedResourcetypeAlert) Message() string
func (*UnsupportedResourcetypeAlert) Resource ¶
func (f *UnsupportedResourcetypeAlert) Resource() *resource.Resource
func (*UnsupportedResourcetypeAlert) ShouldIgnoreResource ¶
func (f *UnsupportedResourcetypeAlert) ShouldIgnoreResource() bool
Click to show internal directories.
Click to hide internal directories.