mocks

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: May 6, 2023 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) GetToken

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

GetToken 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) OnSaveToken

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

func (*TokenCache) OnSaveTokenMatch

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

func (*TokenCache) SaveToken

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

SaveToken provides a mock function with given fields: token

type TokenCache_GetToken

type TokenCache_GetToken struct {
	*mock.Call
}

func (TokenCache_GetToken) Return

type TokenCache_SaveToken

type TokenCache_SaveToken struct {
	*mock.Call
}

func (TokenCache_SaveToken) Return

Jump to

Keyboard shortcuts

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