internal

package
v0.43.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package internal is a generated GoMock package.

Package internal is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockConnectionTracer

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

MockConnectionTracer is a mock of ConnectionTracer interface.

func NewMockConnectionTracer

func NewMockConnectionTracer(ctrl *gomock.Controller) *MockConnectionTracer

NewMockConnectionTracer creates a new mock instance.

func (*MockConnectionTracer) AcknowledgedPacket

func (m *MockConnectionTracer) AcknowledgedPacket(arg0 protocol.EncryptionLevel, arg1 protocol.PacketNumber)

AcknowledgedPacket mocks base method.

func (*MockConnectionTracer) BufferedPacket

func (m *MockConnectionTracer) BufferedPacket(arg0 logging.PacketType, arg1 protocol.ByteCount)

BufferedPacket mocks base method.

func (*MockConnectionTracer) ChoseALPN added in v0.41.0

func (m *MockConnectionTracer) ChoseALPN(arg0 string)

ChoseALPN mocks base method.

func (*MockConnectionTracer) Close

func (m *MockConnectionTracer) Close()

Close mocks base method.

func (*MockConnectionTracer) ClosedConnection

func (m *MockConnectionTracer) ClosedConnection(arg0 error)

ClosedConnection mocks base method.

func (*MockConnectionTracer) Debug

func (m *MockConnectionTracer) Debug(arg0, arg1 string)

Debug mocks base method.

func (*MockConnectionTracer) DroppedEncryptionLevel

func (m *MockConnectionTracer) DroppedEncryptionLevel(arg0 protocol.EncryptionLevel)

DroppedEncryptionLevel mocks base method.

func (*MockConnectionTracer) DroppedKey

func (m *MockConnectionTracer) DroppedKey(arg0 protocol.KeyPhase)

DroppedKey mocks base method.

func (*MockConnectionTracer) DroppedPacket

DroppedPacket mocks base method.

func (*MockConnectionTracer) ECNStateUpdated

func (m *MockConnectionTracer) ECNStateUpdated(arg0 logging.ECNState, arg1 logging.ECNStateTrigger)

ECNStateUpdated mocks base method.

func (*MockConnectionTracer) EXPECT

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

func (*MockConnectionTracer) LossTimerCanceled

func (m *MockConnectionTracer) LossTimerCanceled()

LossTimerCanceled mocks base method.

func (*MockConnectionTracer) LossTimerExpired

func (m *MockConnectionTracer) LossTimerExpired(arg0 logging.TimerType, arg1 protocol.EncryptionLevel)

LossTimerExpired mocks base method.

func (*MockConnectionTracer) LostPacket

LostPacket mocks base method.

func (*MockConnectionTracer) NegotiatedVersion

func (m *MockConnectionTracer) NegotiatedVersion(arg0 protocol.Version, arg1, arg2 []protocol.Version)

NegotiatedVersion mocks base method.

func (*MockConnectionTracer) ReceivedLongHeaderPacket

func (m *MockConnectionTracer) ReceivedLongHeaderPacket(arg0 *wire.ExtendedHeader, arg1 protocol.ByteCount, arg2 protocol.ECN, arg3 []logging.Frame)

ReceivedLongHeaderPacket mocks base method.

func (*MockConnectionTracer) ReceivedRetry

func (m *MockConnectionTracer) ReceivedRetry(arg0 *wire.Header)

ReceivedRetry mocks base method.

func (*MockConnectionTracer) ReceivedShortHeaderPacket

func (m *MockConnectionTracer) ReceivedShortHeaderPacket(arg0 *logging.ShortHeader, arg1 protocol.ByteCount, arg2 protocol.ECN, arg3 []logging.Frame)

ReceivedShortHeaderPacket mocks base method.

func (*MockConnectionTracer) ReceivedTransportParameters

func (m *MockConnectionTracer) ReceivedTransportParameters(arg0 *wire.TransportParameters)

ReceivedTransportParameters mocks base method.

func (*MockConnectionTracer) ReceivedVersionNegotiationPacket

func (m *MockConnectionTracer) ReceivedVersionNegotiationPacket(arg0, arg1 protocol.ArbitraryLenConnectionID, arg2 []protocol.Version)

