traefik/pkg/provider/kubernetes/k8s/router_transform.go

12 lines
209 B
Go
Raw Normal View History

2023-05-15 14:38:05 +00:00
package k8s
import (
"context"
2023-05-17 09:07:09 +00:00
"github.com/traefik/traefik/v3/pkg/config/dynamic"
2023-05-15 14:38:05 +00:00
)
type RouterTransform interface {
Apply(ctx context.Context, rt *dynamic.Router, annotations map[string]string) error
}