mocktls

package
v0.41.0 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: crypto/tls (interfaces: ClientSessionCache)

Generated by this command:

mockgen -typed -build_flags=-tags=gomock -package mocktls -destination tls/client_session_cache.go crypto/tls ClientSessionCache

Package mocktls is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientSessionCacheGetCall added in v0.40.0

type ClientSessionCacheGetCall struct {
	*gomock.Call
}

ClientSessionCacheGetCall wrap *gomock.Call

func (*ClientSessionCacheGetCall) Do added in v0.40.0

Do rewrite *gomock.Call.Do

func (*ClientSessionCacheGetCall) DoAndReturn added in v0.40.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ClientSessionCacheGetCall) Return added in v0.40.0

Return rewrite *gomock.Call.Return

type ClientSessionCachePutCall added in v0.40.0

type ClientSessionCachePutCall struct {
	*gomock.Call
}

ClientSessionCachePutCall wrap *gomock.Call

func (*ClientSessionCachePutCall) Do added in v0.40.0

Do rewrite *gomock.Call.Do

func (*ClientSessionCachePutCall) DoAndReturn added in v0.40.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ClientSessionCachePutCall) Return added in v0.40.0

Return rewrite *gomock.Call.Return

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

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

func (*MockClientSessionCache) Get

Get mocks base method.

func (*MockClientSessionCache) Put

Put mocks base method.

type MockClientSessionCacheMockRecorder

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

MockClientSessionCacheMockRecorder is the mock recorder for MockClientSessionCache.

func (*MockClientSessionCacheMockRecorder) Get

Get indicates an expected call of Get.

func (*MockClientSessionCacheMockRecorder) Put

Put indicates an expected call of Put.

Jump to

Keyboard shortcuts

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