Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller wrapper for alertmanager
func New ¶
func New(a alertmanager.APIClient, logger log.Logger) *Controller
New creates new Controller instance
func (*Controller) Create ¶
func (c *Controller) Create(obj interface{})
Create is called when a configmap is created
func (*Controller) Delete ¶
func (c *Controller) Delete(obj interface{})
Delete is called when a configmap is deleted
func (*Controller) Update ¶
func (c *Controller) Update(oldobj, newobj interface{})
Update is called when a configmap is updated
Click to show internal directories.
Click to hide internal directories.