watchimpl

package
v0.0.0-...-d299574 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

README

implement watching resource and notify the result
get metadata from crd to pass the grpc

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Watcher

type Watcher struct {
	// contains filtered or unexported fields
}

func NewWatcher

func NewWatcher(
	cli *k8sclient.Client,
	handles map[string]func(map[string]string, domain.ContainerDetail),
) *Watcher

func (*Watcher) Exit

func (w *Watcher) Exit()

func (*Watcher) Run

func (w *Watcher) Run()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL