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
}
func New ¶
func New(p prometheus.APIClient, logger log.Logger) *Controller
create new Controller instance
func (*Controller) Create ¶
func (c *Controller) Create(obj interface{})
do something when a configmap created
func (*Controller) Delete ¶
func (c *Controller) Delete(obj interface{})
do something when a configmap deleted
func (*Controller) Update ¶
func (c *Controller) Update(oldobj, newobj interface{})
do something when a configmap updated
Click to show internal directories.
Click to hide internal directories.