Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type K8S ¶
type K8S struct {
// contains filtered or unexported fields
}
func (*K8S) Subscribe ¶
func (k8s *K8S) Subscribe(l PodEventsListener)
type Pod ¶
type Pod struct { // update Pod.Equal when adding fields Id PodId Phase corev1.PodPhase IP string Annotations map[string]string Ports []int }
func (*Pod) ServiceName ¶
type PodEvent ¶
type PodEvent struct { Type PodEventType Curr *Pod Prev *Pod }
type PodEventType ¶
type PodEventType int
const ( PodEventTypeAdd PodEventType = iota PodEventTypeChange PodEventTypeDelete )
type PodEventsListener ¶
type PodEventsListener interface {
ListenPodEvents(events <-chan PodEvent)
}
Click to show internal directories.
Click to hide internal directories.