ReceivedVersionNegotiationPacket mocks base method.

func (*MockConnectionTracer) RestoredTransportParameters

func (m *MockConnectionTracer) RestoredTransportParameters(arg0 *wire.TransportParameters)

RestoredTransportParameters mocks base method.

func (*MockConnectionTracer) SentLongHeaderPacket

func (m *MockConnectionTracer) SentLongHeaderPacket(arg0 *wire.ExtendedHeader, arg1 protocol.ByteCount, arg2 protocol.ECN, arg3 *wire.AckFrame, arg4 []logging.Frame)

SentLongHeaderPacket mocks base method.

func (*MockConnectionTracer) SentShortHeaderPacket

func (m *MockConnectionTracer) SentShortHeaderPacket(arg0 *logging.ShortHeader, arg1 protocol.ByteCount, arg2 protocol.ECN, arg3 *wire.AckFrame, arg4 []logging.Frame)

SentShortHeaderPacket mocks base method.

func (*MockConnectionTracer) SentTransportParameters

func (m *MockConnectionTracer) SentTransportParameters(arg0 *wire.TransportParameters)

SentTransportParameters mocks base method.

func (*MockConnectionTracer) SetLossTimer

func (m *MockConnectionTracer) SetLossTimer(arg0 logging.TimerType, arg1 protocol.EncryptionLevel, arg2 time.Time)

SetLossTimer mocks base method.

func (*MockConnectionTracer) StartedConnection

func (m *MockConnectionTracer) StartedConnection(arg0, arg1 net.Addr, arg2, arg3 protocol.ConnectionID)

StartedConnection mocks base method.

func (*MockConnectionTracer) UpdatedCongestionState

func (m *MockConnectionTracer) UpdatedCongestionState(arg0 logging.CongestionState)

UpdatedCongestionState mocks base method.

func (*MockConnectionTracer) UpdatedKey

func (m *MockConnectionTracer) UpdatedKey(arg0 protocol.KeyPhase, arg1 bool)

UpdatedKey mocks base method.

func (*MockConnectionTracer) UpdatedKeyFromTLS

func (m *MockConnectionTracer) UpdatedKeyFromTLS(arg0 protocol.EncryptionLevel, arg1 protocol.Perspective)

UpdatedKeyFromTLS mocks base method.

func (*MockConnectionTracer) UpdatedMetrics

func (m *MockConnectionTracer) UpdatedMetrics(arg0 *utils.RTTStats, arg1, arg2 protocol.ByteCount, arg3 int)

UpdatedMetrics mocks base method.

func (*MockConnectionTracer) UpdatedPTOCount

func (m *MockConnectionTracer) UpdatedPTOCount(arg0 uint32)

UpdatedPTOCount mocks base method.

type MockConnectionTracerAcknowledgedPacketCall added in v0.42.0

type MockConnectionTracerAcknowledgedPacketCall struct {
	*gomock.Call
}

MockConnectionTracerAcknowledgedPacketCall wrap *gomock.Call

