mocks

package
v1.14.1 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TokenCache

type TokenCache struct {
	mock.Mock
}

TokenCache is an autogenerated mock type for the TokenCache type

func (*TokenCache) CondBroadcast added in v1.13.0

func (_m *TokenCache) CondBroadcast()

CondBroadcast provides a mock function with given fields:

func (*TokenCache) CondWait added in v1.13.0

func (_m *TokenCache) CondWait()

CondWait provides a mock function with given fields:

func (*TokenCache) GetToken

func (_m *TokenCache) GetToken() (*oauth2.Token, error)

GetToken provides a mock function with given fields:

func (*TokenCache) Lock added in v1.13.0

func (_m *TokenCache) Lock()

Lock provides a mock function with given fields:

func (*TokenCache) OnGetToken

func (_m *TokenCache) OnGetToken() *TokenCache_GetToken

func (*TokenCache) OnGetTokenMatch

func (_m *TokenCache) OnGetTokenMatch(matchers ...interface{}) *TokenCache_GetToken

func (*TokenCache) OnPurgeIfEquals added in v1.13.0

func (_m *TokenCache) OnPurgeIfEquals(t *oauth2.Token) *TokenCache_PurgeIfEquals

func (*TokenCache) OnPurgeIfEqualsMatch added in v1.13.0

func (_m *TokenCache) OnPurgeIfEqualsMatch(matchers ...interface{}) *TokenCache_PurgeIfEquals

func (*TokenCache) OnSaveToken

func (_m *TokenCache) OnSaveToken(token *oauth2.Token) *TokenCache_SaveToken

func (*TokenCache) OnSaveTokenMatch

func (_m *TokenCache) OnSaveTokenMatch(matchers ...interface{}) *TokenCache_SaveToken

func (*TokenCache) OnTryLock added in v1.13.0

func (_m *TokenCache) OnTryLock() *TokenCache_TryLock

func (*TokenCache) OnTryLockMatch added in v1.13.0

func (_m *TokenCache) OnTryLockMatch(matchers ...interface{}) *TokenCache_TryLock

func (*TokenCache) PurgeIfEquals added in v1.13.0

func (_m *TokenCache) PurgeIfEquals(t *oauth2.Token) (bool, error)

PurgeIfEquals provides a mock function with given fields: t

func (*TokenCache) SaveToken

func (_m *TokenCache) SaveToken(token *oauth2.Token) error

SaveToken provides a mock function with given fields: token

func (*TokenCache) TryLock added in v1.13.0

func (_m *TokenCache) TryLock() bool

TryLock provides a mock function with given fields:

func (*TokenCache) Unlock added in v1.13.0

func (_m *TokenCache) Unlock()

Unlock provides a mock function with given fields:

type TokenCache_GetToken

type TokenCache_GetToken struct {
	*mock.Call
}

func (TokenCache_GetToken) Return

type TokenCache_PurgeIfEquals added in v1.13.0

type TokenCache_PurgeIfEquals struct {
	*mock.Call
}

func (TokenCache_PurgeIfEquals) Return added in v1.13.0

type TokenCache_SaveToken

type TokenCache_SaveToken struct {
	*mock.Call
}

func (TokenCache_SaveToken) Return

type TokenCache_TryLock added in v1.13.0

type TokenCache_TryLock struct {
	*mock.Call
}

func (TokenCache_TryLock) Return added in v1.13.0

func (_m TokenCache_TryLock) Return(_a0 bool) *TokenCache_TryLock

Jump to

Keyboard shortcuts

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