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 WithForOpts(fopts ...builder.ForOption) 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(ctx context.Context, pod *corev1.Pod) (reconcile.Result, error)) 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 ¶
func WithForOpts ¶
func WithLabels ¶
func WithManager ¶
func WithNamespace ¶
func WithOnErrorFunc ¶
type PodWatcher ¶
type PodWatcher k8s.ResourceController
func New ¶
func New(opts ...Option) PodWatcher
Click to show internal directories.
Click to hide internal directories.