20 lines
519 B
Go
20 lines
519 B
Go
|
|
//go:build !linux
|
||
|
|
|
||
|
|
package agent
|
||
|
|
|
||
|
|
import (
|
||
|
|
"context"
|
||
|
|
"log/slog"
|
||
|
|
)
|
||
|
|
|
||
|
|
// AnycastReconciler is a no-op on non-Linux platforms (lets the package
|
||
|
|
// compile on developer machines for unit tests).
|
||
|
|
type AnycastReconciler struct{}
|
||
|
|
|
||
|
|
func NewAnycastReconciler(_ string, _ *Store, _ *PodCache, _ *NodeConfigCache, _ *BirdManager, _ string, _ *slog.Logger) *AnycastReconciler {
|
||
|
|
return &AnycastReconciler{}
|
||
|
|
}
|
||
|
|
|
||
|
|
func (r *AnycastReconciler) Trigger() {}
|
||
|
|
func (r *AnycastReconciler) Run(_ context.Context) {}
|