Documentation
¶
Index ¶
- type KeycloakClientInterface
- type KeycloakClientInterface_Expecter
- type KeycloakClientInterface_GetUsersWithResponse_Call
- func (_c *KeycloakClientInterface_GetUsersWithResponse_Call) Return(_a0 *keycloak.GetUsersResponse, _a1 error) *KeycloakClientInterface_GetUsersWithResponse_Call
- func (_c *KeycloakClientInterface_GetUsersWithResponse_Call) Run(...) *KeycloakClientInterface_GetUsersWithResponse_Call
- func (_c *KeycloakClientInterface_GetUsersWithResponse_Call) RunAndReturn(...) *KeycloakClientInterface_GetUsersWithResponse_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeycloakClientInterface ¶
KeycloakClientInterface is an autogenerated mock type for the KeycloakClientInterface type
func NewKeycloakClientInterface ¶
func NewKeycloakClientInterface(t interface {
mock.TestingT
Cleanup(func())
}) *KeycloakClientInterface
NewKeycloakClientInterface creates a new instance of KeycloakClientInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*KeycloakClientInterface) EXPECT ¶
func (_m *KeycloakClientInterface) EXPECT() *KeycloakClientInterface_Expecter
func (*KeycloakClientInterface) GetUsersWithResponse ¶
func (_m *KeycloakClientInterface) GetUsersWithResponse(ctx context.Context, realm string, params *keycloak.GetUsersParams, reqEditors ...keycloak.RequestEditorFn) (*keycloak.GetUsersResponse, error)
GetUsersWithResponse provides a mock function with given fields: ctx, realm, params, reqEditors
type KeycloakClientInterface_Expecter ¶
type KeycloakClientInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*KeycloakClientInterface_Expecter) GetUsersWithResponse ¶
func (_e *KeycloakClientInterface_Expecter) GetUsersWithResponse(ctx interface{}, realm interface{}, params interface{}, reqEditors ...interface{}) *KeycloakClientInterface_GetUsersWithResponse_Call
GetUsersWithResponse is a helper method to define mock.On call
- ctx context.Context
- realm string
- params *keycloak.GetUsersParams
- reqEditors ...keycloak.RequestEditorFn
type KeycloakClientInterface_GetUsersWithResponse_Call ¶
KeycloakClientInterface_GetUsersWithResponse_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUsersWithResponse'
func (*KeycloakClientInterface_GetUsersWithResponse_Call) Return ¶
func (_c *KeycloakClientInterface_GetUsersWithResponse_Call) Return(_a0 *keycloak.GetUsersResponse, _a1 error) *KeycloakClientInterface_GetUsersWithResponse_Call
func (*KeycloakClientInterface_GetUsersWithResponse_Call) Run ¶
func (_c *KeycloakClientInterface_GetUsersWithResponse_Call) Run(run func(ctx context.Context, realm string, params *keycloak.GetUsersParams, reqEditors ...keycloak.RequestEditorFn)) *KeycloakClientInterface_GetUsersWithResponse_Call
func (*KeycloakClientInterface_GetUsersWithResponse_Call) RunAndReturn ¶
func (_c *KeycloakClientInterface_GetUsersWithResponse_Call) RunAndReturn(run func(context.Context, string, *keycloak.GetUsersParams, ...keycloak.RequestEditorFn) (*keycloak.GetUsersResponse, error)) *KeycloakClientInterface_GetUsersWithResponse_Call