mocks

package
v0.45.1 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockConnectionFlowController

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

MockConnectionFlowController is a mock of ConnectionFlowController interface.

func NewMockConnectionFlowController

func NewMockConnectionFlowController(ctrl *gomock.Controller) *MockConnectionFlowController

NewMockConnectionFlowController creates a new mock instance.

func (*MockConnectionFlowController) AddBytesRead

func (m *MockConnectionFlowController) AddBytesRead(arg0 protocol.ByteCount)

AddBytesRead mocks base method.

func (*MockConnectionFlowController) AddBytesSent

func (m *MockConnectionFlowController) AddBytesSent(arg0 protocol.ByteCount)

AddBytesSent mocks base method.

func (*MockConnectionFlowController) EXPECT

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

func (*MockConnectionFlowController) GetWindowUpdate

func (m *MockConnectionFlowController) GetWindowUpdate() protocol.ByteCount

GetWindowUpdate mocks base method.

func (*MockConnectionFlowController) IsNewlyBlocked added in v0.7.0

func (m *MockConnectionFlowController) IsNewlyBlocked() (bool, protocol.ByteCount)

IsNewlyBlocked mocks base method.

func (*MockConnectionFlowController) Reset added in v0.32.0

Reset mocks base method.

func (*MockConnectionFlowController) SendWindowSize

func (m *MockConnectionFlowController) SendWindowSize() protocol.ByteCount

SendWindowSize mocks base method.

func (*MockConnectionFlowController) UpdateSendWindow

func (m *MockConnectionFlowController) UpdateSendWindow(arg0 protocol.ByteCount) bool

UpdateSendWindow mocks base method.

type MockConnectionFlowControllerAddBytesReadCall added in v0.42.0

type MockConnectionFlowControllerAddBytesReadCall struct {
	*gomock.Call
}

MockConnectionFlowControllerAddBytesReadCall wrap *gomock.Call

func (*MockConnectionFlowControllerAddBytesReadCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockConnectionFlowControllerAddBytesReadCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConnectionFlowControllerAddBytesReadCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockConnectionFlowControllerAddBytesSentCall added in v0.42.0

type MockConnectionFlowControllerAddBytesSentCall struct {
	*gomock.Call
}

MockConnectionFlowControllerAddBytesSentCall wrap *gomock.Call

func (*MockConnectionFlowControllerAddBytesSentCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockConnectionFlowControllerAddBytesSentCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConnectionFlowControllerAddBytesSentCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockConnectionFlowControllerGetWindowUpdateCall added in v0.42.0

type MockConnectionFlowControllerGetWindowUpdateCall struct {
	*gomock.Call
}

MockConnectionFlowControllerGetWindowUpdateCall wrap *gomock.Call

func (*MockConnectionFlowControllerGetWindowUpdateCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockConnectionFlowControllerGetWindowUpdateCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConnectionFlowControllerGetWindowUpdateCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockConnectionFlowControllerIsNewlyBlockedCall added in v0.42.0

type MockConnectionFlowControllerIsNewlyBlockedCall struct {
	*gomock.Call
}

MockConnectionFlowControllerIsNewlyBlockedCall wrap *gomock.Call

func (*MockConnectionFlowControllerIsNewlyBlockedCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockConnectionFlowControllerIsNewlyBlockedCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConnectionFlowControllerIsNewlyBlockedCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockConnectionFlowControllerMockRecorder

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

MockConnectionFlowControllerMockRecorder is the mock recorder for MockConnectionFlowController.

func (*MockConnectionFlowControllerMockRecorder) AddBytesRead

AddBytesRead indicates an expected call of AddBytesRead.

func (*MockConnectionFlowControllerMockRecorder) AddBytesSent

AddBytesSent indicates an expected call of AddBytesSent.

func (*MockConnectionFlowControllerMockRecorder) GetWindowUpdate

GetWindowUpdate indicates an expected call of GetWindowUpdate.

func (*MockConnectionFlowControllerMockRecorder) IsNewlyBlocked added in v0.7.0

IsNewlyBlocked indicates an expected call of IsNewlyBlocked.

func (*MockConnectionFlowControllerMockRecorder) Reset added in v0.32.0

Reset indicates an expected call of Reset.

func (*MockConnectionFlowControllerMockRecorder) SendWindowSize

SendWindowSize indicates an expected call of SendWindowSize.

func (*MockConnectionFlowControllerMockRecorder) UpdateSendWindow

UpdateSendWindow indicates an expected call of UpdateSendWindow.

type MockConnectionFlowControllerResetCall added in v0.42.0

type MockConnectionFlowControllerResetCall struct {
	*gomock.Call
}

MockConnectionFlowControllerResetCall wrap *gomock.Call

func (*MockConnectionFlowControllerResetCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockConnectionFlowControllerResetCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConnectionFlowControllerResetCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockConnectionFlowControllerSendWindowSizeCall added in v0.42.0

type MockConnectionFlowControllerSendWindowSizeCall struct {
	*gomock.Call
}

MockConnectionFlowControllerSendWindowSizeCall wrap *gomock.Call

func (*MockConnectionFlowControllerSendWindowSizeCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockConnectionFlowControllerSendWindowSizeCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConnectionFlowControllerSendWindowSizeCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockConnectionFlowControllerUpdateSendWindowCall added in v0.42.0

type MockConnectionFlowControllerUpdateSendWindowCall struct {
	*gomock.Call
}

MockConnectionFlowControllerUpdateSendWindowCall wrap *gomock.Call

func (*MockConnectionFlowControllerUpdateSendWindowCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockConnectionFlowControllerUpdateSendWindowCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockConnectionFlowControllerUpdateSendWindowCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockCryptoSetup added in v0.32.0

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

MockCryptoSetup is a mock of CryptoSetup interface.

func NewMockCryptoSetup added in v0.32.0

func NewMockCryptoSetup(ctrl *gomock.Controller) *MockCryptoSetup

NewMockCryptoSetup creates a new mock instance.

func (*MockCryptoSetup) ChangeConnectionID added in v0.32.0

func (m *MockCryptoSetup) ChangeConnectionID(arg0 protocol.ConnectionID)

ChangeConnectionID mocks base method.

func (*MockCryptoSetup) Close added in v0.32.0

func (m *MockCryptoSetup) Close() error

Close mocks base method.

func (*MockCryptoSetup) ConnectionState added in v0.32.0

func (m *MockCryptoSetup) ConnectionState() handshake.ConnectionState

ConnectionState mocks base method.

func (*MockCryptoSetup) DiscardInitialKeys added in v0.37.0

func (m *MockCryptoSetup) DiscardInitialKeys()

DiscardInitialKeys mocks base method.

func (*MockCryptoSetup) EXPECT added in v0.32.0

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

func (*MockCryptoSetup) Get0RTTOpener added in v0.32.0

func (m *MockCryptoSetup) Get0RTTOpener() (handshake.LongHeaderOpener, error)

Get0RTTOpener mocks base method.

func (*MockCryptoSetup) Get0RTTSealer added in v0.32.0

func (m *MockCryptoSetup) Get0RTTSealer() (handshake.LongHeaderSealer, error)

Get0RTTSealer mocks base method.

func (*MockCryptoSetup) Get1RTTOpener added in v0.32.0

func (m *MockCryptoSetup) Get1RTTOpener() (handshake.ShortHeaderOpener, error)

Get1RTTOpener mocks base method.

func (*MockCryptoSetup) Get1RTTSealer added in v0.32.0

func (m *MockCryptoSetup) Get1RTTSealer() (handshake.ShortHeaderSealer, error)

Get1RTTSealer mocks base method.

func (*MockCryptoSetup) GetHandshakeOpener added in v0.32.0

func (m *MockCryptoSetup) GetHandshakeOpener() (handshake.LongHeaderOpener, error)

GetHandshakeOpener mocks base method.

func (*MockCryptoSetup) GetHandshakeSealer added in v0.32.0

func (m *MockCryptoSetup) GetHandshakeSealer() (handshake.LongHeaderSealer, error)

GetHandshakeSealer mocks base method.

func (*MockCryptoSetup) GetInitialOpener added in v0.32.0

func (m *MockCryptoSetup) GetInitialOpener() (handshake.LongHeaderOpener, error)

GetInitialOpener mocks base method.

func (*MockCryptoSetup) GetInitialSealer added in v0.32.0

func (m *MockCryptoSetup) GetInitialSealer() (handshake.LongHeaderSealer, error)

GetInitialSealer mocks base method.

func (*MockCryptoSetup) GetSessionTicket added in v0.32.0

func (m *MockCryptoSetup) GetSessionTicket() ([]byte, error)

GetSessionTicket mocks base method.

func (*MockCryptoSetup) HandleMessage added in v0.32.0

func (m *MockCryptoSetup) HandleMessage(arg0 []byte, arg1 protocol.EncryptionLevel) error

HandleMessage mocks base method.

func (*MockCryptoSetup) NextEvent added in v0.37.0

func (m *MockCryptoSetup) NextEvent() handshake.Event

NextEvent mocks base method.

func (*MockCryptoSetup) SetHandshakeConfirmed added in v0.32.0

func (m *MockCryptoSetup) SetHandshakeConfirmed()

SetHandshakeConfirmed mocks base method.

func (*MockCryptoSetup) SetLargest1RTTAcked added in v0.32.0

func (m *MockCryptoSetup) SetLargest1RTTAcked(arg0 protocol.PacketNumber) error

SetLargest1RTTAcked mocks base method.

func (*MockCryptoSetup) StartHandshake added in v0.37.0

func (m *MockCryptoSetup) StartHandshake(arg0 context.Context) error

StartHandshake mocks base method.

type MockCryptoSetupChangeConnectionIDCall added in v0.42.0

type MockCryptoSetupChangeConnectionIDCall struct {
	*gomock.Call
}

MockCryptoSetupChangeConnectionIDCall wrap *gomock.Call

func (*MockCryptoSetupChangeConnectionIDCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockCryptoSetupChangeConnectionIDCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockCryptoSetupChangeConnectionIDCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockCryptoSetupCloseCall added in v0.42.0

type MockCryptoSetupCloseCall struct {
	*gomock.Call
}

MockCryptoSetupCloseCall wrap *gomock.Call

func (*MockCryptoSetupCloseCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockCryptoSetupCloseCall) DoAndReturn added in v0.42.0

func (c *MockCryptoSetupCloseCall) DoAndReturn(f func() error) *MockCryptoSetupCloseCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockCryptoSetupCloseCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockCryptoSetupConnectionStateCall added in v0.42.0

type MockCryptoSetupConnectionStateCall struct {
	*gomock.Call
}

MockCryptoSetupConnectionStateCall wrap *gomock.Call

func (*MockCryptoSetupConnectionStateCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockCryptoSetupConnectionStateCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockCryptoSetupConnectionStateCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockCryptoSetupDiscardInitialKeysCall added in v0.42.0

type MockCryptoSetupDiscardInitialKeysCall struct {
	*gomock.Call
}

MockCryptoSetupDiscardInitialKeysCall wrap *gomock.Call

func (*MockCryptoSetupDiscardInitialKeysCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockCryptoSetupDiscardInitialKeysCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockCryptoSetupDiscardInitialKeysCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockCryptoSetupGet0RTTOpenerCall added in v0.42.0

type MockCryptoSetupGet0RTTOpenerCall struct {
	*gomock.Call
}

MockCryptoSetupGet0RTTOpenerCall wrap *gomock.Call

func (*MockCryptoSetupGet0RTTOpenerCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockCryptoSetupGet0RTTOpenerCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockCryptoSetupGet0RTTOpenerCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockCryptoSetupGet0RTTSealerCall added in v0.42.0

type MockCryptoSetupGet0RTTSealerCall struct {
	*gomock.Call
}

MockCryptoSetupGet0RTTSealerCall wrap *gomock.Call

func (*MockCryptoSetupGet0RTTSealerCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockCryptoSetupGet0RTTSealerCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockCryptoSetupGet0RTTSealerCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockCryptoSetupGet1RTTOpenerCall added in v0.42.0

type MockCryptoSetupGet1RTTOpenerCall struct {
	*gomock.Call
}

MockCryptoSetupGet1RTTOpenerCall wrap *gomock.Call

func (*MockCryptoSetupGet1RTTOpenerCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockCryptoSetupGet1RTTOpenerCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockCryptoSetupGet1RTTOpenerCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockCryptoSetupGet1RTTSealerCall added in v0.42.0

type MockCryptoSetupGet1RTTSealerCall struct {
	*gomock.Call
}

MockCryptoSetupGet1RTTSealerCall wrap *gomock.Call

func (*MockCryptoSetupGet1RTTSealerCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockCryptoSetupGet1RTTSealerCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockCryptoSetupGet1RTTSealerCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockCryptoSetupGetHandshakeOpenerCall added in v0.42.0

type MockCryptoSetupGetHandshakeOpenerCall struct {
	*gomock.Call
}

MockCryptoSetupGetHandshakeOpenerCall wrap *gomock.Call

func (*MockCryptoSetupGetHandshakeOpenerCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockCryptoSetupGetHandshakeOpenerCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockCryptoSetupGetHandshakeOpenerCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockCryptoSetupGetHandshakeSealerCall added in v0.42.0

type MockCryptoSetupGetHandshakeSealerCall struct {
	*gomock.Call
}

MockCryptoSetupGetHandshakeSealerCall wrap *gomock.Call

func (*MockCryptoSetupGetHandshakeSealerCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockCryptoSetupGetHandshakeSealerCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockCryptoSetupGetHandshakeSealerCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockCryptoSetupGetInitialOpenerCall added in v0.42.0

type MockCryptoSetupGetInitialOpenerCall struct {
	*gomock.Call
}

MockCryptoSetupGetInitialOpenerCall wrap *gomock.Call

func (*MockCryptoSetupGetInitialOpenerCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockCryptoSetupGetInitialOpenerCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockCryptoSetupGetInitialOpenerCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockCryptoSetupGetInitialSealerCall added in v0.42.0

type MockCryptoSetupGetInitialSealerCall struct {
	*gomock.Call
}

MockCryptoSetupGetInitialSealerCall wrap *gomock.Call

func (*MockCryptoSetupGetInitialSealerCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockCryptoSetupGetInitialSealerCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockCryptoSetupGetInitialSealerCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockCryptoSetupGetSessionTicketCall added in v0.42.0

type MockCryptoSetupGetSessionTicketCall struct {
	*gomock.Call
}

MockCryptoSetupGetSessionTicketCall wrap *gomock.Call

func (*MockCryptoSetupGetSessionTicketCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockCryptoSetupGetSessionTicketCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockCryptoSetupGetSessionTicketCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockCryptoSetupHandleMessageCall added in v0.42.0

type MockCryptoSetupHandleMessageCall struct {
	*gomock.Call
}

MockCryptoSetupHandleMessageCall wrap *gomock.Call

func (*MockCryptoSetupHandleMessageCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockCryptoSetupHandleMessageCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockCryptoSetupHandleMessageCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockCryptoSetupMockRecorder added in v0.32.0

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

MockCryptoSetupMockRecorder is the mock recorder for MockCryptoSetup.

func (*MockCryptoSetupMockRecorder) ChangeConnectionID added in v0.32.0

ChangeConnectionID indicates an expected call of ChangeConnectionID.

func (*MockCryptoSetupMockRecorder) Close added in v0.32.0

Close indicates an expected call of Close.

func (*MockCryptoSetupMockRecorder) ConnectionState added in v0.32.0

ConnectionState indicates an expected call of ConnectionState.

func (*MockCryptoSetupMockRecorder) DiscardInitialKeys added in v0.37.0

DiscardInitialKeys indicates an expected call of DiscardInitialKeys.

func (*MockCryptoSetupMockRecorder) Get0RTTOpener added in v0.32.0

Get0RTTOpener indicates an expected call of Get0RTTOpener.

func (*MockCryptoSetupMockRecorder) Get0RTTSealer added in v0.32.0

Get0RTTSealer indicates an expected call of Get0RTTSealer.

func (*MockCryptoSetupMockRecorder) Get1RTTOpener added in v0.32.0

Get1RTTOpener indicates an expected call of Get1RTTOpener.

func (*MockCryptoSetupMockRecorder) Get1RTTSealer added in v0.32.0

Get1RTTSealer indicates an expected call of Get1RTTSealer.

func (*MockCryptoSetupMockRecorder) GetHandshakeOpener added in v0.32.0

GetHandshakeOpener indicates an expected call of GetHandshakeOpener.

func (*MockCryptoSetupMockRecorder) GetHandshakeSealer added in v0.32.0

GetHandshakeSealer indicates an expected call of GetHandshakeSealer.

func (*MockCryptoSetupMockRecorder) GetInitialOpener added in v0.32.0

GetInitialOpener indicates an expected call of GetInitialOpener.

func (*MockCryptoSetupMockRecorder) GetInitialSealer added in v0.32.0

GetInitialSealer indicates an expected call of GetInitialSealer.

func (*MockCryptoSetupMockRecorder) GetSessionTicket added in v0.32.0

GetSessionTicket indicates an expected call of GetSessionTicket.

func (*MockCryptoSetupMockRecorder) HandleMessage added in v0.32.0

func (mr *MockCryptoSetupMockRecorder) HandleMessage(arg0, arg1 any) *MockCryptoSetupHandleMessageCall

HandleMessage indicates an expected call of HandleMessage.

func (*MockCryptoSetupMockRecorder) NextEvent added in v0.37.0

NextEvent indicates an expected call of NextEvent.

func (*MockCryptoSetupMockRecorder) SetHandshakeConfirmed added in v0.32.0

SetHandshakeConfirmed indicates an expected call of SetHandshakeConfirmed.

func (*MockCryptoSetupMockRecorder) SetLargest1RTTAcked added in v0.32.0

SetLargest1RTTAcked indicates an expected call of SetLargest1RTTAcked.

func (*MockCryptoSetupMockRecorder) StartHandshake added in v0.37.0

StartHandshake indicates an expected call of StartHandshake.

type MockCryptoSetupNextEventCall added in v0.42.0

type MockCryptoSetupNextEventCall struct {
	*gomock.Call
}

MockCryptoSetupNextEventCall wrap *gomock.Call

func (*MockCryptoSetupNextEventCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockCryptoSetupNextEventCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockCryptoSetupNextEventCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockCryptoSetupSetHandshakeConfirmedCall added in v0.42.0

type MockCryptoSetupSetHandshakeConfirmedCall struct {
	*gomock.Call
}

MockCryptoSetupSetHandshakeConfirmedCall wrap *gomock.Call

func (*MockCryptoSetupSetHandshakeConfirmedCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockCryptoSetupSetHandshakeConfirmedCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockCryptoSetupSetHandshakeConfirmedCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockCryptoSetupSetLargest1RTTAckedCall added in v0.42.0

type MockCryptoSetupSetLargest1RTTAckedCall struct {
	*gomock.Call
}

MockCryptoSetupSetLargest1RTTAckedCall wrap *gomock.Call

func (*MockCryptoSetupSetLargest1RTTAckedCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockCryptoSetupSetLargest1RTTAckedCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockCryptoSetupSetLargest1RTTAckedCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockCryptoSetupStartHandshakeCall added in v0.42.0

type MockCryptoSetupStartHandshakeCall struct {
	*gomock.Call
}

MockCryptoSetupStartHandshakeCall wrap *gomock.Call

func (*MockCryptoSetupStartHandshakeCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockCryptoSetupStartHandshakeCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockCryptoSetupStartHandshakeCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockLongHeaderOpener added in v0.32.0

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

MockLongHeaderOpener is a mock of LongHeaderOpener interface.

func NewMockLongHeaderOpener added in v0.32.0

func NewMockLongHeaderOpener(ctrl *gomock.Controller) *MockLongHeaderOpener

NewMockLongHeaderOpener creates a new mock instance.

func (*MockLongHeaderOpener) DecodePacketNumber added in v0.32.0

DecodePacketNumber mocks base method.

func (*MockLongHeaderOpener) DecryptHeader added in v0.32.0

func (m *MockLongHeaderOpener) DecryptHeader(arg0 []byte, arg1 *byte, arg2 []byte)

DecryptHeader mocks base method.

func (*MockLongHeaderOpener) EXPECT added in v0.32.0

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

func (*MockLongHeaderOpener) Open added in v0.32.0

func (m *MockLongHeaderOpener) Open(arg0, arg1 []byte, arg2 protocol.PacketNumber, arg3 []byte) ([]byte, error)

Open mocks base method.

type MockLongHeaderOpenerDecodePacketNumberCall added in v0.42.0

type MockLongHeaderOpenerDecodePacketNumberCall struct {
	*gomock.Call
}

MockLongHeaderOpenerDecodePacketNumberCall wrap *gomock.Call

func (*MockLongHeaderOpenerDecodePacketNumberCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockLongHeaderOpenerDecodePacketNumberCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLongHeaderOpenerDecodePacketNumberCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockLongHeaderOpenerDecryptHeaderCall added in v0.42.0

type MockLongHeaderOpenerDecryptHeaderCall struct {
	*gomock.Call
}

MockLongHeaderOpenerDecryptHeaderCall wrap *gomock.Call

func (*MockLongHeaderOpenerDecryptHeaderCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockLongHeaderOpenerDecryptHeaderCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLongHeaderOpenerDecryptHeaderCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockLongHeaderOpenerMockRecorder added in v0.32.0

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

MockLongHeaderOpenerMockRecorder is the mock recorder for MockLongHeaderOpener.

func (*MockLongHeaderOpenerMockRecorder) DecodePacketNumber added in v0.32.0

DecodePacketNumber indicates an expected call of DecodePacketNumber.

func (*MockLongHeaderOpenerMockRecorder) DecryptHeader added in v0.32.0

func (mr *MockLongHeaderOpenerMockRecorder) DecryptHeader(arg0, arg1, arg2 any) *MockLongHeaderOpenerDecryptHeaderCall

DecryptHeader indicates an expected call of DecryptHeader.

func (*MockLongHeaderOpenerMockRecorder) Open added in v0.32.0

func (mr *MockLongHeaderOpenerMockRecorder) Open(arg0, arg1, arg2, arg3 any) *MockLongHeaderOpenerOpenCall

Open indicates an expected call of Open.

type MockLongHeaderOpenerOpenCall added in v0.42.0

type MockLongHeaderOpenerOpenCall struct {
	*gomock.Call
}

MockLongHeaderOpenerOpenCall wrap *gomock.Call

func (*MockLongHeaderOpenerOpenCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockLongHeaderOpenerOpenCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockLongHeaderOpenerOpenCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockSendAlgorithmWithDebugInfos added in v0.32.0

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

MockSendAlgorithmWithDebugInfos is a mock of SendAlgorithmWithDebugInfos interface.

func NewMockSendAlgorithmWithDebugInfos added in v0.32.0

func NewMockSendAlgorithmWithDebugInfos(ctrl *gomock.Controller) *MockSendAlgorithmWithDebugInfos

NewMockSendAlgorithmWithDebugInfos creates a new mock instance.

func (*MockSendAlgorithmWithDebugInfos) CanSend added in v0.32.0

CanSend mocks base method.

func (*MockSendAlgorithmWithDebugInfos) EXPECT added in v0.32.0

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

func (*MockSendAlgorithmWithDebugInfos) GetCongestionWindow added in v0.32.0

func (m *MockSendAlgorithmWithDebugInfos) GetCongestionWindow() protocol.ByteCount

GetCongestionWindow mocks base method.

func (*MockSendAlgorithmWithDebugInfos) HasPacingBudget added in v0.32.0

func (m *MockSendAlgorithmWithDebugInfos) HasPacingBudget(arg0 time.Time) bool

HasPacingBudget mocks base method.

func (*MockSendAlgorithmWithDebugInfos) InRecovery added in v0.32.0

func (m *MockSendAlgorithmWithDebugInfos) InRecovery() bool

InRecovery mocks base method.

func (*MockSendAlgorithmWithDebugInfos) InSlowStart added in v0.32.0

func (m *MockSendAlgorithmWithDebugInfos) InSlowStart() bool

InSlowStart mocks base method.

func (*MockSendAlgorithmWithDebugInfos) MaybeExitSlowStart added in v0.32.0

func (m *MockSendAlgorithmWithDebugInfos) MaybeExitSlowStart()

MaybeExitSlowStart mocks base method.

func (*MockSendAlgorithmWithDebugInfos) OnCongestionEvent added in v0.39.0

func (m *MockSendAlgorithmWithDebugInfos) OnCongestionEvent(arg0 protocol.PacketNumber, arg1, arg2 protocol.ByteCount)

OnCongestionEvent mocks base method.

func (*MockSendAlgorithmWithDebugInfos) OnPacketAcked added in v0.32.0

func (m *MockSendAlgorithmWithDebugInfos) OnPacketAcked(arg0 protocol.PacketNumber, arg1, arg2 protocol.ByteCount, arg3 time.Time)

OnPacketAcked mocks base method.

func (*MockSendAlgorithmWithDebugInfos) OnPacketSent added in v0.32.0

OnPacketSent mocks base method.

func (*MockSendAlgorithmWithDebugInfos) OnRetransmissionTimeout added in v0.32.0

func (m *MockSendAlgorithmWithDebugInfos) OnRetransmissionTimeout(arg0 bool)

OnRetransmissionTimeout mocks base method.

func (*MockSendAlgorithmWithDebugInfos) SetMaxDatagramSize added in v0.32.0

func (m *MockSendAlgorithmWithDebugInfos) SetMaxDatagramSize(arg0 protocol.ByteCount)

SetMaxDatagramSize mocks base method.

func (*MockSendAlgorithmWithDebugInfos) TimeUntilSend added in v0.32.0

TimeUntilSend mocks base method.

type MockSendAlgorithmWithDebugInfosCanSendCall added in v0.42.0

type MockSendAlgorithmWithDebugInfosCanSendCall struct {
	*gomock.Call
}

MockSendAlgorithmWithDebugInfosCanSendCall wrap *gomock.Call

func (*MockSendAlgorithmWithDebugInfosCanSendCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockSendAlgorithmWithDebugInfosCanSendCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockSendAlgorithmWithDebugInfosCanSendCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockSendAlgorithmWithDebugInfosGetCongestionWindowCall added in v0.42.0

type MockSendAlgorithmWithDebugInfosGetCongestionWindowCall struct {
	*gomock.Call
}

MockSendAlgorithmWithDebugInfosGetCongestionWindowCall wrap *gomock.Call

func (*MockSendAlgorithmWithDebugInfosGetCongestionWindowCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockSendAlgorithmWithDebugInfosGetCongestionWindowCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockSendAlgorithmWithDebugInfosGetCongestionWindowCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockSendAlgorithmWithDebugInfosHasPacingBudgetCall added in v0.42.0

type MockSendAlgorithmWithDebugInfosHasPacingBudgetCall struct {
	*gomock.Call
}

MockSendAlgorithmWithDebugInfosHasPacingBudgetCall wrap *gomock.Call

func (*MockSendAlgorithmWithDebugInfosHasPacingBudgetCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockSendAlgorithmWithDebugInfosHasPacingBudgetCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockSendAlgorithmWithDebugInfosHasPacingBudgetCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockSendAlgorithmWithDebugInfosInRecoveryCall added in v0.42.0

type MockSendAlgorithmWithDebugInfosInRecoveryCall struct {
	*gomock.Call
}

MockSendAlgorithmWithDebugInfosInRecoveryCall wrap *gomock.Call

func (*MockSendAlgorithmWithDebugInfosInRecoveryCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockSendAlgorithmWithDebugInfosInRecoveryCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockSendAlgorithmWithDebugInfosInRecoveryCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockSendAlgorithmWithDebugInfosInSlowStartCall added in v0.42.0

type MockSendAlgorithmWithDebugInfosInSlowStartCall struct {
	*gomock.Call
}

MockSendAlgorithmWithDebugInfosInSlowStartCall wrap *gomock.Call

func (*MockSendAlgorithmWithDebugInfosInSlowStartCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockSendAlgorithmWithDebugInfosInSlowStartCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockSendAlgorithmWithDebugInfosInSlowStartCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockSendAlgorithmWithDebugInfosMaybeExitSlowStartCall added in v0.42.0

type MockSendAlgorithmWithDebugInfosMaybeExitSlowStartCall struct {
	*gomock.Call
}

MockSendAlgorithmWithDebugInfosMaybeExitSlowStartCall wrap *gomock.Call

func (*MockSendAlgorithmWithDebugInfosMaybeExitSlowStartCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockSendAlgorithmWithDebugInfosMaybeExitSlowStartCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockSendAlgorithmWithDebugInfosMaybeExitSlowStartCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockSendAlgorithmWithDebugInfosMockRecorder added in v0.32.0

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

MockSendAlgorithmWithDebugInfosMockRecorder is the mock recorder for MockSendAlgorithmWithDebugInfos.

func (*MockSendAlgorithmWithDebugInfosMockRecorder) CanSend added in v0.32.0

CanSend indicates an expected call of CanSend.

func (*MockSendAlgorithmWithDebugInfosMockRecorder) GetCongestionWindow added in v0.32.0

GetCongestionWindow indicates an expected call of GetCongestionWindow.

func (*MockSendAlgorithmWithDebugInfosMockRecorder) HasPacingBudget added in v0.32.0

HasPacingBudget indicates an expected call of HasPacingBudget.

func (*MockSendAlgorithmWithDebugInfosMockRecorder) InRecovery added in v0.32.0

InRecovery indicates an expected call of InRecovery.

func (*MockSendAlgorithmWithDebugInfosMockRecorder) InSlowStart added in v0.32.0

InSlowStart indicates an expected call of InSlowStart.

func (*MockSendAlgorithmWithDebugInfosMockRecorder) MaybeExitSlowStart added in v0.32.0

MaybeExitSlowStart indicates an expected call of MaybeExitSlowStart.

func (*MockSendAlgorithmWithDebugInfosMockRecorder) OnCongestionEvent added in v0.39.0

OnCongestionEvent indicates an expected call of OnCongestionEvent.

func (*MockSendAlgorithmWithDebugInfosMockRecorder) OnPacketAcked added in v0.32.0

OnPacketAcked indicates an expected call of OnPacketAcked.

func (*MockSendAlgorithmWithDebugInfosMockRecorder) OnPacketSent added in v0.32.0

OnPacketSent indicates an expected call of OnPacketSent.

func (*MockSendAlgorithmWithDebugInfosMockRecorder) OnRetransmissionTimeout added in v0.32.0

OnRetransmissionTimeout indicates an expected call of OnRetransmissionTimeout.

func (*MockSendAlgorithmWithDebugInfosMockRecorder) SetMaxDatagramSize added in v0.32.0

SetMaxDatagramSize indicates an expected call of SetMaxDatagramSize.

func (*MockSendAlgorithmWithDebugInfosMockRecorder) TimeUntilSend added in v0.32.0

TimeUntilSend indicates an expected call of TimeUntilSend.

type MockSendAlgorithmWithDebugInfosOnCongestionEventCall added in v0.42.0

type MockSendAlgorithmWithDebugInfosOnCongestionEventCall struct {
	*gomock.Call
}

MockSendAlgorithmWithDebugInfosOnCongestionEventCall wrap *gomock.Call

func (*MockSendAlgorithmWithDebugInfosOnCongestionEventCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockSendAlgorithmWithDebugInfosOnCongestionEventCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockSendAlgorithmWithDebugInfosOnCongestionEventCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockSendAlgorithmWithDebugInfosOnPacketAckedCall added in v0.42.0

type MockSendAlgorithmWithDebugInfosOnPacketAckedCall struct {
	*gomock.Call
}

MockSendAlgorithmWithDebugInfosOnPacketAckedCall wrap *gomock.Call

func (*MockSendAlgorithmWithDebugInfosOnPacketAckedCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockSendAlgorithmWithDebugInfosOnPacketAckedCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockSendAlgorithmWithDebugInfosOnPacketAckedCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockSendAlgorithmWithDebugInfosOnPacketSentCall added in v0.42.0

type MockSendAlgorithmWithDebugInfosOnPacketSentCall struct {
	*gomock.Call
}

MockSendAlgorithmWithDebugInfosOnPacketSentCall wrap *gomock.Call

func (*MockSendAlgorithmWithDebugInfosOnPacketSentCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockSendAlgorithmWithDebugInfosOnPacketSentCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockSendAlgorithmWithDebugInfosOnPacketSentCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockSendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall added in v0.42.0

type MockSendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall struct {
	*gomock.Call
}

MockSendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall wrap *gomock.Call

func (*MockSendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockSendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockSendAlgorithmWithDebugInfosOnRetransmissionTimeoutCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockSendAlgorithmWithDebugInfosSetMaxDatagramSizeCall added in v0.42.0

type MockSendAlgorithmWithDebugInfosSetMaxDatagramSizeCall struct {
	*gomock.Call
}

MockSendAlgorithmWithDebugInfosSetMaxDatagramSizeCall wrap *gomock.Call

func (*MockSendAlgorithmWithDebugInfosSetMaxDatagramSizeCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockSendAlgorithmWithDebugInfosSetMaxDatagramSizeCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockSendAlgorithmWithDebugInfosSetMaxDatagramSizeCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockSendAlgorithmWithDebugInfosTimeUntilSendCall added in v0.42.0

type MockSendAlgorithmWithDebugInfosTimeUntilSendCall struct {
	*gomock.Call
}

MockSendAlgorithmWithDebugInfosTimeUntilSendCall wrap *gomock.Call

func (*MockSendAlgorithmWithDebugInfosTimeUntilSendCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockSendAlgorithmWithDebugInfosTimeUntilSendCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockSendAlgorithmWithDebugInfosTimeUntilSendCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockShortHeaderOpener added in v0.32.0

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

MockShortHeaderOpener is a mock of ShortHeaderOpener interface.

func NewMockShortHeaderOpener added in v0.32.0

func NewMockShortHeaderOpener(ctrl *gomock.Controller) *MockShortHeaderOpener

NewMockShortHeaderOpener creates a new mock instance.

func (*MockShortHeaderOpener) DecodePacketNumber added in v0.32.0

DecodePacketNumber mocks base method.

func (*MockShortHeaderOpener) DecryptHeader added in v0.32.0

func (m *MockShortHeaderOpener) DecryptHeader(arg0 []byte, arg1 *byte, arg2 []byte)

DecryptHeader mocks base method.

func (*MockShortHeaderOpener) EXPECT added in v0.32.0

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

func (*MockShortHeaderOpener) Open added in v0.32.0

func (m *MockShortHeaderOpener) Open(arg0, arg1 []byte, arg2 time.Time, arg3 protocol.PacketNumber, arg4 protocol.KeyPhaseBit, arg5 []byte) ([]byte, error)

Open mocks base method.

type MockShortHeaderOpenerDecodePacketNumberCall added in v0.42.0

type MockShortHeaderOpenerDecodePacketNumberCall struct {
	*gomock.Call
}

MockShortHeaderOpenerDecodePacketNumberCall wrap *gomock.Call

func (*MockShortHeaderOpenerDecodePacketNumberCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockShortHeaderOpenerDecodePacketNumberCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockShortHeaderOpenerDecodePacketNumberCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockShortHeaderOpenerDecryptHeaderCall added in v0.42.0

type MockShortHeaderOpenerDecryptHeaderCall struct {
	*gomock.Call
}

MockShortHeaderOpenerDecryptHeaderCall wrap *gomock.Call

func (*MockShortHeaderOpenerDecryptHeaderCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockShortHeaderOpenerDecryptHeaderCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockShortHeaderOpenerDecryptHeaderCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockShortHeaderOpenerMockRecorder added in v0.32.0

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

MockShortHeaderOpenerMockRecorder is the mock recorder for MockShortHeaderOpener.

func (*MockShortHeaderOpenerMockRecorder) DecodePacketNumber added in v0.32.0

DecodePacketNumber indicates an expected call of DecodePacketNumber.

func (*MockShortHeaderOpenerMockRecorder) DecryptHeader added in v0.32.0

DecryptHeader indicates an expected call of DecryptHeader.

func (*MockShortHeaderOpenerMockRecorder) Open added in v0.32.0

func (mr *MockShortHeaderOpenerMockRecorder) Open(arg0, arg1, arg2, arg3, arg4, arg5 any) *MockShortHeaderOpenerOpenCall

Open indicates an expected call of Open.

type MockShortHeaderOpenerOpenCall added in v0.42.0

type MockShortHeaderOpenerOpenCall struct {
	*gomock.Call
}

MockShortHeaderOpenerOpenCall wrap *gomock.Call

func (*MockShortHeaderOpenerOpenCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockShortHeaderOpenerOpenCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockShortHeaderOpenerOpenCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockShortHeaderSealer added in v0.32.0

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

MockShortHeaderSealer is a mock of ShortHeaderSealer interface.

func NewMockShortHeaderSealer added in v0.32.0

func NewMockShortHeaderSealer(ctrl *gomock.Controller) *MockShortHeaderSealer

NewMockShortHeaderSealer creates a new mock instance.

func (*MockShortHeaderSealer) EXPECT added in v0.32.0

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

func (*MockShortHeaderSealer) EncryptHeader added in v0.32.0

func (m *MockShortHeaderSealer) EncryptHeader(arg0 []byte, arg1 *byte, arg2 []byte)

EncryptHeader mocks base method.

func (*MockShortHeaderSealer) KeyPhase added in v0.32.0

KeyPhase mocks base method.

func (*MockShortHeaderSealer) Overhead added in v0.32.0

func (m *MockShortHeaderSealer) Overhead() int

Overhead mocks base method.

func (*MockShortHeaderSealer) Seal added in v0.32.0

func (m *MockShortHeaderSealer) Seal(arg0, arg1 []byte, arg2 protocol.PacketNumber, arg3 []byte) []byte

Seal mocks base method.

type MockShortHeaderSealerEncryptHeaderCall added in v0.42.0

type MockShortHeaderSealerEncryptHeaderCall struct {
	*gomock.Call
}

MockShortHeaderSealerEncryptHeaderCall wrap *gomock.Call

func (*MockShortHeaderSealerEncryptHeaderCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockShortHeaderSealerEncryptHeaderCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockShortHeaderSealerEncryptHeaderCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockShortHeaderSealerKeyPhaseCall added in v0.42.0

type MockShortHeaderSealerKeyPhaseCall struct {
	*gomock.Call
}

MockShortHeaderSealerKeyPhaseCall wrap *gomock.Call

func (*MockShortHeaderSealerKeyPhaseCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockShortHeaderSealerKeyPhaseCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockShortHeaderSealerKeyPhaseCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockShortHeaderSealerMockRecorder added in v0.32.0

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

MockShortHeaderSealerMockRecorder is the mock recorder for MockShortHeaderSealer.

func (*MockShortHeaderSealerMockRecorder) EncryptHeader added in v0.32.0

EncryptHeader indicates an expected call of EncryptHeader.

func (*MockShortHeaderSealerMockRecorder) KeyPhase added in v0.32.0

KeyPhase indicates an expected call of KeyPhase.

func (*MockShortHeaderSealerMockRecorder) Overhead added in v0.32.0

Overhead indicates an expected call of Overhead.

func (*MockShortHeaderSealerMockRecorder) Seal added in v0.32.0

func (mr *MockShortHeaderSealerMockRecorder) Seal(arg0, arg1, arg2, arg3 any) *MockShortHeaderSealerSealCall

Seal indicates an expected call of Seal.

type MockShortHeaderSealerOverheadCall added in v0.42.0

type MockShortHeaderSealerOverheadCall struct {
	*gomock.Call
}

MockShortHeaderSealerOverheadCall wrap *gomock.Call

func (*MockShortHeaderSealerOverheadCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockShortHeaderSealerOverheadCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockShortHeaderSealerOverheadCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockShortHeaderSealerSealCall added in v0.42.0

type MockShortHeaderSealerSealCall struct {
	*gomock.Call
}

MockShortHeaderSealerSealCall wrap *gomock.Call

func (*MockShortHeaderSealerSealCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockShortHeaderSealerSealCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockShortHeaderSealerSealCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockStreamFlowController

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

MockStreamFlowController is a mock of StreamFlowController interface.

func NewMockStreamFlowController

func NewMockStreamFlowController(ctrl *gomock.Controller) *MockStreamFlowController

NewMockStreamFlowController creates a new mock instance.

func (*MockStreamFlowController) Abandon added in v0.32.0

func (m *MockStreamFlowController) Abandon()

Abandon mocks base method.

func (*MockStreamFlowController) AddBytesRead

func (m *MockStreamFlowController) AddBytesRead(arg0 protocol.ByteCount)

AddBytesRead mocks base method.

func (*MockStreamFlowController) AddBytesSent

func (m *MockStreamFlowController) AddBytesSent(arg0 protocol.ByteCount)

AddBytesSent mocks base method.

func (*MockStreamFlowController) EXPECT

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

func (*MockStreamFlowController) GetWindowUpdate

func (m *MockStreamFlowController) GetWindowUpdate() protocol.ByteCount

GetWindowUpdate mocks base method.

func (*MockStreamFlowController) IsNewlyBlocked added in v0.9.0

func (m *MockStreamFlowController) IsNewlyBlocked() (bool, protocol.ByteCount)

IsNewlyBlocked mocks base method.

func (*MockStreamFlowController) SendWindowSize

func (m *MockStreamFlowController) SendWindowSize() protocol.ByteCount

SendWindowSize mocks base method.

func (*MockStreamFlowController) UpdateHighestReceived

func (m *MockStreamFlowController) UpdateHighestReceived(arg0 protocol.ByteCount, arg1 bool) error

UpdateHighestReceived mocks base method.

func (*MockStreamFlowController) UpdateSendWindow

func (m *MockStreamFlowController) UpdateSendWindow(arg0 protocol.ByteCount) bool

UpdateSendWindow mocks base method.

type MockStreamFlowControllerAbandonCall added in v0.42.0

type MockStreamFlowControllerAbandonCall struct {
	*gomock.Call
}

MockStreamFlowControllerAbandonCall wrap *gomock.Call

func (*MockStreamFlowControllerAbandonCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockStreamFlowControllerAbandonCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockStreamFlowControllerAbandonCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockStreamFlowControllerAddBytesReadCall added in v0.42.0

type MockStreamFlowControllerAddBytesReadCall struct {
	*gomock.Call
}

MockStreamFlowControllerAddBytesReadCall wrap *gomock.Call

func (*MockStreamFlowControllerAddBytesReadCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockStreamFlowControllerAddBytesReadCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockStreamFlowControllerAddBytesReadCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockStreamFlowControllerAddBytesSentCall added in v0.42.0

type MockStreamFlowControllerAddBytesSentCall struct {
	*gomock.Call
}

MockStreamFlowControllerAddBytesSentCall wrap *gomock.Call

func (*MockStreamFlowControllerAddBytesSentCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockStreamFlowControllerAddBytesSentCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockStreamFlowControllerAddBytesSentCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockStreamFlowControllerGetWindowUpdateCall added in v0.42.0

type MockStreamFlowControllerGetWindowUpdateCall struct {
	*gomock.Call
}

MockStreamFlowControllerGetWindowUpdateCall wrap *gomock.Call

func (*MockStreamFlowControllerGetWindowUpdateCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockStreamFlowControllerGetWindowUpdateCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockStreamFlowControllerGetWindowUpdateCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockStreamFlowControllerIsNewlyBlockedCall added in v0.42.0

type MockStreamFlowControllerIsNewlyBlockedCall struct {
	*gomock.Call
}

MockStreamFlowControllerIsNewlyBlockedCall wrap *gomock.Call

func (*MockStreamFlowControllerIsNewlyBlockedCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockStreamFlowControllerIsNewlyBlockedCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockStreamFlowControllerIsNewlyBlockedCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockStreamFlowControllerMockRecorder

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

MockStreamFlowControllerMockRecorder is the mock recorder for MockStreamFlowController.

func (*MockStreamFlowControllerMockRecorder) Abandon added in v0.32.0

Abandon indicates an expected call of Abandon.

func (*MockStreamFlowControllerMockRecorder) AddBytesRead

AddBytesRead indicates an expected call of AddBytesRead.

func (*MockStreamFlowControllerMockRecorder) AddBytesSent

AddBytesSent indicates an expected call of AddBytesSent.

func (*MockStreamFlowControllerMockRecorder) GetWindowUpdate

GetWindowUpdate indicates an expected call of GetWindowUpdate.

func (*MockStreamFlowControllerMockRecorder) IsNewlyBlocked added in v0.9.0

IsNewlyBlocked indicates an expected call of IsNewlyBlocked.

func (*MockStreamFlowControllerMockRecorder) SendWindowSize

SendWindowSize indicates an expected call of SendWindowSize.

func (*MockStreamFlowControllerMockRecorder) UpdateHighestReceived

UpdateHighestReceived indicates an expected call of UpdateHighestReceived.

func (*MockStreamFlowControllerMockRecorder) UpdateSendWindow

UpdateSendWindow indicates an expected call of UpdateSendWindow.

type MockStreamFlowControllerSendWindowSizeCall added in v0.42.0

type MockStreamFlowControllerSendWindowSizeCall struct {
	*gomock.Call
}

MockStreamFlowControllerSendWindowSizeCall wrap *gomock.Call

func (*MockStreamFlowControllerSendWindowSizeCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockStreamFlowControllerSendWindowSizeCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockStreamFlowControllerSendWindowSizeCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockStreamFlowControllerUpdateHighestReceivedCall added in v0.42.0

type MockStreamFlowControllerUpdateHighestReceivedCall struct {
	*gomock.Call
}

MockStreamFlowControllerUpdateHighestReceivedCall wrap *gomock.Call

func (*MockStreamFlowControllerUpdateHighestReceivedCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockStreamFlowControllerUpdateHighestReceivedCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockStreamFlowControllerUpdateHighestReceivedCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

type MockStreamFlowControllerUpdateSendWindowCall added in v0.42.0

type MockStreamFlowControllerUpdateSendWindowCall struct {
	*gomock.Call
}

MockStreamFlowControllerUpdateSendWindowCall wrap *gomock.Call

func (*MockStreamFlowControllerUpdateSendWindowCall) Do added in v0.42.0

Do rewrite *gomock.Call.Do

func (*MockStreamFlowControllerUpdateSendWindowCall) DoAndReturn added in v0.42.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockStreamFlowControllerUpdateSendWindowCall) Return added in v0.42.0

Return rewrite *gomock.Call.Return

Directories

Path Synopsis
Package mockackhandler is a generated GoMock package.
Package mockackhandler is a generated GoMock package.
internal
Package internal is a generated GoMock package.
Package internal is a generated GoMock package.
Package mockquic is a generated GoMock package.
Package mockquic is a generated GoMock package.
Package mocktls is a generated GoMock package.
Package mocktls is a generated GoMock package.

Jump to

Keyboard shortcuts

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