mocks

package
v0.10.21 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2025 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 KeycloakClientInterface

type KeycloakClientInterface struct {
	mock.Mock
}

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 (*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

type KeycloakClientInterface_GetUsersWithResponse_Call struct {
	*mock.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 (*KeycloakClientInterface_GetUsersWithResponse_Call) Run

Jump to

Keyboard shortcuts

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