mocks

package
v3.2.5 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2022 License: MIT Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpClientRequester

type HttpClientRequester struct {
	mock.Mock
}

HttpClientRequester is an autogenerated mock type for the HttpClientRequester type

func (*HttpClientRequester) Do

Do provides a mock function with given fields: req

type Impersonation

type Impersonation struct {
	mock.Mock
}

Impersonation is an autogenerated mock type for the Impersonation type

func (*Impersonation) GetAccessToken

func (_m *Impersonation) GetAccessToken() string

GetAccessToken provides a mock function with given fields:

func (*Impersonation) GetAccessTokenExpires

func (_m *Impersonation) GetAccessTokenExpires() time.Time

GetAccessTokenExpires provides a mock function with given fields:

func (*Impersonation) GetScopes

func (_m *Impersonation) GetScopes() []string

GetScopes provides a mock function with given fields:

func (*Impersonation) GetSub

func (_m *Impersonation) GetSub() string

GetSub provides a mock function with given fields:

func (*Impersonation) SetAccessToken

func (_m *Impersonation) SetAccessToken(_a0 string) core.Impersonation

SetAccessToken provides a mock function with given fields: _a0

func (*Impersonation) SetAccessTokenExpires

func (_m *Impersonation) SetAccessTokenExpires(_a0 time.Time) core.Impersonation

SetAccessTokenExpires provides a mock function with given fields: _a0

func (*Impersonation) SetScopes

func (_m *Impersonation) SetScopes(_a0 []string) core.Impersonation

SetScopes provides a mock function with given fields: _a0

func (*Impersonation) SetSub

func (_m *Impersonation) SetSub(_a0 string) core.Impersonation

SetSub provides a mock function with given fields: _a0

type Key added in v3.0.10

type Key struct {
	mock.Mock
}

Key is an autogenerated mock type for the Key type

func (*Key) GetDecoded added in v3.0.10

func (_m *Key) GetDecoded() (crypto.PrivateKey, error)

GetDecoded provides a mock function with given fields:

func (*Key) GetJwtSigningMethod added in v3.0.10

func (_m *Key) GetJwtSigningMethod() jwt.SigningMethod

GetJwtSigningMethod provides a mock function with given fields:

Jump to

Keyboard shortcuts

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