Documentation ¶
Overview ¶
Package pod provides kubernetes pod information and preriodically update
Package pod provides kubernetes pod information and preriodically update
Index ¶
- type Option
- func WithControllerName(name string) Option
- func WithFields(fs map[string]string) Option
- func WithLabels(ls map[string]string) Option
- func WithManager(mgr manager.Manager) Option
- func WithNamespace(ns string) Option
- func WithOnErrorFunc(f func(err error)) Option
- func WithOnReconcileFunc(f func(podList map[string][]Pod)) Option
- type Pod
- type PodWatcher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*reconciler) error
func WithControllerName ¶
func WithFields ¶ added in v1.3.0
func WithLabels ¶ added in v1.3.0
func WithManager ¶
func WithNamespace ¶ added in v1.3.0
func WithOnErrorFunc ¶
func WithOnReconcileFunc ¶
type PodWatcher ¶
type PodWatcher k8s.ResourceController
func New ¶
func New(opts ...Option) PodWatcher
Click to show internal directories.
Click to hide internal directories.