mocks

package
v0.0.0-...-cf21e3d Latest Latest
Warning

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

Go to latest
Published: Apr 15, 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 Client

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func NewClient

func NewClient(t mockConstructorTestingTNewClient) *Client

NewClient creates a new instance of Client. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Client) EXPECT

func (_m *Client) EXPECT() *Client_Expecter

func (*Client) GetJWKSURI

func (_m *Client) GetJWKSURI(ctx context.Context) (*string, error)

GetJWKSURI provides a mock function with given fields: ctx

func (*Client) GetTokenEndpoint

func (_m *Client) GetTokenEndpoint(ctx context.Context) (*string, error)

GetTokenEndpoint provides a mock function with given fields: ctx

type Client_Expecter

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

func (*Client_Expecter) GetJWKSURI

func (_e *Client_Expecter) GetJWKSURI(ctx interface{}) *Client_GetJWKSURI_Call

GetJWKSURI is a helper method to define mock.On call

  • ctx context.Context

func (*Client_Expecter) GetTokenEndpoint

func (_e *Client_Expecter) GetTokenEndpoint(ctx interface{}) *Client_GetTokenEndpoint_Call

GetTokenEndpoint is a helper method to define mock.On call

  • ctx context.Context

type Client_GetJWKSURI_Call

type Client_GetJWKSURI_Call struct {
	*mock.Call
}

Client_GetJWKSURI_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetJWKSURI'

func (*Client_GetJWKSURI_Call) Return

func (*Client_GetJWKSURI_Call) Run

func (*Client_GetJWKSURI_Call) RunAndReturn

func (_c *Client_GetJWKSURI_Call) RunAndReturn(run func(context.Context) (*string, error)) *Client_GetJWKSURI_Call

type Client_GetTokenEndpoint_Call

type Client_GetTokenEndpoint_Call struct {
	*mock.Call
}

Client_GetTokenEndpoint_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTokenEndpoint'

func (*Client_GetTokenEndpoint_Call) Return

func (*Client_GetTokenEndpoint_Call) Run

func (*Client_GetTokenEndpoint_Call) RunAndReturn

Jump to

Keyboard shortcuts

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