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: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthenticationStrategyMock

type AuthenticationStrategyMock struct {
	mock.Mock
}

AuthenticationStrategyMock is an autogenerated mock type for the AuthenticationStrategy type

func NewAuthenticationStrategyMock

func NewAuthenticationStrategyMock(t mockConstructorTestingTNewAuthenticationStrategyMock) *AuthenticationStrategyMock

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

func (*AuthenticationStrategyMock) Apply

Apply provides a mock function with given fields: _a0, _a1

func (*AuthenticationStrategyMock) EXPECT

func (*AuthenticationStrategyMock) Hash

func (_m *AuthenticationStrategyMock) Hash() []byte

Hash provides a mock function with given fields:

type AuthenticationStrategyMock_Apply_Call

type AuthenticationStrategyMock_Apply_Call struct {
	*mock.Call
}

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

func (*AuthenticationStrategyMock_Apply_Call) Return

func (*AuthenticationStrategyMock_Apply_Call) Run

func (*AuthenticationStrategyMock_Apply_Call) RunAndReturn

type AuthenticationStrategyMock_Expecter

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

func (*AuthenticationStrategyMock_Expecter) Apply

func (_e *AuthenticationStrategyMock_Expecter) Apply(_a0 interface{}, _a1 interface{}) *AuthenticationStrategyMock_Apply_Call

Apply is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 *http.Request

func (*AuthenticationStrategyMock_Expecter) Hash

Hash is a helper method to define mock.On call

type AuthenticationStrategyMock_Hash_Call

type AuthenticationStrategyMock_Hash_Call struct {
	*mock.Call
}

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

func (*AuthenticationStrategyMock_Hash_Call) Return

func (*AuthenticationStrategyMock_Hash_Call) Run

func (*AuthenticationStrategyMock_Hash_Call) RunAndReturn

Jump to

Keyboard shortcuts

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