Documentation ¶
Overview ¶
Package svc provides kubernetes svc information and preriodically update
Package svc provides kubernetes svc 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(svcs []Service)) Option
- type Service
- type SvcWatcher
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 WithLabels ¶
func WithManager ¶
func WithNamespace ¶
func WithOnErrorFunc ¶
func WithOnReconcileFunc ¶
type Service ¶
type Service struct { Name string ClusterIP string ClusterIPs []string Ports []servicePort Labels map[string]string Annotations map[string]string }
Service represents a kubernetes service information.
type SvcWatcher ¶
type SvcWatcher k8s.ResourceController
SvcWatcher is a type alias of k8s.ResourceController for service resources.
Click to show internal directories.
Click to hide internal directories.