Movatterモバイル変換


[0]ホーム

URL:


appctest

package
v1.92.3Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2025 License:BSD-3-ClauseImports:2Imported by:0

Details

Repository

github.com/tailscale/tailscale

Links

Documentation

Overview

Package appctest contains code to help test App Connectors.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

typeRouteCollector

type RouteCollector struct {// AdvertiseCallback (optional) is called synchronously from// AdvertiseRoute.AdvertiseCallback func()// UnadvertiseCallback (optional) is called synchronously from// UnadvertiseRoute.UnadvertiseCallback func()// contains filtered or unexported fields}

RouteCollector is a test helper that collects the list of routes advertised

func (*RouteCollector)AdvertiseRoute

func (rc *RouteCollector) AdvertiseRoute(pfx ...netip.Prefix)error

func (*RouteCollector)RemovedRoutes

func (rc *RouteCollector) RemovedRoutes() []netip.Prefix

RemovedRoutes returns the list of routes that were removed.

func (*RouteCollector)Routes

func (rc *RouteCollector) Routes() []netip.Prefix

Routes returns the ordered list of routes that were added, includingpossible duplicates.

func (*RouteCollector)SetRoutes

func (rc *RouteCollector) SetRoutes(routes []netip.Prefix)error

func (*RouteCollector)UnadvertiseRoute

func (rc *RouteCollector) UnadvertiseRoute(toRemove ...netip.Prefix)error

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp