Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct { Source EventSource Watcher Watcher }
type EventSource ¶
type EventSource int
const ( EventSourceConfigMap EventSource = iota EventSourcePrometheusCR )
func (EventSource) String ¶
func (e EventSource) String() string
type PrometheusCRWatcher ¶
type PrometheusCRWatcher struct {
// contains filtered or unexported fields
}
func NewPrometheusCRWatcher ¶
func NewPrometheusCRWatcher(logger logr.Logger, cfg allocatorconfig.Config) (*PrometheusCRWatcher, error)
func (*PrometheusCRWatcher) Close ¶
func (w *PrometheusCRWatcher) Close() error
func (*PrometheusCRWatcher) LoadConfig ¶
func (w *PrometheusCRWatcher) LoadConfig(ctx context.Context) (*promconfig.Config, error)
Click to show internal directories.
Click to hide internal directories.