clworkosmock

package
v0.31.1 Latest Latest
Warning

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

Go to latest
Published: May 31, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockOrganizations added in v0.31.0

type MockOrganizations struct {
	mock.Mock
}

MockOrganizations is an autogenerated mock type for the Organizations type

func NewMockOrganizations added in v0.31.0

func NewMockOrganizations(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockOrganizations

NewMockOrganizations creates a new instance of MockOrganizations. 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 (*MockOrganizations) EXPECT added in v0.31.0

func (*MockOrganizations) GetOrganization added in v0.31.0

GetOrganization provides a mock function with given fields: ctx, opts

type MockOrganizations_Expecter added in v0.31.0

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

func (*MockOrganizations_Expecter) GetOrganization added in v0.31.0

func (_e *MockOrganizations_Expecter) GetOrganization(ctx interface{}, opts interface{}) *MockOrganizations_GetOrganization_Call

GetOrganization is a helper method to define mock.On call

  • ctx context.Context
  • opts organizations.GetOrganizationOpts

type MockOrganizations_GetOrganization_Call added in v0.31.0

type MockOrganizations_GetOrganization_Call struct {
	*mock.Call
}

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

func (*MockOrganizations_GetOrganization_Call) Return added in v0.31.0

func (*MockOrganizations_GetOrganization_Call) Run added in v0.31.0

func (*MockOrganizations_GetOrganization_Call) RunAndReturn added in v0.31.0

type MockUserManagement

type MockUserManagement struct {
	mock.Mock
}

MockUserManagement is an autogenerated mock type for the UserManagement type

func NewMockUserManagement

func NewMockUserManagement(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockUserManagement

NewMockUserManagement creates a new instance of MockUserManagement. 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 (*MockUserManagement) AuthenticateWithCode

AuthenticateWithCode provides a mock function with given fields: ctx, opts

func (*MockUserManagement) AuthenticateWithRefreshToken

AuthenticateWithRefreshToken provides a mock function with given fields: ctx, opts

func (*MockUserManagement) EXPECT

func (*MockUserManagement) GetAuthorizationURL

func (_m *MockUserManagement) GetAuthorizationURL(opts usermanagement.GetAuthorizationURLOpts) (*url.URL, error)

GetAuthorizationURL provides a mock function with given fields: opts

func (*MockUserManagement) GetLogoutURL

func (_m *MockUserManagement) GetLogoutURL(opts usermanagement.GetLogoutURLOpts) (*url.URL, error)

GetLogoutURL provides a mock function with given fields: opts

func (*MockUserManagement) GetUser added in v0.30.15

GetUser provides a mock function with given fields: ctx, opts

type MockUserManagement_AuthenticateWithCode_Call

type MockUserManagement_AuthenticateWithCode_Call struct {
	*mock.Call
}

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

func (*MockUserManagement_AuthenticateWithCode_Call) Return

func (*MockUserManagement_AuthenticateWithCode_Call) Run

type MockUserManagement_AuthenticateWithRefreshToken_Call

type MockUserManagement_AuthenticateWithRefreshToken_Call struct {
	*mock.Call
}

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

type MockUserManagement_Expecter

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

func (*MockUserManagement_Expecter) AuthenticateWithCode

func (_e *MockUserManagement_Expecter) AuthenticateWithCode(ctx interface{}, opts interface{}) *MockUserManagement_AuthenticateWithCode_Call

AuthenticateWithCode is a helper method to define mock.On call

  • ctx context.Context
  • opts usermanagement.AuthenticateWithCodeOpts

func (*MockUserManagement_Expecter) AuthenticateWithRefreshToken

func (_e *MockUserManagement_Expecter) AuthenticateWithRefreshToken(ctx interface{}, opts interface{}) *MockUserManagement_AuthenticateWithRefreshToken_Call

AuthenticateWithRefreshToken is a helper method to define mock.On call

  • ctx context.Context
  • opts usermanagement.AuthenticateWithRefreshTokenOpts

func (*MockUserManagement_Expecter) GetAuthorizationURL

func (_e *MockUserManagement_Expecter) GetAuthorizationURL(opts interface{}) *MockUserManagement_GetAuthorizationURL_Call

GetAuthorizationURL is a helper method to define mock.On call

  • opts usermanagement.GetAuthorizationURLOpts

func (*MockUserManagement_Expecter) GetLogoutURL

func (_e *MockUserManagement_Expecter) GetLogoutURL(opts interface{}) *MockUserManagement_GetLogoutURL_Call

GetLogoutURL is a helper method to define mock.On call

  • opts usermanagement.GetLogoutURLOpts

func (*MockUserManagement_Expecter) GetUser added in v0.30.15

func (_e *MockUserManagement_Expecter) GetUser(ctx interface{}, opts interface{}) *MockUserManagement_GetUser_Call

GetUser is a helper method to define mock.On call

  • ctx context.Context
  • opts usermanagement.GetUserOpts

type MockUserManagement_GetAuthorizationURL_Call

type MockUserManagement_GetAuthorizationURL_Call struct {
	*mock.Call
}

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

func (*MockUserManagement_GetAuthorizationURL_Call) Return

func (*MockUserManagement_GetAuthorizationURL_Call) Run

func (*MockUserManagement_GetAuthorizationURL_Call) RunAndReturn

type MockUserManagement_GetLogoutURL_Call

type MockUserManagement_GetLogoutURL_Call struct {
	*mock.Call
}

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

func (*MockUserManagement_GetLogoutURL_Call) Return

func (*MockUserManagement_GetLogoutURL_Call) Run

func (*MockUserManagement_GetLogoutURL_Call) RunAndReturn

type MockUserManagement_GetUser_Call added in v0.30.15

type MockUserManagement_GetUser_Call struct {
	*mock.Call
}

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

func (*MockUserManagement_GetUser_Call) Return added in v0.30.15

func (*MockUserManagement_GetUser_Call) Run added in v0.30.15

func (*MockUserManagement_GetUser_Call) RunAndReturn added in v0.30.15

Jump to

Keyboard shortcuts

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