test

package
v2.10.1 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BidirectionalTunnels

func BidirectionalTunnels(ctx context.Context, t *testing.T, coordinator tailnet.CoordinatorV2)

func GracefulDisconnectTest

func GracefulDisconnectTest(ctx context.Context, t *testing.T, coordinator tailnet.CoordinatorV2)

func LostTest

func LostTest(ctx context.Context, t *testing.T, coordinator tailnet.CoordinatorV2)

Types

type Peer

type Peer struct {
	ID uuid.UUID
	// contains filtered or unexported fields
}

func NewPeer

func NewPeer(ctx context.Context, t testing.TB, coord tailnet.CoordinatorV2, name string, id ...uuid.UUID) *Peer

func (*Peer) AddTunnel

func (p *Peer) AddTunnel(other uuid.UUID)

func (*Peer) AssertEventuallyDisconnected

func (p *Peer) AssertEventuallyDisconnected(other uuid.UUID)

func (*Peer) AssertEventuallyHasDERP

func (p *Peer) AssertEventuallyHasDERP(other uuid.UUID, derp int32)

func (*Peer) AssertEventuallyLost

func (p *Peer) AssertEventuallyLost(other uuid.UUID)

func (*Peer) AssertEventuallyResponsesClosed

func (p *Peer) AssertEventuallyResponsesClosed()

func (*Peer) Close

func (p *Peer) Close(ctx context.Context)

func (*Peer) Disconnect

func (p *Peer) Disconnect()

func (*Peer) UpdateDERP

func (p *Peer) UpdateDERP(derp int32)

type PeerStatus

type PeerStatus struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL