Documentation ¶
Overview ¶
Package mocktls is a generated GoMock package.
Index ¶
- type MockClientSessionCache
- type MockClientSessionCacheGetCall
- func (c *MockClientSessionCacheGetCall) Do(f func(string) (*tls.ClientSessionState, bool)) *MockClientSessionCacheGetCall
- func (c *MockClientSessionCacheGetCall) DoAndReturn(f func(string) (*tls.ClientSessionState, bool)) *MockClientSessionCacheGetCall
- func (c *MockClientSessionCacheGetCall) Return(arg0 *tls.ClientSessionState, arg1 bool) *MockClientSessionCacheGetCall
- type MockClientSessionCacheMockRecorder
- type MockClientSessionCachePutCall
- func (c *MockClientSessionCachePutCall) Do(f func(string, *tls.ClientSessionState)) *MockClientSessionCachePutCall
- func (c *MockClientSessionCachePutCall) DoAndReturn(f func(string, *tls.ClientSessionState)) *MockClientSessionCachePutCall
- func (c *MockClientSessionCachePutCall) Return() *MockClientSessionCachePutCall
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClientSessionCache ¶
type MockClientSessionCache struct {
// contains filtered or unexported fields
}
MockClientSessionCache is a mock of ClientSessionCache interface.
func NewMockClientSessionCache ¶
func NewMockClientSessionCache(ctrl *gomock.Controller) *MockClientSessionCache
NewMockClientSessionCache creates a new mock instance.
func (*MockClientSessionCache) EXPECT ¶
func (m *MockClientSessionCache) EXPECT() *MockClientSessionCacheMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClientSessionCache) Get ¶
func (m *MockClientSessionCache) Get(arg0 string) (*tls.ClientSessionState, bool)
Get mocks base method.
func (*MockClientSessionCache) Put ¶
func (m *MockClientSessionCache) Put(arg0 string, arg1 *tls.ClientSessionState)
Put mocks base method.
type MockClientSessionCacheGetCall ¶ added in v0.42.0
MockClientSessionCacheGetCall wrap *gomock.Call
func (*MockClientSessionCacheGetCall) Do ¶ added in v0.42.0
func (c *MockClientSessionCacheGetCall) Do(f func(string) (*tls.ClientSessionState, bool)) *MockClientSessionCacheGetCall
Do rewrite *gomock.Call.Do
func (*MockClientSessionCacheGetCall) DoAndReturn ¶ added in v0.42.0
func (c *MockClientSessionCacheGetCall) DoAndReturn(f func(string) (*tls.ClientSessionState, bool)) *MockClientSessionCacheGetCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockClientSessionCacheGetCall) Return ¶ added in v0.42.0
func (c *MockClientSessionCacheGetCall) Return(arg0 *tls.ClientSessionState, arg1 bool) *MockClientSessionCacheGetCall
Return rewrite *gomock.Call.Return
type MockClientSessionCacheMockRecorder ¶
type MockClientSessionCacheMockRecorder struct {
// contains filtered or unexported fields
}
MockClientSessionCacheMockRecorder is the mock recorder for MockClientSessionCache.
func (*MockClientSessionCacheMockRecorder) Get ¶
func (mr *MockClientSessionCacheMockRecorder) Get(arg0 any) *MockClientSessionCacheGetCall
Get indicates an expected call of Get.
func (*MockClientSessionCacheMockRecorder) Put ¶
func (mr *MockClientSessionCacheMockRecorder) Put(arg0, arg1 any) *MockClientSessionCachePutCall
Put indicates an expected call of Put.
type MockClientSessionCachePutCall ¶ added in v0.42.0
MockClientSessionCachePutCall wrap *gomock.Call
func (*MockClientSessionCachePutCall) Do ¶ added in v0.42.0
func (c *MockClientSessionCachePutCall) Do(f func(string, *tls.ClientSessionState)) *MockClientSessionCachePutCall
Do rewrite *gomock.Call.Do
func (*MockClientSessionCachePutCall) DoAndReturn ¶ added in v0.42.0
func (c *MockClientSessionCachePutCall) DoAndReturn(f func(string, *tls.ClientSessionState)) *MockClientSessionCachePutCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockClientSessionCachePutCall) Return ¶ added in v0.42.0
func (c *MockClientSessionCachePutCall) Return() *MockClientSessionCachePutCall
Return rewrite *gomock.Call.Return