mocklogging

package
v0.0.0-...-92aea10 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package mocklogging is a generated GoMock package.

Package mocklogging 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) BufferedPacket

func (m *MockConnectionTracer) BufferedPacket(arg0 protocol.PacketType)

BufferedPacket mocks base method.

func (*MockConnectionTracer) Close

func (m *MockConnectionTracer) Close()

Close mocks base method.

func (*MockConnectionTracer) ClosedConnection

func (m *MockConnectionTracer) ClosedConnection(arg0 logging.CloseReason)

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) 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) ReceivedPacket

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

ReceivedPacket mocks base method.

func (*MockConnectionTracer) ReceivedRetry

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

ReceivedRetry 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 *wire.Header, arg1 []protocol.VersionNumber)

ReceivedVersionNegotiationPacket mocks base method.

func (*MockConnectionTracer) RestoredTransportParameters

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

RestoredTransportParameters mocks base method.

func (*MockConnectionTracer) SentPacket

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

SentPacket 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 protocol.VersionNumber, arg3, arg4 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 MockConnectionTracerMockRecorder

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

MockConnectionTracerMockRecorder is the mock recorder for MockConnectionTracer.

func (*MockConnectionTracerMockRecorder) BufferedPacket

func (mr *MockConnectionTracerMockRecorder) BufferedPacket(arg0 interface{}) *gomock.Call

BufferedPacket indicates an expected call of BufferedPacket.

func (*MockConnectionTracerMockRecorder) Close

Close indicates an expected call of Close.

func (*MockConnectionTracerMockRecorder) ClosedConnection

func (mr *MockConnectionTracerMockRecorder) ClosedConnection(arg0 interface{}) *gomock.Call

ClosedConnection indicates an expected call of ClosedConnection.

func (*MockConnectionTracerMockRecorder) Debug

func (mr *MockConnectionTracerMockRecorder) Debug(arg0, arg1 interface{}) *gomock.Call

Debug indicates an expected call of Debug.

func (*MockConnectionTracerMockRecorder) DroppedEncryptionLevel

func (mr *MockConnectionTracerMockRecorder) DroppedEncryptionLevel(arg0 interface{}) *gomock.Call

DroppedEncryptionLevel indicates an expected call of DroppedEncryptionLevel.

func (*MockConnectionTracerMockRecorder) DroppedKey

func (mr *MockConnectionTracerMockRecorder) DroppedKey(arg0 interface{}) *gomock.Call

DroppedKey indicates an expected call of DroppedKey.

func (*MockConnectionTracerMockRecorder) DroppedPacket

func (mr *MockConnectionTracerMockRecorder) DroppedPacket(arg0, arg1, arg2 interface{}) *gomock.Call

DroppedPacket indicates an expected call of DroppedPacket.

func (*MockConnectionTracerMockRecorder) LossTimerCanceled

func (mr *MockConnectionTracerMockRecorder) LossTimerCanceled() *gomock.Call

LossTimerCanceled indicates an expected call of LossTimerCanceled.

func (*MockConnectionTracerMockRecorder) LossTimerExpired

func (mr *MockConnectionTracerMockRecorder) LossTimerExpired(arg0, arg1 interface{}) *gomock.Call

LossTimerExpired indicates an expected call of LossTimerExpired.

func (*MockConnectionTracerMockRecorder) LostPacket

func (mr *MockConnectionTracerMockRecorder) LostPacket(arg0, arg1, arg2 interface{}) *gomock.Call

LostPacket indicates an expected call of LostPacket.

func (*MockConnectionTracerMockRecorder) ReceivedPacket

func (mr *MockConnectionTracerMockRecorder) ReceivedPacket(arg0, arg1, arg2 interface{}) *gomock.Call

ReceivedPacket indicates an expected call of ReceivedPacket.

func (*MockConnectionTracerMockRecorder) ReceivedRetry

func (mr *MockConnectionTracerMockRecorder) ReceivedRetry(arg0 interface{}) *gomock.Call

ReceivedRetry indicates an expected call of ReceivedRetry.

func (*MockConnectionTracerMockRecorder) ReceivedTransportParameters

