Documentation ¶
Index ¶
- type AuthDataExtractStrategyMock
- type AuthDataExtractStrategyMock_Expecter
- type AuthDataExtractStrategyMock_GetAuthData_Call
- func (_c *AuthDataExtractStrategyMock_GetAuthData_Call) Return(_a0 string, _a1 error) *AuthDataExtractStrategyMock_GetAuthData_Call
- func (_c *AuthDataExtractStrategyMock_GetAuthData_Call) Run(run func(ctx heimdall.Context)) *AuthDataExtractStrategyMock_GetAuthData_Call
- func (_c *AuthDataExtractStrategyMock_GetAuthData_Call) RunAndReturn(run func(heimdall.Context) (string, error)) *AuthDataExtractStrategyMock_GetAuthData_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthDataExtractStrategyMock ¶
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 (_m *AuthDataExtractStrategyMock) EXPECT() *AuthDataExtractStrategyMock_Expecter
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 ¶
func (_e *AuthDataExtractStrategyMock_Expecter) GetAuthData(ctx interface{}) *AuthDataExtractStrategyMock_GetAuthData_Call
GetAuthData is a helper method to define mock.On call
- ctx heimdall.Context
type AuthDataExtractStrategyMock_GetAuthData_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 (_c *AuthDataExtractStrategyMock_GetAuthData_Call) Return(_a0 string, _a1 error) *AuthDataExtractStrategyMock_GetAuthData_Call
func (*AuthDataExtractStrategyMock_GetAuthData_Call) Run ¶
func (_c *AuthDataExtractStrategyMock_GetAuthData_Call) Run(run func(ctx heimdall.Context)) *AuthDataExtractStrategyMock_GetAuthData_Call
func (*AuthDataExtractStrategyMock_GetAuthData_Call) RunAndReturn ¶
func (_c *AuthDataExtractStrategyMock_GetAuthData_Call) RunAndReturn(run func(heimdall.Context) (string, error)) *AuthDataExtractStrategyMock_GetAuthData_Call
Click to show internal directories.
Click to hide internal directories.