Documentation ¶
Index ¶
- type AuthenticationStrategyMock
- type AuthenticationStrategyMock_Apply_Call
- func (_c *AuthenticationStrategyMock_Apply_Call) Return(_a0 error) *AuthenticationStrategyMock_Apply_Call
- func (_c *AuthenticationStrategyMock_Apply_Call) Run(run func(_a0 context.Context, _a1 *http.Request)) *AuthenticationStrategyMock_Apply_Call
- func (_c *AuthenticationStrategyMock_Apply_Call) RunAndReturn(run func(context.Context, *http.Request) error) *AuthenticationStrategyMock_Apply_Call
- type AuthenticationStrategyMock_Expecter
- type AuthenticationStrategyMock_Hash_Call
- func (_c *AuthenticationStrategyMock_Hash_Call) Return(_a0 []byte) *AuthenticationStrategyMock_Hash_Call
- func (_c *AuthenticationStrategyMock_Hash_Call) Run(run func()) *AuthenticationStrategyMock_Hash_Call
- func (_c *AuthenticationStrategyMock_Hash_Call) RunAndReturn(run func() []byte) *AuthenticationStrategyMock_Hash_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthenticationStrategyMock ¶
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 (_m *AuthenticationStrategyMock) EXPECT() *AuthenticationStrategyMock_Expecter
func (*AuthenticationStrategyMock) Hash ¶
func (_m *AuthenticationStrategyMock) Hash() []byte
Hash provides a mock function with given fields:
type AuthenticationStrategyMock_Apply_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 (_c *AuthenticationStrategyMock_Apply_Call) Return(_a0 error) *AuthenticationStrategyMock_Apply_Call
func (*AuthenticationStrategyMock_Apply_Call) Run ¶
func (_c *AuthenticationStrategyMock_Apply_Call) Run(run func(_a0 context.Context, _a1 *http.Request)) *AuthenticationStrategyMock_Apply_Call
func (*AuthenticationStrategyMock_Apply_Call) RunAndReturn ¶
func (_c *AuthenticationStrategyMock_Apply_Call) RunAndReturn(run func(context.Context, *http.Request) error) *AuthenticationStrategyMock_Apply_Call
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 ¶
func (_e *AuthenticationStrategyMock_Expecter) Hash() *AuthenticationStrategyMock_Hash_Call
Hash is a helper method to define mock.On call
type AuthenticationStrategyMock_Hash_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 (_c *AuthenticationStrategyMock_Hash_Call) Return(_a0 []byte) *AuthenticationStrategyMock_Hash_Call
func (*AuthenticationStrategyMock_Hash_Call) Run ¶
func (_c *AuthenticationStrategyMock_Hash_Call) Run(run func()) *AuthenticationStrategyMock_Hash_Call
func (*AuthenticationStrategyMock_Hash_Call) RunAndReturn ¶
func (_c *AuthenticationStrategyMock_Hash_Call) RunAndReturn(run func() []byte) *AuthenticationStrategyMock_Hash_Call