Versions in this module Expand all Collapse all v1 v1.1.30 Apr 17, 2023 Changes in this version + func DefaultRoute() *route.Route + func Main(filename string, port uint, logger *log.Logger) + func OriginCluster() *cluster.Cluster + func RunServer(ctx context.Context, server serverv3.Server, port uint) + func ToCluster(clusterName string) *cluster.Cluster + func ToEndPoint(clusterName string, localTunIP string, port int32) *endpoint.ClusterLoadAssignment + func ToListener(listenerName string, routeName string, port int32, p corev1.Protocol) *listener.Listener + func ToRoute(clusterName string, headers map[string]string) *route.Route + func Watch(watcher *fsnotify.Watcher, filename string, notifyCh chan<- NotifyMessage) error + type NotifyMessage struct + FilePath string + Operation OperationType + type OperationType int + const Create + const Modify + const Remove + type Processor struct + func NewProcessor(cache cache.SnapshotCache, log *logrus.Logger) *Processor + func (p *Processor) ProcessFile(file NotifyMessage) + type Rule struct + Headers map[string]string + LocalTunIPv4 string + LocalTunIPv6 string + type Virtual struct + Ports []corev1.ContainerPort + Rules []*Rule + Uid string + func ParseYaml(file string) ([]*Virtual, error) + func (a *Virtual) To() (listeners []types.Resource, clusters []types.Resource, routes []types.Resource, ...)