Documentation ¶
Overview ¶
Package service provides the logic for mapping a Kubernetes Service to a LogicMonitor w.
Index ¶
- func GetServicesMap(k8sClient *kubernetes.Clientset, namespace string) (map[string]string, error)
- type Watcher
- func (w *Watcher) APIVersion() string
- func (w *Watcher) AddFunc() func(obj interface{})
- func (w *Watcher) DeleteFunc() func(obj interface{})
- func (w *Watcher) Enabled() bool
- func (w *Watcher) ObjType() runtime.Object
- func (w *Watcher) Resource() string
- func (w *Watcher) UpdateFunc() func(oldObj, newObj interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetServicesMap ¶ added in v1.0.1
GetServicesMap implements the getting services map info from k8s
Types ¶
type Watcher ¶
type Watcher struct {
types.DeviceManager
}
Watcher represents a watcher type that watches services.
func (*Watcher) APIVersion ¶
APIVersion is a function that implements the Watcher interface.
func (*Watcher) AddFunc ¶
func (w *Watcher) AddFunc() func(obj interface{})
AddFunc is a function that implements the Watcher interface.
func (*Watcher) DeleteFunc ¶
func (w *Watcher) DeleteFunc() func(obj interface{})
DeleteFunc is a function that implements the Watcher interface.
func (*Watcher) UpdateFunc ¶
func (w *Watcher) UpdateFunc() func(oldObj, newObj interface{})
UpdateFunc is a function that implements the Watcher interface.
Click to show internal directories.
Click to hide internal directories.