mocks

package
v0.14.4-alpha Latest Latest
Warning

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

Go to latest
Published: Jul 25, 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 AuthDataExtractStrategyMock

type AuthDataExtractStrategyMock struct {
	mock.Mock
}

AuthDataExtractStrategyMock is an autogenerated mock type for the AuthDataExtractStrategy type

func NewAuthDataExtractStrategyMock

func NewAuthDataExtractStrategyMock(t mockConstructorTestingTNewAuthDataExtractStrategyMock) *AuthDataExtractStrategyMock

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

func (*AuthDataExtractStrategyMock) EXPECT

func (*AuthDataExtractStrategyMock) GetAuthData

func (_m *AuthDataExtractStrategyMock) GetAuthData(ctx heimdall.Context) (string, error)

GetAuthData provides a mock function with given fields: ctx

type AuthDataExtractStrategyMock_Expecter

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

func (*AuthDataExtractStrategyMock_Expecter) GetAuthData

GetAuthData is a helper method to define mock.On call

  • ctx heimdall.Context

type AuthDataExtractStrategyMock_GetAuthData_Call

type AuthDataExtractStrategyMock_GetAuthData_Call struct {
	*mock.Call
}

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

func (*AuthDataExtractStrategyMock_GetAuthData_Call) Return

func (*AuthDataExtractStrategyMock_GetAuthData_Call) Run

func (*AuthDataExtractStrategyMock_GetAuthData_Call) RunAndReturn

Jump to

Keyboard shortcuts

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