Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StatemonitorEvent ¶
type StatemonitorEvent struct { Namespace string Kind string ApiVersion string Component string Host string Reason string Status string Name string Diff string }
StatemonitorEvent represent an event got from k8s api server Events from different endpoints need to be casted to StatemonitorEvent before being able to be handled by handler
func (*StatemonitorEvent) Message ¶
func (e *StatemonitorEvent) Message() (msg string)
Message returns event message in standard format. included as a part of event packege to enhance code resuablity across handlers.
Click to show internal directories.
Click to hide internal directories.