Documentation ¶
Index ¶
Constants ¶
View Source
const ( // NodeNotReady EventReason when Node is NotReady NodeNotReady string = "NodeNotReady" // NodeReady EventReason when Node is Ready NodeReady string = "NodeReady" )
View Source
const ( // DisableAnnotation is the object disable annotation. DisableAnnotation string = "botkube.io/disable" // ChannelAnnotation is the multichannel support annotation. ChannelAnnotation string = "botkube.io/channel" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NodeEventsChecker ¶ added in v0.13.0
type NodeEventsChecker struct {
// contains filtered or unexported fields
}
NodeEventsChecker checks job status and adds message in the events structure
func NewNodeEventsChecker ¶ added in v0.13.0
func NewNodeEventsChecker(log logrus.FieldLogger) *NodeEventsChecker
NewNodeEventsChecker creates a new NodeEventsChecker instance
func (*NodeEventsChecker) Describe ¶ added in v0.13.0
func (f *NodeEventsChecker) Describe() string
Describe describes the filter
func (*NodeEventsChecker) Name ¶ added in v0.13.0
func (f *NodeEventsChecker) Name() string
Name returns the filter's name
type ObjectAnnotationChecker ¶ added in v0.13.0
type ObjectAnnotationChecker struct {
// contains filtered or unexported fields
}
ObjectAnnotationChecker forwards events to specific channels based on a special annotation if it is set on a given K8s resource.
func NewObjectAnnotationChecker ¶ added in v0.13.0
func NewObjectAnnotationChecker(log logrus.FieldLogger, dynamicCli dynamic.Interface, mapper meta.RESTMapper) *ObjectAnnotationChecker
NewObjectAnnotationChecker creates a new ObjectAnnotationChecker instance.
func (*ObjectAnnotationChecker) Describe ¶ added in v0.13.0
func (f *ObjectAnnotationChecker) Describe() string
Describe describes the filter.
func (*ObjectAnnotationChecker) Name ¶ added in v0.13.0
func (f *ObjectAnnotationChecker) Name() string
Name returns the filter's name.
Click to show internal directories.
Click to hide internal directories.