func (mr *MockConnectionTracerMockRecorder) ReceivedTransportParameters(arg0 interface{}) *gomock.Call

ReceivedTransportParameters indicates an expected call of ReceivedTransportParameters.

func (*MockConnectionTracerMockRecorder) ReceivedVersionNegotiationPacket

func (mr *MockConnectionTracerMockRecorder) ReceivedVersionNegotiationPacket(arg0, arg1 interface{}) *gomock.Call

ReceivedVersionNegotiationPacket indicates an expected call of ReceivedVersionNegotiationPacket.

func (*MockConnectionTracerMockRecorder) RestoredTransportParameters

func (mr *MockConnectionTracerMockRecorder) RestoredTransportParameters(arg0 interface{}) *gomock.Call

RestoredTransportParameters indicates an expected call of RestoredTransportParameters.

func (*MockConnectionTracerMockRecorder) SentPacket

func (mr *MockConnectionTracerMockRecorder) SentPacket(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

SentPacket indicates an expected call of SentPacket.

func (*MockConnectionTracerMockRecorder) SentTransportParameters

func (mr *MockConnectionTracerMockRecorder) SentTransportParameters(arg0 interface{}) *gomock.Call

SentTransportParameters indicates an expected call of SentTransportParameters.

func (*MockConnectionTracerMockRecorder) SetLossTimer

func (mr *MockConnectionTracerMockRecorder) SetLossTimer(arg0, arg1, arg2 interface{}) *gomock.Call

SetLossTimer indicates an expected call of SetLossTimer.

func (*MockConnectionTracerMockRecorder) StartedConnection

func (mr *MockConnectionTracerMockRecorder) StartedConnection(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

StartedConnection indicates an expected call of StartedConnection.

func (*MockConnectionTracerMockRecorder) UpdatedCongestionState

func (mr *MockConnectionTracerMockRecorder) UpdatedCongestionState(arg0 interface{}) *gomock.Call

UpdatedCongestionState indicates an expected call of UpdatedCongestionState.

func (*MockConnectionTracerMockRecorder) UpdatedKey

func (mr *MockConnectionTracerMockRecorder) UpdatedKey(arg0, arg1 interface{}) *gomock.Call

UpdatedKey indicates an expected call of UpdatedKey.

func (*MockConnectionTracerMockRecorder) UpdatedKeyFromTLS

func (mr *MockConnectionTracerMockRecorder) UpdatedKeyFromTLS(arg0, arg1 interface{}) *gomock.Call

UpdatedKeyFromTLS indicates an expected call of UpdatedKeyFromTLS.

func (*MockConnectionTracerMockRecorder) UpdatedMetrics

func (mr *MockConnectionTracerMockRecorder) UpdatedMetrics(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

UpdatedMetrics indicates an expected call of UpdatedMetrics.

func (*MockConnectionTracerMockRecorder) UpdatedPTOCount

func (mr *MockConnectionTracerMockRecorder) UpdatedPTOCount(arg0 interface{}) *gomock.Call

UpdatedPTOCount indicates an expected call of UpdatedPTOCount.

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) DroppedPacket

func (m *MockTracer) DroppedPacket(arg0 net.Addr, arg1 protocol.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) TracerForConnection

func (m *MockTracer) TracerForConnection(arg0 protocol.Perspective, arg1 protocol.ConnectionID) logging.ConnectionTracer

TracerForConnection mocks base method.

type MockTracerMockRecorder

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

MockTracerMockRecorder is the mock recorder for MockTracer.

func (*MockTracerMockRecorder) DroppedPacket

func (mr *MockTracerMockRecorder) DroppedPacket(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

DroppedPacket indicates an expected call of DroppedPacket.

func (*MockTracerMockRecorder) SentPacket

func (mr *MockTracerMockRecorder) SentPacket(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

SentPacket indicates an expected call of SentPacket.

func (*MockTracerMockRecorder) TracerForConnection

func (mr *MockTracerMockRecorder) TracerForConnection(arg0, arg1 interface{}) *gomock.Call

TracerForConnection indicates an expected call of TracerForConnection.

Jump to

Keyboard shortcuts

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