Documentation
¶
Index ¶
- func BidirectionalTunnels(ctx context.Context, t *testing.T, coordinator tailnet.CoordinatorV2)
- func GracefulDisconnectTest(ctx context.Context, t *testing.T, coordinator tailnet.CoordinatorV2)
- func LostTest(ctx context.Context, t *testing.T, coordinator tailnet.CoordinatorV2)
- func ReadyForHandshakeNoPermissionTest(ctx context.Context, t *testing.T, coordinator tailnet.CoordinatorV2)
- func ReadyForHandshakeTest(ctx context.Context, t *testing.T, coordinator tailnet.CoordinatorV2)
- type Peer
- func (p *Peer) AddTunnel(other uuid.UUID)
- func (p *Peer) AssertEventuallyDisconnected(other uuid.UUID)
- func (p *Peer) AssertEventuallyGetsError(match string)
- func (p *Peer) AssertEventuallyHasDERP(other uuid.UUID, derp int32)
- func (p *Peer) AssertEventuallyLost(other uuid.UUID)
- func (p *Peer) AssertEventuallyReadyForHandshake(other uuid.UUID)
- func (p *Peer) AssertEventuallyResponsesClosed()
- func (p *Peer) Close(ctx context.Context)
- func (p *Peer) Disconnect()
- func (p *Peer) ReadyForHandshake(peer uuid.UUID)
- func (p *Peer) UpdateDERP(derp int32)
- type PeerStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BidirectionalTunnels ¶
func GracefulDisconnectTest ¶
func ReadyForHandshakeNoPermissionTest ¶ added in v2.11.0
func ReadyForHandshakeTest ¶ added in v2.11.0
Types ¶
type Peer ¶
func (*Peer) AssertEventuallyDisconnected ¶
func (*Peer) AssertEventuallyGetsError ¶ added in v2.11.0
func (*Peer) AssertEventuallyHasDERP ¶
func (*Peer) AssertEventuallyLost ¶
func (*Peer) AssertEventuallyReadyForHandshake ¶ added in v2.11.0
func (*Peer) AssertEventuallyResponsesClosed ¶
func (p *Peer) AssertEventuallyResponsesClosed()
func (*Peer) Disconnect ¶
func (p *Peer) Disconnect()
func (*Peer) ReadyForHandshake ¶ added in v2.11.0
func (*Peer) UpdateDERP ¶
type PeerStatus ¶
type PeerStatus struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.