Movatterモバイル変換


[0]ホーム

URL:


Alert GO-2024-3228: Coder vulnerable to post-auth URL redirection to untrusted site ('Open Redirect') in github.com/coder/coder
Notice  The highest tagged major version isv2.

tailnettest

package
v0.27.3Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2023 License:AGPL-3.0Imports:20Imported by:0

Details

Repository

github.com/coder/coder

Links

Documentation

Overview

Package tailnettest is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

funcRunDERPAndSTUN

func RunDERPAndSTUN(t *testing.T) (*tailcfg.DERPMap, *derp.Server)

RunDERPAndSTUN creates a DERP mapping for tests.

funcRunDERPOnlyWebSocketsadded inv0.18.1

func RunDERPOnlyWebSockets(t *testing.T) *tailcfg.DERPMap

RunDERPOnlyWebSockets creates a DERP mapping for tests thatonly allows WebSockets through it. Many proxies do not supportupgrading DERP, so this is a good fallback.

Types

typeMockMultiAgentConnadded inv0.26.2

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

MockMultiAgentConn is a mock of MultiAgentConn interface.

funcNewMockMultiAgentConnadded inv0.26.2

func NewMockMultiAgentConn(ctrl *gomock.Controller) *MockMultiAgentConn

NewMockMultiAgentConn creates a new mock instance.

func (*MockMultiAgentConn)AgentIsLegacyadded inv0.26.2

func (m *MockMultiAgentConn) AgentIsLegacy(arg0uuid.UUID)bool

AgentIsLegacy mocks base method.

func (*MockMultiAgentConn)Closeadded inv0.26.2

func (m *MockMultiAgentConn) Close()error

Close mocks base method.

func (*MockMultiAgentConn)EXPECTadded inv0.26.2

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockMultiAgentConn)Enqueueadded inv0.26.2

func (m *MockMultiAgentConn) Enqueue(arg0 []*tailnet.Node)error

Enqueue mocks base method.

func (*MockMultiAgentConn)IsClosedadded inv0.26.2

func (m *MockMultiAgentConn) IsClosed()bool

IsClosed mocks base method.

func (*MockMultiAgentConn)NextUpdateadded inv0.26.2

func (m *MockMultiAgentConn) NextUpdate(arg0context.Context) ([]*tailnet.Node,bool)

NextUpdate mocks base method.

func (*MockMultiAgentConn)SubscribeAgentadded inv0.26.2

func (m *MockMultiAgentConn) SubscribeAgent(arg0uuid.UUID)error

SubscribeAgent mocks base method.

func (*MockMultiAgentConn)UnsubscribeAgentadded inv0.26.2

func (m *MockMultiAgentConn) UnsubscribeAgent(arg0uuid.UUID)error

UnsubscribeAgent mocks base method.

func (*MockMultiAgentConn)UpdateSelfadded inv0.26.2

func (m *MockMultiAgentConn) UpdateSelf(arg0 *tailnet.Node)error

UpdateSelf mocks base method.

typeMockMultiAgentConnMockRecorderadded inv0.26.2

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

MockMultiAgentConnMockRecorder is the mock recorder for MockMultiAgentConn.

func (*MockMultiAgentConnMockRecorder)AgentIsLegacyadded inv0.26.2

func (mr *MockMultiAgentConnMockRecorder) AgentIsLegacy(arg0 interface{}) *gomock.Call

AgentIsLegacy indicates an expected call of AgentIsLegacy.

func (*MockMultiAgentConnMockRecorder)Closeadded inv0.26.2

Close indicates an expected call of Close.

func (*MockMultiAgentConnMockRecorder)Enqueueadded inv0.26.2

func (mr *MockMultiAgentConnMockRecorder) Enqueue(arg0 interface{}) *gomock.Call

Enqueue indicates an expected call of Enqueue.

func (*MockMultiAgentConnMockRecorder)IsClosedadded inv0.26.2

IsClosed indicates an expected call of IsClosed.

func (*MockMultiAgentConnMockRecorder)NextUpdateadded inv0.26.2

func (mr *MockMultiAgentConnMockRecorder) NextUpdate(arg0 interface{}) *gomock.Call

NextUpdate indicates an expected call of NextUpdate.

func (*MockMultiAgentConnMockRecorder)SubscribeAgentadded inv0.26.2

func (mr *MockMultiAgentConnMockRecorder) SubscribeAgent(arg0 interface{}) *gomock.Call

SubscribeAgent indicates an expected call of SubscribeAgent.

func (*MockMultiAgentConnMockRecorder)UnsubscribeAgentadded inv0.26.2

func (mr *MockMultiAgentConnMockRecorder) UnsubscribeAgent(arg0 interface{}) *gomock.Call

UnsubscribeAgent indicates an expected call of UnsubscribeAgent.

func (*MockMultiAgentConnMockRecorder)UpdateSelfadded inv0.26.2

func (mr *MockMultiAgentConnMockRecorder) UpdateSelf(arg0 interface{}) *gomock.Call

UpdateSelf indicates an expected call of UpdateSelf.

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