mocks

package
v4.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2022 License: MIT Imports: 6 Imported by: 0

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

type Key struct {
	mock.Mock
}

Key is an autogenerated mock type for the Key type

func (*Key) GetDecoded

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

GetDecoded provides a mock function with given fields:

func (*Key) GetJwtSigningMethod

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