Documentation ¶
Index ¶
- type MockOrganizations
- func (_m *MockOrganizations) CreateOrganization(ctx context.Context, opts organizations.CreateOrganizationOpts) (organizations.Organization, error)
- func (_m *MockOrganizations) EXPECT() *MockOrganizations_Expecter
- func (_m *MockOrganizations) GetOrganization(ctx context.Context, opts organizations.GetOrganizationOpts) (organizations.Organization, error)
- func (_m *MockOrganizations) ListOrganizations(ctx context.Context, opts organizations.ListOrganizationsOpts) (organizations.ListOrganizationsResponse, error)
- func (_m *MockOrganizations) UpdateOrganization(ctx context.Context, opts organizations.UpdateOrganizationOpts) (organizations.Organization, error)
- type MockOrganizations_CreateOrganization_Call
- func (_c *MockOrganizations_CreateOrganization_Call) Return(_a0 organizations.Organization, _a1 error) *MockOrganizations_CreateOrganization_Call
- func (_c *MockOrganizations_CreateOrganization_Call) Run(run func(ctx context.Context, opts organizations.CreateOrganizationOpts)) *MockOrganizations_CreateOrganization_Call
- func (_c *MockOrganizations_CreateOrganization_Call) RunAndReturn(...) *MockOrganizations_CreateOrganization_Call
- type MockOrganizations_Expecter
- func (_e *MockOrganizations_Expecter) CreateOrganization(ctx interface{}, opts interface{}) *MockOrganizations_CreateOrganization_Call
- func (_e *MockOrganizations_Expecter) GetOrganization(ctx interface{}, opts interface{}) *MockOrganizations_GetOrganization_Call
- func (_e *MockOrganizations_Expecter) ListOrganizations(ctx interface{}, opts interface{}) *MockOrganizations_ListOrganizations_Call
- func (_e *MockOrganizations_Expecter) UpdateOrganization(ctx interface{}, opts interface{}) *MockOrganizations_UpdateOrganization_Call
- type MockOrganizations_GetOrganization_Call
- func (_c *MockOrganizations_GetOrganization_Call) Return(_a0 organizations.Organization, _a1 error) *MockOrganizations_GetOrganization_Call
- func (_c *MockOrganizations_GetOrganization_Call) Run(run func(ctx context.Context, opts organizations.GetOrganizationOpts)) *MockOrganizations_GetOrganization_Call
- func (_c *MockOrganizations_GetOrganization_Call) RunAndReturn(...) *MockOrganizations_GetOrganization_Call
- type MockOrganizations_ListOrganizations_Call
- func (_c *MockOrganizations_ListOrganizations_Call) Return(_a0 organizations.ListOrganizationsResponse, _a1 error) *MockOrganizations_ListOrganizations_Call
- func (_c *MockOrganizations_ListOrganizations_Call) Run(run func(ctx context.Context, opts organizations.ListOrganizationsOpts)) *MockOrganizations_ListOrganizations_Call
- func (_c *MockOrganizations_ListOrganizations_Call) RunAndReturn(...) *MockOrganizations_ListOrganizations_Call
- type MockOrganizations_UpdateOrganization_Call
- func (_c *MockOrganizations_UpdateOrganization_Call) Return(_a0 organizations.Organization, _a1 error) *MockOrganizations_UpdateOrganization_Call
- func (_c *MockOrganizations_UpdateOrganization_Call) Run(run func(ctx context.Context, opts organizations.UpdateOrganizationOpts)) *MockOrganizations_UpdateOrganization_Call
- func (_c *MockOrganizations_UpdateOrganization_Call) RunAndReturn(...) *MockOrganizations_UpdateOrganization_Call
- type MockUserManagement
- func (_m *MockUserManagement) AuthenticateWithCode(ctx context.Context, opts usermanagement.AuthenticateWithCodeOpts) (usermanagement.AuthenticateResponse, error)
- func (_m *MockUserManagement) AuthenticateWithPassword(ctx context.Context, opts usermanagement.AuthenticateWithPasswordOpts) (usermanagement.AuthenticateResponse, error)
- func (_m *MockUserManagement) AuthenticateWithRefreshToken(ctx context.Context, opts usermanagement.AuthenticateWithRefreshTokenOpts) (usermanagement.RefreshAuthenticationResponse, error)
- func (_m *MockUserManagement) CreateOrganizationMembership(ctx context.Context, opts usermanagement.CreateOrganizationMembershipOpts) (usermanagement.OrganizationMembership, error)
- func (_m *MockUserManagement) EXPECT() *MockUserManagement_Expecter
- func (_m *MockUserManagement) GetAuthorizationURL(opts usermanagement.GetAuthorizationURLOpts) (*url.URL, error)
- func (_m *MockUserManagement) GetLogoutURL(opts usermanagement.GetLogoutURLOpts) (*url.URL, error)
- func (_m *MockUserManagement) GetUser(ctx context.Context, opts usermanagement.GetUserOpts) (usermanagement.User, error)
- func (_m *MockUserManagement) ListUsers(ctx context.Context, opts usermanagement.ListUsersOpts) (usermanagement.ListUsersResponse, error)
- func (_m *MockUserManagement) SendInvitation(ctx context.Context, opts usermanagement.SendInvitationOpts) (usermanagement.Invitation, error)
- func (_m *MockUserManagement) UpdateUser(ctx context.Context, opts usermanagement.UpdateUserOpts) (usermanagement.User, error)
- type MockUserManagement_AuthenticateWithCode_Call
- func (_c *MockUserManagement_AuthenticateWithCode_Call) Return(_a0 usermanagement.AuthenticateResponse, _a1 error) *MockUserManagement_AuthenticateWithCode_Call
- func (_c *MockUserManagement_AuthenticateWithCode_Call) Run(run func(ctx context.Context, opts usermanagement.AuthenticateWithCodeOpts)) *MockUserManagement_AuthenticateWithCode_Call
- func (_c *MockUserManagement_AuthenticateWithCode_Call) RunAndReturn(...) *MockUserManagement_AuthenticateWithCode_Call
- type MockUserManagement_AuthenticateWithPassword_Call
- func (_c *MockUserManagement_AuthenticateWithPassword_Call) Return(_a0 usermanagement.AuthenticateResponse, _a1 error) *MockUserManagement_AuthenticateWithPassword_Call
- func (_c *MockUserManagement_AuthenticateWithPassword_Call) Run(...) *MockUserManagement_AuthenticateWithPassword_Call
- func (_c *MockUserManagement_AuthenticateWithPassword_Call) RunAndReturn(...) *MockUserManagement_AuthenticateWithPassword_Call
- type MockUserManagement_AuthenticateWithRefreshToken_Call
- func (_c *MockUserManagement_AuthenticateWithRefreshToken_Call) Return(_a0 usermanagement.RefreshAuthenticationResponse, _a1 error) *MockUserManagement_AuthenticateWithRefreshToken_Call
- func (_c *MockUserManagement_AuthenticateWithRefreshToken_Call) Run(...) *MockUserManagement_AuthenticateWithRefreshToken_Call
- func (_c *MockUserManagement_AuthenticateWithRefreshToken_Call) RunAndReturn(...) *MockUserManagement_AuthenticateWithRefreshToken_Call
- type MockUserManagement_CreateOrganizationMembership_Call
- func (_c *MockUserManagement_CreateOrganizationMembership_Call) Return(_a0 usermanagement.OrganizationMembership, _a1 error) *MockUserManagement_CreateOrganizationMembership_Call
- func (_c *MockUserManagement_CreateOrganizationMembership_Call) Run(...) *MockUserManagement_CreateOrganizationMembership_Call
- func (_c *MockUserManagement_CreateOrganizationMembership_Call) RunAndReturn(...) *MockUserManagement_CreateOrganizationMembership_Call
- type MockUserManagement_Expecter
- func (_e *MockUserManagement_Expecter) AuthenticateWithCode(ctx interface{}, opts interface{}) *MockUserManagement_AuthenticateWithCode_Call
- func (_e *MockUserManagement_Expecter) AuthenticateWithPassword(ctx interface{}, opts interface{}) *MockUserManagement_AuthenticateWithPassword_Call
- func (_e *MockUserManagement_Expecter) AuthenticateWithRefreshToken(ctx interface{}, opts interface{}) *MockUserManagement_AuthenticateWithRefreshToken_Call
- func (_e *MockUserManagement_Expecter) CreateOrganizationMembership(ctx interface{}, opts interface{}) *MockUserManagement_CreateOrganizationMembership_Call
- func (_e *MockUserManagement_Expecter) GetAuthorizationURL(opts interface{}) *MockUserManagement_GetAuthorizationURL_Call
- func (_e *MockUserManagement_Expecter) GetLogoutURL(opts interface{}) *MockUserManagement_GetLogoutURL_Call
- func (_e *MockUserManagement_Expecter) GetUser(ctx interface{}, opts interface{}) *MockUserManagement_GetUser_Call
- func (_e *MockUserManagement_Expecter) ListUsers(ctx interface{}, opts interface{}) *MockUserManagement_ListUsers_Call
- func (_e *MockUserManagement_Expecter) SendInvitation(ctx interface{}, opts interface{}) *MockUserManagement_SendInvitation_Call
- func (_e *MockUserManagement_Expecter) UpdateUser(ctx interface{}, opts interface{}) *MockUserManagement_UpdateUser_Call
- type MockUserManagement_GetAuthorizationURL_Call
- func (_c *MockUserManagement_GetAuthorizationURL_Call) Return(_a0 *url.URL, _a1 error) *MockUserManagement_GetAuthorizationURL_Call
- func (_c *MockUserManagement_GetAuthorizationURL_Call) Run(run func(opts usermanagement.GetAuthorizationURLOpts)) *MockUserManagement_GetAuthorizationURL_Call
- func (_c *MockUserManagement_GetAuthorizationURL_Call) RunAndReturn(run func(usermanagement.GetAuthorizationURLOpts) (*url.URL, error)) *MockUserManagement_GetAuthorizationURL_Call
- type MockUserManagement_GetLogoutURL_Call
- func (_c *MockUserManagement_GetLogoutURL_Call) Return(_a0 *url.URL, _a1 error) *MockUserManagement_GetLogoutURL_Call
- func (_c *MockUserManagement_GetLogoutURL_Call) Run(run func(opts usermanagement.GetLogoutURLOpts)) *MockUserManagement_GetLogoutURL_Call
- func (_c *MockUserManagement_GetLogoutURL_Call) RunAndReturn(run func(usermanagement.GetLogoutURLOpts) (*url.URL, error)) *MockUserManagement_GetLogoutURL_Call
- type MockUserManagement_GetUser_Call
- func (_c *MockUserManagement_GetUser_Call) Return(_a0 usermanagement.User, _a1 error) *MockUserManagement_GetUser_Call
- func (_c *MockUserManagement_GetUser_Call) Run(run func(ctx context.Context, opts usermanagement.GetUserOpts)) *MockUserManagement_GetUser_Call
- func (_c *MockUserManagement_GetUser_Call) RunAndReturn(...) *MockUserManagement_GetUser_Call
- type MockUserManagement_ListUsers_Call
- func (_c *MockUserManagement_ListUsers_Call) Return(_a0 usermanagement.ListUsersResponse, _a1 error) *MockUserManagement_ListUsers_Call
- func (_c *MockUserManagement_ListUsers_Call) Run(run func(ctx context.Context, opts usermanagement.ListUsersOpts)) *MockUserManagement_ListUsers_Call
- func (_c *MockUserManagement_ListUsers_Call) RunAndReturn(...) *MockUserManagement_ListUsers_Call
- type MockUserManagement_SendInvitation_Call
- func (_c *MockUserManagement_SendInvitation_Call) Return(_a0 usermanagement.Invitation, _a1 error) *MockUserManagement_SendInvitation_Call
- func (_c *MockUserManagement_SendInvitation_Call) Run(run func(ctx context.Context, opts usermanagement.SendInvitationOpts)) *MockUserManagement_SendInvitation_Call
- func (_c *MockUserManagement_SendInvitation_Call) RunAndReturn(...) *MockUserManagement_SendInvitation_Call
- type MockUserManagement_UpdateUser_Call
- func (_c *MockUserManagement_UpdateUser_Call) Return(_a0 usermanagement.User, _a1 error) *MockUserManagement_UpdateUser_Call
- func (_c *MockUserManagement_UpdateUser_Call) Run(run func(ctx context.Context, opts usermanagement.UpdateUserOpts)) *MockUserManagement_UpdateUser_Call
- func (_c *MockUserManagement_UpdateUser_Call) RunAndReturn(...) *MockUserManagement_UpdateUser_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockOrganizations ¶ added in v0.31.0
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) CreateOrganization ¶ added in v0.32.10
func (_m *MockOrganizations) CreateOrganization(ctx context.Context, opts organizations.CreateOrganizationOpts) (organizations.Organization, error)
CreateOrganization provides a mock function with given fields: ctx, opts
func (*MockOrganizations) EXPECT ¶ added in v0.31.0
func (_m *MockOrganizations) EXPECT() *MockOrganizations_Expecter
func (*MockOrganizations) GetOrganization ¶ added in v0.31.0
func (_m *MockOrganizations) GetOrganization(ctx context.Context, opts organizations.GetOrganizationOpts) (organizations.Organization, error)
GetOrganization provides a mock function with given fields: ctx, opts
func (*MockOrganizations) ListOrganizations ¶ added in v0.31.2
func (_m *MockOrganizations) ListOrganizations(ctx context.Context, opts organizations.ListOrganizationsOpts) (organizations.ListOrganizationsResponse, error)
ListOrganizations provides a mock function with given fields: ctx, opts
func (*MockOrganizations) UpdateOrganization ¶ added in v0.32.12
func (_m *MockOrganizations) UpdateOrganization(ctx context.Context, opts organizations.UpdateOrganizationOpts) (organizations.Organization, error)
UpdateOrganization provides a mock function with given fields: ctx, opts
type MockOrganizations_CreateOrganization_Call ¶ added in v0.32.10
MockOrganizations_CreateOrganization_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateOrganization'
func (*MockOrganizations_CreateOrganization_Call) Return ¶ added in v0.32.10
func (_c *MockOrganizations_CreateOrganization_Call) Return(_a0 organizations.Organization, _a1 error) *MockOrganizations_CreateOrganization_Call
func (*MockOrganizations_CreateOrganization_Call) Run ¶ added in v0.32.10
func (_c *MockOrganizations_CreateOrganization_Call) Run(run func(ctx context.Context, opts organizations.CreateOrganizationOpts)) *MockOrganizations_CreateOrganization_Call
func (*MockOrganizations_CreateOrganization_Call) RunAndReturn ¶ added in v0.32.10
func (_c *MockOrganizations_CreateOrganization_Call) RunAndReturn(run func(context.Context, organizations.CreateOrganizationOpts) (organizations.Organization, error)) *MockOrganizations_CreateOrganization_Call
type MockOrganizations_Expecter ¶ added in v0.31.0
type MockOrganizations_Expecter struct {
// contains filtered or unexported fields
}
func (*MockOrganizations_Expecter) CreateOrganization ¶ added in v0.32.10
func (_e *MockOrganizations_Expecter) CreateOrganization(ctx interface{}, opts interface{}) *MockOrganizations_CreateOrganization_Call
CreateOrganization is a helper method to define mock.On call
- ctx context.Context
- opts organizations.CreateOrganizationOpts
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
func (*MockOrganizations_Expecter) ListOrganizations ¶ added in v0.31.2
func (_e *MockOrganizations_Expecter) ListOrganizations(ctx interface{}, opts interface{}) *MockOrganizations_ListOrganizations_Call
ListOrganizations is a helper method to define mock.On call
- ctx context.Context
- opts organizations.ListOrganizationsOpts
func (*MockOrganizations_Expecter) UpdateOrganization ¶ added in v0.32.12
func (_e *MockOrganizations_Expecter) UpdateOrganization(ctx interface{}, opts interface{}) *MockOrganizations_UpdateOrganization_Call
UpdateOrganization is a helper method to define mock.On call
- ctx context.Context
- opts organizations.UpdateOrganizationOpts
type MockOrganizations_GetOrganization_Call ¶ added in v0.31.0
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 (_c *MockOrganizations_GetOrganization_Call) Return(_a0 organizations.Organization, _a1 error) *MockOrganizations_GetOrganization_Call
func (*MockOrganizations_GetOrganization_Call) Run ¶ added in v0.31.0
func (_c *MockOrganizations_GetOrganization_Call) Run(run func(ctx context.Context, opts organizations.GetOrganizationOpts)) *MockOrganizations_GetOrganization_Call
func (*MockOrganizations_GetOrganization_Call) RunAndReturn ¶ added in v0.31.0
func (_c *MockOrganizations_GetOrganization_Call) RunAndReturn(run func(context.Context, organizations.GetOrganizationOpts) (organizations.Organization, error)) *MockOrganizations_GetOrganization_Call
type MockOrganizations_ListOrganizations_Call ¶ added in v0.31.2
MockOrganizations_ListOrganizations_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListOrganizations'
func (*MockOrganizations_ListOrganizations_Call) Return ¶ added in v0.31.2
func (_c *MockOrganizations_ListOrganizations_Call) Return(_a0 organizations.ListOrganizationsResponse, _a1 error) *MockOrganizations_ListOrganizations_Call
func (*MockOrganizations_ListOrganizations_Call) Run ¶ added in v0.31.2
func (_c *MockOrganizations_ListOrganizations_Call) Run(run func(ctx context.Context, opts organizations.ListOrganizationsOpts)) *MockOrganizations_ListOrganizations_Call
func (*MockOrganizations_ListOrganizations_Call) RunAndReturn ¶ added in v0.31.2
func (_c *MockOrganizations_ListOrganizations_Call) RunAndReturn(run func(context.Context, organizations.ListOrganizationsOpts) (organizations.ListOrganizationsResponse, error)) *MockOrganizations_ListOrganizations_Call
type MockOrganizations_UpdateOrganization_Call ¶ added in v0.32.12
MockOrganizations_UpdateOrganization_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateOrganization'
func (*MockOrganizations_UpdateOrganization_Call) Return ¶ added in v0.32.12
func (_c *MockOrganizations_UpdateOrganization_Call) Return(_a0 organizations.Organization, _a1 error) *MockOrganizations_UpdateOrganization_Call
func (*MockOrganizations_UpdateOrganization_Call) Run ¶ added in v0.32.12
func (_c *MockOrganizations_UpdateOrganization_Call) Run(run func(ctx context.Context, opts organizations.UpdateOrganizationOpts)) *MockOrganizations_UpdateOrganization_Call
func (*MockOrganizations_UpdateOrganization_Call) RunAndReturn ¶ added in v0.32.12
func (_c *MockOrganizations_UpdateOrganization_Call) RunAndReturn(run func(context.Context, organizations.UpdateOrganizationOpts) (organizations.Organization, error)) *MockOrganizations_UpdateOrganization_Call
type MockUserManagement ¶
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 ¶
func (_m *MockUserManagement) AuthenticateWithCode(ctx context.Context, opts usermanagement.AuthenticateWithCodeOpts) (usermanagement.AuthenticateResponse, error)
AuthenticateWithCode provides a mock function with given fields: ctx, opts
func (*MockUserManagement) AuthenticateWithPassword ¶ added in v0.35.1
func (_m *MockUserManagement) AuthenticateWithPassword(ctx context.Context, opts usermanagement.AuthenticateWithPasswordOpts) (usermanagement.AuthenticateResponse, error)
AuthenticateWithPassword provides a mock function with given fields: ctx, opts
func (*MockUserManagement) AuthenticateWithRefreshToken ¶
func (_m *MockUserManagement) AuthenticateWithRefreshToken(ctx context.Context, opts usermanagement.AuthenticateWithRefreshTokenOpts) (usermanagement.RefreshAuthenticationResponse, error)
AuthenticateWithRefreshToken provides a mock function with given fields: ctx, opts
func (*MockUserManagement) CreateOrganizationMembership ¶ added in v0.32.11
func (_m *MockUserManagement) CreateOrganizationMembership(ctx context.Context, opts usermanagement.CreateOrganizationMembershipOpts) (usermanagement.OrganizationMembership, error)
CreateOrganizationMembership provides a mock function with given fields: ctx, opts
func (*MockUserManagement) EXPECT ¶
func (_m *MockUserManagement) EXPECT() *MockUserManagement_Expecter
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
func (_m *MockUserManagement) GetUser(ctx context.Context, opts usermanagement.GetUserOpts) (usermanagement.User, error)
GetUser provides a mock function with given fields: ctx, opts
func (*MockUserManagement) ListUsers ¶ added in v0.31.2
func (_m *MockUserManagement) ListUsers(ctx context.Context, opts usermanagement.ListUsersOpts) (usermanagement.ListUsersResponse, error)
ListUsers provides a mock function with given fields: ctx, opts
func (*MockUserManagement) SendInvitation ¶ added in v0.37.5
func (_m *MockUserManagement) SendInvitation(ctx context.Context, opts usermanagement.SendInvitationOpts) (usermanagement.Invitation, error)
SendInvitation provides a mock function with given fields: ctx, opts
func (*MockUserManagement) UpdateUser ¶ added in v0.32.12
func (_m *MockUserManagement) UpdateUser(ctx context.Context, opts usermanagement.UpdateUserOpts) (usermanagement.User, error)
UpdateUser provides a mock function with given fields: ctx, opts
type MockUserManagement_AuthenticateWithCode_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 (_c *MockUserManagement_AuthenticateWithCode_Call) Return(_a0 usermanagement.AuthenticateResponse, _a1 error) *MockUserManagement_AuthenticateWithCode_Call
func (*MockUserManagement_AuthenticateWithCode_Call) Run ¶
func (_c *MockUserManagement_AuthenticateWithCode_Call) Run(run func(ctx context.Context, opts usermanagement.AuthenticateWithCodeOpts)) *MockUserManagement_AuthenticateWithCode_Call
func (*MockUserManagement_AuthenticateWithCode_Call) RunAndReturn ¶
func (_c *MockUserManagement_AuthenticateWithCode_Call) RunAndReturn(run func(context.Context, usermanagement.AuthenticateWithCodeOpts) (usermanagement.AuthenticateResponse, error)) *MockUserManagement_AuthenticateWithCode_Call
type MockUserManagement_AuthenticateWithPassword_Call ¶ added in v0.35.1
MockUserManagement_AuthenticateWithPassword_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AuthenticateWithPassword'
func (*MockUserManagement_AuthenticateWithPassword_Call) Run ¶ added in v0.35.1
func (_c *MockUserManagement_AuthenticateWithPassword_Call) Run(run func(ctx context.Context, opts usermanagement.AuthenticateWithPasswordOpts)) *MockUserManagement_AuthenticateWithPassword_Call
func (*MockUserManagement_AuthenticateWithPassword_Call) RunAndReturn ¶ added in v0.35.1
func (_c *MockUserManagement_AuthenticateWithPassword_Call) RunAndReturn(run func(context.Context, usermanagement.AuthenticateWithPasswordOpts) (usermanagement.AuthenticateResponse, error)) *MockUserManagement_AuthenticateWithPassword_Call
type MockUserManagement_AuthenticateWithRefreshToken_Call ¶
MockUserManagement_AuthenticateWithRefreshToken_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AuthenticateWithRefreshToken'
func (*MockUserManagement_AuthenticateWithRefreshToken_Call) Run ¶
func (_c *MockUserManagement_AuthenticateWithRefreshToken_Call) Run(run func(ctx context.Context, opts usermanagement.AuthenticateWithRefreshTokenOpts)) *MockUserManagement_AuthenticateWithRefreshToken_Call
func (*MockUserManagement_AuthenticateWithRefreshToken_Call) RunAndReturn ¶
type MockUserManagement_CreateOrganizationMembership_Call ¶ added in v0.32.11
MockUserManagement_CreateOrganizationMembership_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateOrganizationMembership'
func (*MockUserManagement_CreateOrganizationMembership_Call) Run ¶ added in v0.32.11
func (_c *MockUserManagement_CreateOrganizationMembership_Call) Run(run func(ctx context.Context, opts usermanagement.CreateOrganizationMembershipOpts)) *MockUserManagement_CreateOrganizationMembership_Call
func (*MockUserManagement_CreateOrganizationMembership_Call) RunAndReturn ¶ added in v0.32.11
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) AuthenticateWithPassword ¶ added in v0.35.1
func (_e *MockUserManagement_Expecter) AuthenticateWithPassword(ctx interface{}, opts interface{}) *MockUserManagement_AuthenticateWithPassword_Call
AuthenticateWithPassword is a helper method to define mock.On call
- ctx context.Context
- opts usermanagement.AuthenticateWithPasswordOpts
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) CreateOrganizationMembership ¶ added in v0.32.11
func (_e *MockUserManagement_Expecter) CreateOrganizationMembership(ctx interface{}, opts interface{}) *MockUserManagement_CreateOrganizationMembership_Call
CreateOrganizationMembership is a helper method to define mock.On call
- ctx context.Context
- opts usermanagement.CreateOrganizationMembershipOpts
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
func (*MockUserManagement_Expecter) ListUsers ¶ added in v0.31.2
func (_e *MockUserManagement_Expecter) ListUsers(ctx interface{}, opts interface{}) *MockUserManagement_ListUsers_Call
ListUsers is a helper method to define mock.On call
- ctx context.Context
- opts usermanagement.ListUsersOpts
func (*MockUserManagement_Expecter) SendInvitation ¶ added in v0.37.5
func (_e *MockUserManagement_Expecter) SendInvitation(ctx interface{}, opts interface{}) *MockUserManagement_SendInvitation_Call
SendInvitation is a helper method to define mock.On call
- ctx context.Context
- opts usermanagement.SendInvitationOpts
func (*MockUserManagement_Expecter) UpdateUser ¶ added in v0.32.12
func (_e *MockUserManagement_Expecter) UpdateUser(ctx interface{}, opts interface{}) *MockUserManagement_UpdateUser_Call
UpdateUser is a helper method to define mock.On call
- ctx context.Context
- opts usermanagement.UpdateUserOpts
type MockUserManagement_GetAuthorizationURL_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 (_c *MockUserManagement_GetAuthorizationURL_Call) Return(_a0 *url.URL, _a1 error) *MockUserManagement_GetAuthorizationURL_Call
func (*MockUserManagement_GetAuthorizationURL_Call) Run ¶
func (_c *MockUserManagement_GetAuthorizationURL_Call) Run(run func(opts usermanagement.GetAuthorizationURLOpts)) *MockUserManagement_GetAuthorizationURL_Call
func (*MockUserManagement_GetAuthorizationURL_Call) RunAndReturn ¶
func (_c *MockUserManagement_GetAuthorizationURL_Call) RunAndReturn(run func(usermanagement.GetAuthorizationURLOpts) (*url.URL, error)) *MockUserManagement_GetAuthorizationURL_Call
type MockUserManagement_GetLogoutURL_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 (_c *MockUserManagement_GetLogoutURL_Call) Return(_a0 *url.URL, _a1 error) *MockUserManagement_GetLogoutURL_Call
func (*MockUserManagement_GetLogoutURL_Call) Run ¶
func (_c *MockUserManagement_GetLogoutURL_Call) Run(run func(opts usermanagement.GetLogoutURLOpts)) *MockUserManagement_GetLogoutURL_Call
func (*MockUserManagement_GetLogoutURL_Call) RunAndReturn ¶
func (_c *MockUserManagement_GetLogoutURL_Call) RunAndReturn(run func(usermanagement.GetLogoutURLOpts) (*url.URL, error)) *MockUserManagement_GetLogoutURL_Call
type MockUserManagement_GetUser_Call ¶ added in v0.30.15
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 (_c *MockUserManagement_GetUser_Call) Return(_a0 usermanagement.User, _a1 error) *MockUserManagement_GetUser_Call
func (*MockUserManagement_GetUser_Call) Run ¶ added in v0.30.15
func (_c *MockUserManagement_GetUser_Call) Run(run func(ctx context.Context, opts usermanagement.GetUserOpts)) *MockUserManagement_GetUser_Call
func (*MockUserManagement_GetUser_Call) RunAndReturn ¶ added in v0.30.15
func (_c *MockUserManagement_GetUser_Call) RunAndReturn(run func(context.Context, usermanagement.GetUserOpts) (usermanagement.User, error)) *MockUserManagement_GetUser_Call
type MockUserManagement_ListUsers_Call ¶ added in v0.31.2
MockUserManagement_ListUsers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListUsers'
func (*MockUserManagement_ListUsers_Call) Return ¶ added in v0.31.2
func (_c *MockUserManagement_ListUsers_Call) Return(_a0 usermanagement.ListUsersResponse, _a1 error) *MockUserManagement_ListUsers_Call
func (*MockUserManagement_ListUsers_Call) Run ¶ added in v0.31.2
func (_c *MockUserManagement_ListUsers_Call) Run(run func(ctx context.Context, opts usermanagement.ListUsersOpts)) *MockUserManagement_ListUsers_Call
func (*MockUserManagement_ListUsers_Call) RunAndReturn ¶ added in v0.31.2
func (_c *MockUserManagement_ListUsers_Call) RunAndReturn(run func(context.Context, usermanagement.ListUsersOpts) (usermanagement.ListUsersResponse, error)) *MockUserManagement_ListUsers_Call
type MockUserManagement_SendInvitation_Call ¶ added in v0.37.5
MockUserManagement_SendInvitation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendInvitation'
func (*MockUserManagement_SendInvitation_Call) Return ¶ added in v0.37.5
func (_c *MockUserManagement_SendInvitation_Call) Return(_a0 usermanagement.Invitation, _a1 error) *MockUserManagement_SendInvitation_Call
func (*MockUserManagement_SendInvitation_Call) Run ¶ added in v0.37.5
func (_c *MockUserManagement_SendInvitation_Call) Run(run func(ctx context.Context, opts usermanagement.SendInvitationOpts)) *MockUserManagement_SendInvitation_Call
func (*MockUserManagement_SendInvitation_Call) RunAndReturn ¶ added in v0.37.5
func (_c *MockUserManagement_SendInvitation_Call) RunAndReturn(run func(context.Context, usermanagement.SendInvitationOpts) (usermanagement.Invitation, error)) *MockUserManagement_SendInvitation_Call
type MockUserManagement_UpdateUser_Call ¶ added in v0.32.12
MockUserManagement_UpdateUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateUser'
func (*MockUserManagement_UpdateUser_Call) Return ¶ added in v0.32.12
func (_c *MockUserManagement_UpdateUser_Call) Return(_a0 usermanagement.User, _a1 error) *MockUserManagement_UpdateUser_Call
func (*MockUserManagement_UpdateUser_Call) Run ¶ added in v0.32.12
func (_c *MockUserManagement_UpdateUser_Call) Run(run func(ctx context.Context, opts usermanagement.UpdateUserOpts)) *MockUserManagement_UpdateUser_Call
func (*MockUserManagement_UpdateUser_Call) RunAndReturn ¶ added in v0.32.12
func (_c *MockUserManagement_UpdateUser_Call) RunAndReturn(run func(context.Context, usermanagement.UpdateUserOpts) (usermanagement.User, error)) *MockUserManagement_UpdateUser_Call