func (*MockConnectionTracerAcknowledgedPacketCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockConnectionTracerAcknowledgedPacketCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConnectionTracerAcknowledgedPacketCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockConnectionTracerBufferedPacketCall added in v0.42.0

type MockConnectionTracerBufferedPacketCall struct {
	*gomock.Call
}

MockConnectionTracerBufferedPacketCall wrap *gomock.Call

func (*MockConnectionTracerBufferedPacketCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockConnectionTracerBufferedPacketCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConnectionTracerBufferedPacketCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockConnectionTracerChoseALPNCall added in v0.42.0

type MockConnectionTracerChoseALPNCall struct {
	*gomock.Call
}

MockConnectionTracerChoseALPNCall wrap *gomock.Call

func (*MockConnectionTracerChoseALPNCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockConnectionTracerChoseALPNCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConnectionTracerChoseALPNCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockConnectionTracerCloseCall added in v0.42.0

type MockConnectionTracerCloseCall struct {
	*gomock.Call
}

MockConnectionTracerCloseCall wrap *gomock.Call

func (*MockConnectionTracerCloseCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockConnectionTracerCloseCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConnectionTracerCloseCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockConnectionTracerClosedConnectionCall added in v0.42.0

type MockConnectionTracerClosedConnectionCall struct {
	*gomock.Call
}

MockConnectionTracerClosedConnectionCall wrap *gomock.Call

func (*MockConnectionTracerClosedConnectionCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockConnectionTracerClosedConnectionCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConnectionTracerClosedConnectionCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockConnectionTracerDebugCall added in v0.42.0

type MockConnectionTracerDebugCall struct {
	*gomock.Call
}

MockConnectionTracerDebugCall wrap *gomock.Call

func (*MockConnectionTracerDebugCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockConnectionTracerDebugCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConnectionTracerDebugCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockConnectionTracerDroppedEncryptionLevelCall added in v0.42.0

type MockConnectionTracerDroppedEncryptionLevelCall struct {
	*gomock.Call
}

MockConnectionTracerDroppedEncryptionLevelCall wrap *gomock.Call

func (*MockConnectionTracerDroppedEncryptionLevelCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockConnectionTracerDroppedEncryptionLevelCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConnectionTracerDroppedEncryptionLevelCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockConnectionTracerDroppedKeyCall added in v0.42.0

type MockConnectionTracerDroppedKeyCall struct {
	*gomock.Call
}

MockConnectionTracerDroppedKeyCall wrap *gomock.Call

func (*MockConnectionTracerDroppedKeyCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockConnectionTracerDroppedKeyCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConnectionTracerDroppedKeyCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockConnectionTracerDroppedPacketCall added in v0.42.0

type MockConnectionTracerDroppedPacketCall struct {
	*gomock.Call
}

MockConnectionTracerDroppedPacketCall wrap *gomock.Call

func (*MockConnectionTracerDroppedPacketCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockConnectionTracerDroppedPacketCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConnectionTracerDroppedPacketCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockConnectionTracerECNStateUpdatedCall added in v0.42.0

type MockConnectionTracerECNStateUpdatedCall struct {
	*gomock.Call
}

MockConnectionTracerECNStateUpdatedCall wrap *gomock.Call

func (*MockConnectionTracerECNStateUpdatedCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockConnectionTracerECNStateUpdatedCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConnectionTracerECNStateUpdatedCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockConnectionTracerLossTimerCanceledCall added in v0.42.0

type MockConnectionTracerLossTimerCanceledCall struct {
	*gomock.Call
}

MockConnectionTracerLossTimerCanceledCall wrap *gomock.Call

func (*MockConnectionTracerLossTimerCanceledCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockConnectionTracerLossTimerCanceledCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConnectionTracerLossTimerCanceledCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockConnectionTracerLossTimerExpiredCall added in v0.42.0

type MockConnectionTracerLossTimerExpiredCall struct {
	*gomock.Call
}

MockConnectionTracerLossTimerExpiredCall wrap *gomock.Call

func (*MockConnectionTracerLossTimerExpiredCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockConnectionTracerLossTimerExpiredCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConnectionTracerLossTimerExpiredCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockConnectionTracerLostPacketCall added in v0.42.0

type MockConnectionTracerLostPacketCall struct {
	*gomock.Call
}

MockConnectionTracerLostPacketCall wrap *gomock.Call

func (*MockConnectionTracerLostPacketCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockConnectionTracerLostPacketCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConnectionTracerLostPacketCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockConnectionTracerMockRecorder

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

MockConnectionTracerMockRecorder is the mock recorder for MockConnectionTracer.

func (*MockConnectionTracerMockRecorder) AcknowledgedPacket

AcknowledgedPacket indicates an expected call of AcknowledgedPacket.

func (*MockConnectionTracerMockRecorder) BufferedPacket

BufferedPacket indicates an expected call of BufferedPacket.

func (*MockConnectionTracerMockRecorder) ChoseALPN added in v0.41.0

ChoseALPN indicates an expected call of ChoseALPN.

func (*MockConnectionTracerMockRecorder) Close

Close indicates an expected call of Close.

func (*MockConnectionTracerMockRecorder) ClosedConnection

ClosedConnection indicates an expected call of ClosedConnection.

func (*MockConnectionTracerMockRecorder) Debug

Debug indicates an expected call of Debug.

func (*MockConnectionTracerMockRecorder) DroppedEncryptionLevel

DroppedEncryptionLevel indicates an expected call of DroppedEncryptionLevel.

func (*MockConnectionTracerMockRecorder) DroppedKey

DroppedKey indicates an expected call of DroppedKey.

func (*MockConnectionTracerMockRecorder) DroppedPacket

func (mr *MockConnectionTracerMockRecorder) DroppedPacket(arg0, arg1, arg2, arg3 any) *MockConnectionTracerDroppedPacketCall

DroppedPacket indicates an expected call of DroppedPacket.

func (*MockConnectionTracerMockRecorder) ECNStateUpdated

ECNStateUpdated indicates an expected call of ECNStateUpdated.

func (*MockConnectionTracerMockRecorder) LossTimerCanceled

LossTimerCanceled indicates an expected call of LossTimerCanceled.

func (*MockConnectionTracerMockRecorder) LossTimerExpired

LossTimerExpired indicates an expected call of LossTimerExpired.

func (*MockConnectionTracerMockRecorder) LostPacket

LostPacket indicates an expected call of LostPacket.

func (*MockConnectionTracerMockRecorder) NegotiatedVersion

func (mr *MockConnectionTracerMockRecorder) NegotiatedVersion(arg0, arg1, arg2 any) *MockConnectionTracerNegotiatedVersionCall

NegotiatedVersion indicates an expected call of NegotiatedVersion.

func (*MockConnectionTracerMockRecorder) ReceivedLongHeaderPacket

func (mr *MockConnectionTracerMockRecorder) ReceivedLongHeaderPacket(arg0, arg1, arg2, arg3 any) *MockConnectionTracerReceivedLongHeaderPacketCall

ReceivedLongHeaderPacket indicates an expected call of ReceivedLongHeaderPacket.

func (*MockConnectionTracerMockRecorder) ReceivedRetry

ReceivedRetry indicates an expected call of ReceivedRetry.

func (*MockConnectionTracerMockRecorder) ReceivedShortHeaderPacket

func (mr *MockConnectionTracerMockRecorder) ReceivedShortHeaderPacket(arg0, arg1, arg2, arg3 any) *MockConnectionTracerReceivedShortHeaderPacketCall

ReceivedShortHeaderPacket indicates an expected call of ReceivedShortHeaderPacket.

func (*MockConnectionTracerMockRecorder) ReceivedTransportParameters

ReceivedTransportParameters indicates an expected call of ReceivedTransportParameters.

func (*MockConnectionTracerMockRecorder) ReceivedVersionNegotiationPacket

func (mr *MockConnectionTracerMockRecorder) ReceivedVersionNegotiationPacket(arg0, arg1, arg2 any) *MockConnectionTracerReceivedVersionNegotiationPacketCall

ReceivedVersionNegotiationPacket indicates an expected call of ReceivedVersionNegotiationPacket.

func (*MockConnectionTracerMockRecorder) RestoredTransportParameters

RestoredTransportParameters indicates an expected call of RestoredTransportParameters.

func (*MockConnectionTracerMockRecorder) SentLongHeaderPacket

func (mr *MockConnectionTracerMockRecorder) SentLongHeaderPacket(arg0, arg1, arg2, arg3, arg4 any) *MockConnectionTracerSentLongHeaderPacketCall

SentLongHeaderPacket indicates an expected call of SentLongHeaderPacket.

func (*MockConnectionTracerMockRecorder) SentShortHeaderPacket

func (mr *MockConnectionTracerMockRecorder) SentShortHeaderPacket(arg0, arg1, arg2, arg3, arg4 any) *MockConnectionTracerSentShortHeaderPacketCall

SentShortHeaderPacket indicates an expected call of SentShortHeaderPacket.

func (*MockConnectionTracerMockRecorder) SentTransportParameters

SentTransportParameters indicates an expected call of SentTransportParameters.

func (*MockConnectionTracerMockRecorder) SetLossTimer

SetLossTimer indicates an expected call of SetLossTimer.

func (*MockConnectionTracerMockRecorder) StartedConnection

func (mr *MockConnectionTracerMockRecorder) StartedConnection(arg0, arg1, arg2, arg3 any) *MockConnectionTracerStartedConnectionCall

StartedConnection indicates an expected call of StartedConnection.

func (*MockConnectionTracerMockRecorder) UpdatedCongestionState

UpdatedCongestionState indicates an expected call of UpdatedCongestionState.

func (*MockConnectionTracerMockRecorder) UpdatedKey

UpdatedKey indicates an expected call of UpdatedKey.

func (*MockConnectionTracerMockRecorder) UpdatedKeyFromTLS

UpdatedKeyFromTLS indicates an expected call of UpdatedKeyFromTLS.

func (*MockConnectionTracerMockRecorder) UpdatedMetrics

func (mr *MockConnectionTracerMockRecorder) UpdatedMetrics(arg0, arg1, arg2, arg3 any) *MockConnectionTracerUpdatedMetricsCall

UpdatedMetrics indicates an expected call of UpdatedMetrics.

func (*MockConnectionTracerMockRecorder) UpdatedPTOCount

UpdatedPTOCount indicates an expected call of UpdatedPTOCount.

type MockConnectionTracerNegotiatedVersionCall added in v0.42.0

type MockConnectionTracerNegotiatedVersionCall struct {
	*gomock.Call
}

MockConnectionTracerNegotiatedVersionCall wrap *gomock.Call

func (*MockConnectionTracerNegotiatedVersionCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockConnectionTracerNegotiatedVersionCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConnectionTracerNegotiatedVersionCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockConnectionTracerReceivedLongHeaderPacketCall added in v0.42.0

type MockConnectionTracerReceivedLongHeaderPacketCall struct {
	*gomock.Call
}

MockConnectionTracerReceivedLongHeaderPacketCall wrap *gomock.Call

func (*MockConnectionTracerReceivedLongHeaderPacketCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockConnectionTracerReceivedLongHeaderPacketCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConnectionTracerReceivedLongHeaderPacketCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockConnectionTracerReceivedRetryCall added in v0.42.0

type MockConnectionTracerReceivedRetryCall struct {
	*gomock.Call
}

MockConnectionTracerReceivedRetryCall wrap *gomock.Call

func (*MockConnectionTracerReceivedRetryCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockConnectionTracerReceivedRetryCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConnectionTracerReceivedRetryCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockConnectionTracerReceivedShortHeaderPacketCall added in v0.42.0

type MockConnectionTracerReceivedShortHeaderPacketCall struct {
	*gomock.Call
}

MockConnectionTracerReceivedShortHeaderPacketCall wrap *gomock.Call

func (*MockConnectionTracerReceivedShortHeaderPacketCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockConnectionTracerReceivedShortHeaderPacketCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConnectionTracerReceivedShortHeaderPacketCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockConnectionTracerReceivedTransportParametersCall added in v0.42.0

type MockConnectionTracerReceivedTransportParametersCall struct {
	*gomock.Call
}

MockConnectionTracerReceivedTransportParametersCall wrap *gomock.Call

func (*MockConnectionTracerReceivedTransportParametersCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockConnectionTracerReceivedTransportParametersCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConnectionTracerReceivedTransportParametersCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockConnectionTracerReceivedVersionNegotiationPacketCall added in v0.42.0

type MockConnectionTracerReceivedVersionNegotiationPacketCall struct {
	*gomock.Call
}

MockConnectionTracerReceivedVersionNegotiationPacketCall wrap *gomock.Call

func (*MockConnectionTracerReceivedVersionNegotiationPacketCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockConnectionTracerReceivedVersionNegotiationPacketCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConnectionTracerReceivedVersionNegotiationPacketCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockConnectionTracerRestoredTransportParametersCall added in v0.42.0

type MockConnectionTracerRestoredTransportParametersCall struct {
	*gomock.Call
}

MockConnectionTracerRestoredTransportParametersCall wrap *gomock.Call

func (*MockConnectionTracerRestoredTransportParametersCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockConnectionTracerRestoredTransportParametersCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConnectionTracerRestoredTransportParametersCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockConnectionTracerSentLongHeaderPacketCall added in v0.42.0

type MockConnectionTracerSentLongHeaderPacketCall struct {
	*gomock.Call
}

MockConnectionTracerSentLongHeaderPacketCall wrap *gomock.Call

func (*MockConnectionTracerSentLongHeaderPacketCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockConnectionTracerSentLongHeaderPacketCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConnectionTracerSentLongHeaderPacketCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockConnectionTracerSentShortHeaderPacketCall added in v0.42.0

type MockConnectionTracerSentShortHeaderPacketCall struct {
	*gomock.Call
}

MockConnectionTracerSentShortHeaderPacketCall wrap *gomock.Call

func (*MockConnectionTracerSentShortHeaderPacketCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockConnectionTracerSentShortHeaderPacketCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConnectionTracerSentShortHeaderPacketCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockConnectionTracerSentTransportParametersCall added in v0.42.0

type MockConnectionTracerSentTransportParametersCall struct {
	*gomock.Call
}

MockConnectionTracerSentTransportParametersCall wrap *gomock.Call

func (*MockConnectionTracerSentTransportParametersCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockConnectionTracerSentTransportParametersCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConnectionTracerSentTransportParametersCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockConnectionTracerSetLossTimerCall added in v0.42.0

type MockConnectionTracerSetLossTimerCall struct {
	*gomock.Call
}

MockConnectionTracerSetLossTimerCall wrap *gomock.Call

func (*MockConnectionTracerSetLossTimerCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockConnectionTracerSetLossTimerCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConnectionTracerSetLossTimerCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockConnectionTracerStartedConnectionCall added in v0.42.0

type MockConnectionTracerStartedConnectionCall struct {
	*gomock.Call
}

MockConnectionTracerStartedConnectionCall wrap *gomock.Call

func (*MockConnectionTracerStartedConnectionCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockConnectionTracerStartedConnectionCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConnectionTracerStartedConnectionCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockConnectionTracerUpdatedCongestionStateCall added in v0.42.0

type MockConnectionTracerUpdatedCongestionStateCall struct {
	*gomock.Call
}

MockConnectionTracerUpdatedCongestionStateCall wrap *gomock.Call

func (*MockConnectionTracerUpdatedCongestionStateCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockConnectionTracerUpdatedCongestionStateCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConnectionTracerUpdatedCongestionStateCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockConnectionTracerUpdatedKeyCall added in v0.42.0

type MockConnectionTracerUpdatedKeyCall struct {
	*gomock.Call
}

MockConnectionTracerUpdatedKeyCall wrap *gomock.Call

func (*MockConnectionTracerUpdatedKeyCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockConnectionTracerUpdatedKeyCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConnectionTracerUpdatedKeyCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockConnectionTracerUpdatedKeyFromTLSCall added in v0.42.0

type MockConnectionTracerUpdatedKeyFromTLSCall struct {
	*gomock.Call
}

MockConnectionTracerUpdatedKeyFromTLSCall wrap *gomock.Call

func (*MockConnectionTracerUpdatedKeyFromTLSCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockConnectionTracerUpdatedKeyFromTLSCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConnectionTracerUpdatedKeyFromTLSCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockConnectionTracerUpdatedMetricsCall added in v0.42.0

type MockConnectionTracerUpdatedMetricsCall struct {
	*gomock.Call
}

MockConnectionTracerUpdatedMetricsCall wrap *gomock.Call

func (*MockConnectionTracerUpdatedMetricsCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockConnectionTracerUpdatedMetricsCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConnectionTracerUpdatedMetricsCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockConnectionTracerUpdatedPTOCountCall added in v0.42.0

type MockConnectionTracerUpdatedPTOCountCall struct {
	*gomock.Call
}

MockConnectionTracerUpdatedPTOCountCall wrap *gomock.Call

func (*MockConnectionTracerUpdatedPTOCountCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockConnectionTracerUpdatedPTOCountCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConnectionTracerUpdatedPTOCountCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockTracer

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

MockTracer is a mock of Tracer interface.

func NewMockTracer

func NewMockTracer(ctrl *gomock.Controller) *MockTracer

NewMockTracer creates a new mock instance.

func (*MockTracer) Close added in v0.42.0

func (m *MockTracer) Close()

Close mocks base method.

func (*MockTracer) Debug added in v0.42.0

func (m *MockTracer) Debug(arg0, arg1 string)

Debug mocks base method.

func (*MockTracer) DroppedPacket

func (m *MockTracer) DroppedPacket(arg0 net.Addr, arg1 logging.PacketType, arg2 protocol.ByteCount, arg3 logging.PacketDropReason)

DroppedPacket mocks base method.

func (*MockTracer) EXPECT

func (m *MockTracer) EXPECT() *MockTracerMockRecorder

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

func (*MockTracer) SentPacket

func (m *MockTracer) SentPacket(arg0 net.Addr, arg1 *wire.Header, arg2 protocol.ByteCount, arg3 []logging.Frame)

SentPacket mocks base method.

func (*MockTracer) SentVersionNegotiationPacket

func (m *MockTracer) SentVersionNegotiationPacket(arg0 net.Addr, arg1, arg2 protocol.ArbitraryLenConnectionID, arg3 []protocol.Version)

SentVersionNegotiationPacket mocks base method.

type MockTracerCloseCall added in v0.42.0

type MockTracerCloseCall struct {
	*gomock.Call
}

MockTracerCloseCall wrap *gomock.Call

func (*MockTracerCloseCall) Do added in v0.42.0

func (c *MockTracerCloseCall) Do(f func()) *MockTracerCloseCall

Do rewrite *gomock.Call.Do

func (*MockTracerCloseCall) DoAndReturn added in v0.42.0

func (c *MockTracerCloseCall) DoAndReturn(f func()) *MockTracerCloseCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTracerCloseCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockTracerDebugCall added in v0.42.0

type MockTracerDebugCall struct {
	*gomock.Call
}

MockTracerDebugCall wrap *gomock.Call

func (*MockTracerDebugCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockTracerDebugCall) DoAndReturn added in v0.42.0

func (c *MockTracerDebugCall) DoAndReturn(f func(string, string)) *MockTracerDebugCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTracerDebugCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockTracerDroppedPacketCall added in v0.42.0

type MockTracerDroppedPacketCall struct {
	*gomock.Call
}

MockTracerDroppedPacketCall wrap *gomock.Call

func (*MockTracerDroppedPacketCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockTracerDroppedPacketCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTracerDroppedPacketCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockTracerMockRecorder

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

MockTracerMockRecorder is the mock recorder for MockTracer.

func (*MockTracerMockRecorder) Close added in v0.42.0

Close indicates an expected call of Close.

func (*MockTracerMockRecorder) Debug added in v0.42.0

func (mr *MockTracerMockRecorder) Debug(arg0, arg1 any) *MockTracerDebugCall

Debug indicates an expected call of Debug.

func (*MockTracerMockRecorder) DroppedPacket

func (mr *MockTracerMockRecorder) DroppedPacket(arg0, arg1, arg2, arg3 any) *MockTracerDroppedPacketCall

DroppedPacket indicates an expected call of DroppedPacket.

func (*MockTracerMockRecorder) SentPacket

func (mr *MockTracerMockRecorder) SentPacket(arg0, arg1, arg2, arg3 any) *MockTracerSentPacketCall

SentPacket indicates an expected call of SentPacket.

func (*MockTracerMockRecorder) SentVersionNegotiationPacket

func (mr *MockTracerMockRecorder) SentVersionNegotiationPacket(arg0, arg1, arg2, arg3 any) *MockTracerSentVersionNegotiationPacketCall

SentVersionNegotiationPacket indicates an expected call of SentVersionNegotiationPacket.

type MockTracerSentPacketCall added in v0.42.0

type MockTracerSentPacketCall struct {
	*gomock.Call
}

MockTracerSentPacketCall wrap *gomock.Call

func (*MockTracerSentPacketCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockTracerSentPacketCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTracerSentPacketCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockTracerSentVersionNegotiationPacketCall added in v0.42.0

type MockTracerSentVersionNegotiationPacketCall struct {
	*gomock.Call
}

MockTracerSentVersionNegotiationPacketCall wrap *gomock.Call

func (*MockTracerSentVersionNegotiationPacketCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockTracerSentVersionNegotiationPacketCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockTracerSentVersionNegotiationPacketCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

Jump to

Keyboard shortcuts

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