keycloak

package
v1.0.0-dev Latest Latest
Warning

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

Go to latest
Published: May 15, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockKeycloak

type MockKeycloak struct {
	mock.Mock
}

MockKeycloak is an autogenerated mock type for the Keycloak type

func NewMockKeycloak

func NewMockKeycloak(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockKeycloak

NewMockKeycloak creates a new instance of MockKeycloak. 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 (*MockKeycloak) EXPECT

func (_m *MockKeycloak) EXPECT() *MockKeycloak_Expecter

func (*MockKeycloak) GetToken

func (_m *MockKeycloak) GetToken() string

GetToken provides a mock function with no fields

func (*MockKeycloak) InitConnection

func (_m *MockKeycloak) InitConnection() error

InitConnection provides a mock function with no fields

func (*MockKeycloak) IsInit

func (_m *MockKeycloak) IsInit() bool

IsInit provides a mock function with no fields

func (*MockKeycloak) UserIsAllowedToCreateCluster

func (_m *MockKeycloak) UserIsAllowedToCreateCluster() error

UserIsAllowedToCreateCluster provides a mock function with no fields

type MockKeycloak_Expecter

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

func (*MockKeycloak_Expecter) GetToken

GetToken is a helper method to define mock.On call

func (*MockKeycloak_Expecter) InitConnection

InitConnection is a helper method to define mock.On call

func (*MockKeycloak_Expecter) IsInit

IsInit is a helper method to define mock.On call

func (*MockKeycloak_Expecter) UserIsAllowedToCreateCluster

func (_e *MockKeycloak_Expecter) UserIsAllowedToCreateCluster() *MockKeycloak_UserIsAllowedToCreateCluster_Call

UserIsAllowedToCreateCluster is a helper method to define mock.On call

type MockKeycloak_GetToken_Call

type MockKeycloak_GetToken_Call struct {
	*mock.Call
}

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

func (*MockKeycloak_GetToken_Call) Return

func (*MockKeycloak_GetToken_Call) Run

func (*MockKeycloak_GetToken_Call) RunAndReturn

func (_c *MockKeycloak_GetToken_Call) RunAndReturn(run func() string) *MockKeycloak_GetToken_Call

type MockKeycloak_InitConnection_Call

type MockKeycloak_InitConnection_Call struct {
	*mock.Call
}

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

func (*MockKeycloak_InitConnection_Call) Return

func (*MockKeycloak_InitConnection_Call) Run

func (*MockKeycloak_InitConnection_Call) RunAndReturn

type MockKeycloak_IsInit_Call

type MockKeycloak_IsInit_Call struct {
	*mock.Call
}

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

func (*MockKeycloak_IsInit_Call) Return

func (*MockKeycloak_IsInit_Call) Run

func (*MockKeycloak_IsInit_Call) RunAndReturn

func (_c *MockKeycloak_IsInit_Call) RunAndReturn(run func() bool) *MockKeycloak_IsInit_Call

type MockKeycloak_UserIsAllowedToCreateCluster_Call

type MockKeycloak_UserIsAllowedToCreateCluster_Call struct {
	*mock.Call
}

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

func (*MockKeycloak_UserIsAllowedToCreateCluster_Call) Return

func (*MockKeycloak_UserIsAllowedToCreateCluster_Call) Run

func (*MockKeycloak_UserIsAllowedToCreateCluster_Call) RunAndReturn

Jump to

Keyboard shortcuts

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