iam

package
v0.39.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAccountAccessControlInterface

type MockAccountAccessControlInterface struct {
	mock.Mock
}

MockAccountAccessControlInterface is an autogenerated mock type for the AccountAccessControlInterface type

func NewMockAccountAccessControlInterface

func NewMockAccountAccessControlInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockAccountAccessControlInterface

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

func (*MockAccountAccessControlInterface) GetAssignableRolesForResource

GetAssignableRolesForResource provides a mock function with given fields: ctx, request

func (*MockAccountAccessControlInterface) GetRuleSet

GetRuleSet provides a mock function with given fields: ctx, request

func (*MockAccountAccessControlInterface) Impl

Impl provides a mock function with given fields:

func (*MockAccountAccessControlInterface) UpdateRuleSet

UpdateRuleSet provides a mock function with given fields: ctx, request

func (*MockAccountAccessControlInterface) WithImpl

WithImpl provides a mock function with given fields: impl

type MockAccountAccessControlInterface_Expecter

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

func (*MockAccountAccessControlInterface_Expecter) GetAssignableRolesForResource

func (_e *MockAccountAccessControlInterface_Expecter) GetAssignableRolesForResource(ctx interface{}, request interface{}) *MockAccountAccessControlInterface_GetAssignableRolesForResource_Call

GetAssignableRolesForResource is a helper method to define mock.On call

  • ctx context.Context
  • request iam.GetAssignableRolesForResourceRequest

func (*MockAccountAccessControlInterface_Expecter) GetRuleSet

func (_e *MockAccountAccessControlInterface_Expecter) GetRuleSet(ctx interface{}, request interface{}) *MockAccountAccessControlInterface_GetRuleSet_Call

GetRuleSet is a helper method to define mock.On call

  • ctx context.Context
  • request iam.GetRuleSetRequest

func (*MockAccountAccessControlInterface_Expecter) Impl

Impl is a helper method to define mock.On call

func (*MockAccountAccessControlInterface_Expecter) UpdateRuleSet

func (_e *MockAccountAccessControlInterface_Expecter) UpdateRuleSet(ctx interface{}, request interface{}) *MockAccountAccessControlInterface_UpdateRuleSet_Call

UpdateRuleSet is a helper method to define mock.On call

  • ctx context.Context
  • request iam.UpdateRuleSetRequest

func (*MockAccountAccessControlInterface_Expecter) WithImpl

WithImpl is a helper method to define mock.On call

  • impl iam.AccountAccessControlService

type MockAccountAccessControlInterface_GetAssignableRolesForResource_Call

type MockAccountAccessControlInterface_GetAssignableRolesForResource_Call struct {
	*mock.Call
}

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

type MockAccountAccessControlInterface_GetRuleSet_Call

type MockAccountAccessControlInterface_GetRuleSet_Call struct {
	*mock.Call
}

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

func (*MockAccountAccessControlInterface_GetRuleSet_Call) Return

func (*MockAccountAccessControlInterface_GetRuleSet_Call) Run

type MockAccountAccessControlInterface_Impl_Call

type MockAccountAccessControlInterface_Impl_Call struct {
	*mock.Call
}

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

func (*MockAccountAccessControlInterface_Impl_Call) Return

func (*MockAccountAccessControlInterface_Impl_Call) Run

func (*MockAccountAccessControlInterface_Impl_Call) RunAndReturn

type MockAccountAccessControlInterface_UpdateRuleSet_Call

type MockAccountAccessControlInterface_UpdateRuleSet_Call struct {
	*mock.Call
}

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

func (*MockAccountAccessControlInterface_UpdateRuleSet_Call) Return

func (*MockAccountAccessControlInterface_UpdateRuleSet_Call) Run

type MockAccountAccessControlInterface_WithImpl_Call

type MockAccountAccessControlInterface_WithImpl_Call struct {
	*mock.Call
}

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

func (*MockAccountAccessControlInterface_WithImpl_Call) Run

type MockAccountAccessControlProxyInterface

type MockAccountAccessControlProxyInterface struct {
	mock.Mock
}

MockAccountAccessControlProxyInterface is an autogenerated mock type for the AccountAccessControlProxyInterface type

func NewMockAccountAccessControlProxyInterface

func NewMockAccountAccessControlProxyInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockAccountAccessControlProxyInterface

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

func (*MockAccountAccessControlProxyInterface) GetAssignableRolesForResource

GetAssignableRolesForResource provides a mock function with given fields: ctx, request

func (*MockAccountAccessControlProxyInterface) GetRuleSet

GetRuleSet provides a mock function with given fields: ctx, request

func (*MockAccountAccessControlProxyInterface) Impl

Impl provides a mock function with given fields:

func (*MockAccountAccessControlProxyInterface) UpdateRuleSet

UpdateRuleSet provides a mock function with given fields: ctx, request

func (*MockAccountAccessControlProxyInterface) WithImpl

WithImpl provides a mock function with given fields: impl

type MockAccountAccessControlProxyInterface_Expecter

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

func (*MockAccountAccessControlProxyInterface_Expecter) GetAssignableRolesForResource

func (_e *MockAccountAccessControlProxyInterface_Expecter) GetAssignableRolesForResource(ctx interface{}, request interface{}) *MockAccountAccessControlProxyInterface_GetAssignableRolesForResource_Call

GetAssignableRolesForResource is a helper method to define mock.On call

  • ctx context.Context
  • request iam.GetAssignableRolesForResourceRequest

func (*MockAccountAccessControlProxyInterface_Expecter) GetRuleSet

GetRuleSet is a helper method to define mock.On call

  • ctx context.Context
  • request iam.GetRuleSetRequest

func (*MockAccountAccessControlProxyInterface_Expecter) Impl

Impl is a helper method to define mock.On call

func (*MockAccountAccessControlProxyInterface_Expecter) UpdateRuleSet

UpdateRuleSet is a helper method to define mock.On call

  • ctx context.Context
  • request iam.UpdateRuleSetRequest

func (*MockAccountAccessControlProxyInterface_Expecter) WithImpl

WithImpl is a helper method to define mock.On call

  • impl iam.AccountAccessControlProxyService

type MockAccountAccessControlProxyInterface_GetAssignableRolesForResource_Call

type MockAccountAccessControlProxyInterface_GetAssignableRolesForResource_Call struct {
	*mock.Call
}

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

type MockAccountAccessControlProxyInterface_GetRuleSet_Call

type MockAccountAccessControlProxyInterface_GetRuleSet_Call struct {
	*mock.Call
}

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

func (*MockAccountAccessControlProxyInterface_GetRuleSet_Call) Return

func (*MockAccountAccessControlProxyInterface_GetRuleSet_Call) Run

type MockAccountAccessControlProxyInterface_Impl_Call

type MockAccountAccessControlProxyInterface_Impl_Call struct {
	*mock.Call
}

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

func (*MockAccountAccessControlProxyInterface_Impl_Call) Run

func (*MockAccountAccessControlProxyInterface_Impl_Call) RunAndReturn

type MockAccountAccessControlProxyInterface_UpdateRuleSet_Call

type MockAccountAccessControlProxyInterface_UpdateRuleSet_Call struct {
	*mock.Call
}

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

func (*MockAccountAccessControlProxyInterface_UpdateRuleSet_Call) Return

func (*MockAccountAccessControlProxyInterface_UpdateRuleSet_Call) Run

type MockAccountAccessControlProxyInterface_WithImpl_Call

type MockAccountAccessControlProxyInterface_WithImpl_Call struct {
	*mock.Call
}

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

func (*MockAccountAccessControlProxyInterface_WithImpl_Call) Run

type MockAccountGroupsInterface

type MockAccountGroupsInterface struct {
	mock.Mock
}

MockAccountGroupsInterface is an autogenerated mock type for the AccountGroupsInterface type

func NewMockAccountGroupsInterface

func NewMockAccountGroupsInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockAccountGroupsInterface

NewMockAccountGroupsInterface creates a new instance of MockAccountGroupsInterface. 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 (*MockAccountGroupsInterface) Create

func (_m *MockAccountGroupsInterface) Create(ctx context.Context, request iam.Group) (*iam.Group, error)

Create provides a mock function with given fields: ctx, request

func (*MockAccountGroupsInterface) Delete

Delete provides a mock function with given fields: ctx, request

func (*MockAccountGroupsInterface) DeleteById

func (_m *MockAccountGroupsInterface) DeleteById(ctx context.Context, id string) error

DeleteById provides a mock function with given fields: ctx, id

func (*MockAccountGroupsInterface) EXPECT

func (*MockAccountGroupsInterface) Get

Get provides a mock function with given fields: ctx, request

func (*MockAccountGroupsInterface) GetByDisplayName

func (_m *MockAccountGroupsInterface) GetByDisplayName(ctx context.Context, name string) (*iam.Group, error)

GetByDisplayName provides a mock function with given fields: ctx, name

func (*MockAccountGroupsInterface) GetById

func (_m *MockAccountGroupsInterface) GetById(ctx context.Context, id string) (*iam.Group, error)

GetById provides a mock function with given fields: ctx, id

func (*MockAccountGroupsInterface) GroupDisplayNameToIdMap

func (_m *MockAccountGroupsInterface) GroupDisplayNameToIdMap(ctx context.Context, request iam.ListAccountGroupsRequest) (map[string]string, error)

GroupDisplayNameToIdMap provides a mock function with given fields: ctx, request

func (*MockAccountGroupsInterface) Impl

Impl provides a mock function with given fields:

func (*MockAccountGroupsInterface) List

List provides a mock function with given fields: ctx, request

func (*MockAccountGroupsInterface) ListAll

ListAll provides a mock function with given fields: ctx, request

func (*MockAccountGroupsInterface) Patch

Patch provides a mock function with given fields: ctx, request

func (*MockAccountGroupsInterface) Update

func (_m *MockAccountGroupsInterface) Update(ctx context.Context, request iam.Group) error

Update provides a mock function with given fields: ctx, request

func (*MockAccountGroupsInterface) WithImpl

WithImpl provides a mock function with given fields: impl

type MockAccountGroupsInterface_Create_Call

type MockAccountGroupsInterface_Create_Call struct {
	*mock.Call
}

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

func (*MockAccountGroupsInterface_Create_Call) Return

func (*MockAccountGroupsInterface_Create_Call) Run

func (*MockAccountGroupsInterface_Create_Call) RunAndReturn

type MockAccountGroupsInterface_DeleteById_Call

type MockAccountGroupsInterface_DeleteById_Call struct {
	*mock.Call
}

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

func (*MockAccountGroupsInterface_DeleteById_Call) Return

func (*MockAccountGroupsInterface_DeleteById_Call) Run

func (*MockAccountGroupsInterface_DeleteById_Call) RunAndReturn

type MockAccountGroupsInterface_Delete_Call

type MockAccountGroupsInterface_Delete_Call struct {
	*mock.Call
}

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

func (*MockAccountGroupsInterface_Delete_Call) Return

func (*MockAccountGroupsInterface_Delete_Call) Run

func (*MockAccountGroupsInterface_Delete_Call) RunAndReturn

type MockAccountGroupsInterface_Expecter

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

func (*MockAccountGroupsInterface_Expecter) Create

func (_e *MockAccountGroupsInterface_Expecter) Create(ctx interface{}, request interface{}) *MockAccountGroupsInterface_Create_Call

Create is a helper method to define mock.On call

  • ctx context.Context
  • request iam.Group

func (*MockAccountGroupsInterface_Expecter) Delete

func (_e *MockAccountGroupsInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockAccountGroupsInterface_Delete_Call

Delete is a helper method to define mock.On call

  • ctx context.Context
  • request iam.DeleteAccountGroupRequest

func (*MockAccountGroupsInterface_Expecter) DeleteById

func (_e *MockAccountGroupsInterface_Expecter) DeleteById(ctx interface{}, id interface{}) *MockAccountGroupsInterface_DeleteById_Call

DeleteById is a helper method to define mock.On call

  • ctx context.Context
  • id string

func (*MockAccountGroupsInterface_Expecter) Get

func (_e *MockAccountGroupsInterface_Expecter) Get(ctx interface{}, request interface{}) *MockAccountGroupsInterface_Get_Call

Get is a helper method to define mock.On call

  • ctx context.Context
  • request iam.GetAccountGroupRequest

func (*MockAccountGroupsInterface_Expecter) GetByDisplayName

func (_e *MockAccountGroupsInterface_Expecter) GetByDisplayName(ctx interface{}, name interface{}) *MockAccountGroupsInterface_GetByDisplayName_Call

GetByDisplayName is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*MockAccountGroupsInterface_Expecter) GetById

func (_e *MockAccountGroupsInterface_Expecter) GetById(ctx interface{}, id interface{}) *MockAccountGroupsInterface_GetById_Call

GetById is a helper method to define mock.On call

  • ctx context.Context
  • id string

func (*MockAccountGroupsInterface_Expecter) GroupDisplayNameToIdMap

func (_e *MockAccountGroupsInterface_Expecter) GroupDisplayNameToIdMap(ctx interface{}, request interface{}) *MockAccountGroupsInterface_GroupDisplayNameToIdMap_Call

GroupDisplayNameToIdMap is a helper method to define mock.On call

  • ctx context.Context
  • request iam.ListAccountGroupsRequest

func (*MockAccountGroupsInterface_Expecter) Impl

Impl is a helper method to define mock.On call

func (*MockAccountGroupsInterface_Expecter) List

func (_e *MockAccountGroupsInterface_Expecter) List(ctx interface{}, request interface{}) *MockAccountGroupsInterface_List_Call

List is a helper method to define mock.On call

  • ctx context.Context
  • request iam.ListAccountGroupsRequest

func (*MockAccountGroupsInterface_Expecter) ListAll

func (_e *MockAccountGroupsInterface_Expecter) ListAll(ctx interface{}, request interface{}) *MockAccountGroupsInterface_ListAll_Call

ListAll is a helper method to define mock.On call

  • ctx context.Context
  • request iam.ListAccountGroupsRequest

func (*MockAccountGroupsInterface_Expecter) Patch

func (_e *MockAccountGroupsInterface_Expecter) Patch(ctx interface{}, request interface{}) *MockAccountGroupsInterface_Patch_Call

Patch is a helper method to define mock.On call

  • ctx context.Context
  • request iam.PartialUpdate

func (*MockAccountGroupsInterface_Expecter) Update

func (_e *MockAccountGroupsInterface_Expecter) Update(ctx interface{}, request interface{}) *MockAccountGroupsInterface_Update_Call

Update is a helper method to define mock.On call

  • ctx context.Context
  • request iam.Group

func (*MockAccountGroupsInterface_Expecter) WithImpl

WithImpl is a helper method to define mock.On call

  • impl iam.AccountGroupsService

type MockAccountGroupsInterface_GetByDisplayName_Call

type MockAccountGroupsInterface_GetByDisplayName_Call struct {
	*mock.Call
}

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

func (*MockAccountGroupsInterface_GetByDisplayName_Call) Return

func (*MockAccountGroupsInterface_GetByDisplayName_Call) Run

func (*MockAccountGroupsInterface_GetByDisplayName_Call) RunAndReturn

type MockAccountGroupsInterface_GetById_Call

type MockAccountGroupsInterface_GetById_Call struct {
	*mock.Call
}

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

func (*MockAccountGroupsInterface_GetById_Call) Return

func (*MockAccountGroupsInterface_GetById_Call) Run

func (*MockAccountGroupsInterface_GetById_Call) RunAndReturn

type MockAccountGroupsInterface_Get_Call

type MockAccountGroupsInterface_Get_Call struct {
	*mock.Call
}

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

func (*MockAccountGroupsInterface_Get_Call) Return

func (*MockAccountGroupsInterface_Get_Call) Run

func (*MockAccountGroupsInterface_Get_Call) RunAndReturn

type MockAccountGroupsInterface_GroupDisplayNameToIdMap_Call

type MockAccountGroupsInterface_GroupDisplayNameToIdMap_Call struct {
	*mock.Call
}

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

func (*MockAccountGroupsInterface_GroupDisplayNameToIdMap_Call) Return

func (*MockAccountGroupsInterface_GroupDisplayNameToIdMap_Call) Run

type MockAccountGroupsInterface_Impl_Call

type MockAccountGroupsInterface_Impl_Call struct {
	*mock.Call
}

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

func (*MockAccountGroupsInterface_Impl_Call) Return

func (*MockAccountGroupsInterface_Impl_Call) Run

func (*MockAccountGroupsInterface_Impl_Call) RunAndReturn

type MockAccountGroupsInterface_ListAll_Call

type MockAccountGroupsInterface_ListAll_Call struct {
	*mock.Call
}

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

func (*MockAccountGroupsInterface_ListAll_Call) Return

func (*MockAccountGroupsInterface_ListAll_Call) Run

func (*MockAccountGroupsInterface_ListAll_Call) RunAndReturn

type MockAccountGroupsInterface_List_Call

type MockAccountGroupsInterface_List_Call struct {
	*mock.Call
}

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

func (*MockAccountGroupsInterface_List_Call) Return

func (*MockAccountGroupsInterface_List_Call) Run

type MockAccountGroupsInterface_Patch_Call

type MockAccountGroupsInterface_Patch_Call struct {
	*mock.Call
}

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

func (*MockAccountGroupsInterface_Patch_Call) Return

func (*MockAccountGroupsInterface_Patch_Call) Run

func (*MockAccountGroupsInterface_Patch_Call) RunAndReturn

type MockAccountGroupsInterface_Update_Call

type MockAccountGroupsInterface_Update_Call struct {
	*mock.Call
}

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

func (*MockAccountGroupsInterface_Update_Call) Return

func (*MockAccountGroupsInterface_Update_Call) Run

func (*MockAccountGroupsInterface_Update_Call) RunAndReturn

type MockAccountGroupsInterface_WithImpl_Call

type MockAccountGroupsInterface_WithImpl_Call struct {
	*mock.Call
}

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

func (*MockAccountGroupsInterface_WithImpl_Call) Return

func (*MockAccountGroupsInterface_WithImpl_Call) Run

type MockAccountServicePrincipalsInterface

type MockAccountServicePrincipalsInterface struct {
	mock.Mock
}

MockAccountServicePrincipalsInterface is an autogenerated mock type for the AccountServicePrincipalsInterface type

func NewMockAccountServicePrincipalsInterface

func NewMockAccountServicePrincipalsInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockAccountServicePrincipalsInterface

NewMockAccountServicePrincipalsInterface creates a new instance of MockAccountServicePrincipalsInterface. 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 (*MockAccountServicePrincipalsInterface) Create

Create provides a mock function with given fields: ctx, request

func (*MockAccountServicePrincipalsInterface) Delete

Delete provides a mock function with given fields: ctx, request

func (*MockAccountServicePrincipalsInterface) DeleteById

DeleteById provides a mock function with given fields: ctx, id

func (*MockAccountServicePrincipalsInterface) EXPECT

func (*MockAccountServicePrincipalsInterface) Get

Get provides a mock function with given fields: ctx, request

func (*MockAccountServicePrincipalsInterface) GetByDisplayName

GetByDisplayName provides a mock function with given fields: ctx, name

func (*MockAccountServicePrincipalsInterface) GetById

GetById provides a mock function with given fields: ctx, id

func (*MockAccountServicePrincipalsInterface) Impl

Impl provides a mock function with given fields:

func (*MockAccountServicePrincipalsInterface) List

List provides a mock function with given fields: ctx, request

func (*MockAccountServicePrincipalsInterface) ListAll

ListAll provides a mock function with given fields: ctx, request

func (*MockAccountServicePrincipalsInterface) Patch

Patch provides a mock function with given fields: ctx, request

func (*MockAccountServicePrincipalsInterface) ServicePrincipalDisplayNameToIdMap

func (_m *MockAccountServicePrincipalsInterface) ServicePrincipalDisplayNameToIdMap(ctx context.Context, request iam.ListAccountServicePrincipalsRequest) (map[string]string, error)

ServicePrincipalDisplayNameToIdMap provides a mock function with given fields: ctx, request

func (*MockAccountServicePrincipalsInterface) Update

Update provides a mock function with given fields: ctx, request

func (*MockAccountServicePrincipalsInterface) WithImpl

WithImpl provides a mock function with given fields: impl

type MockAccountServicePrincipalsInterface_Create_Call

type MockAccountServicePrincipalsInterface_Create_Call struct {
	*mock.Call
}

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

func (*MockAccountServicePrincipalsInterface_Create_Call) Return

func (*MockAccountServicePrincipalsInterface_Create_Call) Run

type MockAccountServicePrincipalsInterface_DeleteById_Call

type MockAccountServicePrincipalsInterface_DeleteById_Call struct {
	*mock.Call
}

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

func (*MockAccountServicePrincipalsInterface_DeleteById_Call) Return

func (*MockAccountServicePrincipalsInterface_DeleteById_Call) Run

func (*MockAccountServicePrincipalsInterface_DeleteById_Call) RunAndReturn

type MockAccountServicePrincipalsInterface_Delete_Call

type MockAccountServicePrincipalsInterface_Delete_Call struct {
	*mock.Call
}

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

func (*MockAccountServicePrincipalsInterface_Delete_Call) Return

func (*MockAccountServicePrincipalsInterface_Delete_Call) Run

type MockAccountServicePrincipalsInterface_Expecter

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

func (*MockAccountServicePrincipalsInterface_Expecter) Create

Create is a helper method to define mock.On call

  • ctx context.Context
  • request iam.ServicePrincipal

func (*MockAccountServicePrincipalsInterface_Expecter) Delete

Delete is a helper method to define mock.On call

  • ctx context.Context
  • request iam.DeleteAccountServicePrincipalRequest

func (*MockAccountServicePrincipalsInterface_Expecter) DeleteById

DeleteById is a helper method to define mock.On call

  • ctx context.Context
  • id string

func (*MockAccountServicePrincipalsInterface_Expecter) Get

Get is a helper method to define mock.On call

  • ctx context.Context
  • request iam.GetAccountServicePrincipalRequest

func (*MockAccountServicePrincipalsInterface_Expecter) GetByDisplayName

GetByDisplayName is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*MockAccountServicePrincipalsInterface_Expecter) GetById

GetById is a helper method to define mock.On call

  • ctx context.Context
  • id string

func (*MockAccountServicePrincipalsInterface_Expecter) Impl

Impl is a helper method to define mock.On call

func (*MockAccountServicePrincipalsInterface_Expecter) List

List is a helper method to define mock.On call

  • ctx context.Context
  • request iam.ListAccountServicePrincipalsRequest

func (*MockAccountServicePrincipalsInterface_Expecter) ListAll

ListAll is a helper method to define mock.On call

  • ctx context.Context
  • request iam.ListAccountServicePrincipalsRequest

func (*MockAccountServicePrincipalsInterface_Expecter) Patch

Patch is a helper method to define mock.On call

  • ctx context.Context
  • request iam.PartialUpdate

func (*MockAccountServicePrincipalsInterface_Expecter) ServicePrincipalDisplayNameToIdMap

func (_e *MockAccountServicePrincipalsInterface_Expecter) ServicePrincipalDisplayNameToIdMap(ctx interface{}, request interface{}) *MockAccountServicePrincipalsInterface_ServicePrincipalDisplayNameToIdMap_Call

ServicePrincipalDisplayNameToIdMap is a helper method to define mock.On call

  • ctx context.Context
  • request iam.ListAccountServicePrincipalsRequest

func (*MockAccountServicePrincipalsInterface_Expecter) Update

Update is a helper method to define mock.On call

  • ctx context.Context
  • request iam.ServicePrincipal

func (*MockAccountServicePrincipalsInterface_Expecter) WithImpl

WithImpl is a helper method to define mock.On call

  • impl iam.AccountServicePrincipalsService

type MockAccountServicePrincipalsInterface_GetByDisplayName_Call

type MockAccountServicePrincipalsInterface_GetByDisplayName_Call struct {
	*mock.Call
}

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

func (*MockAccountServicePrincipalsInterface_GetByDisplayName_Call) Return

func (*MockAccountServicePrincipalsInterface_GetByDisplayName_Call) Run

func (*MockAccountServicePrincipalsInterface_GetByDisplayName_Call) RunAndReturn

type MockAccountServicePrincipalsInterface_GetById_Call

type MockAccountServicePrincipalsInterface_GetById_Call struct {
	*mock.Call
}

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

func (*MockAccountServicePrincipalsInterface_GetById_Call) Return

func (*MockAccountServicePrincipalsInterface_GetById_Call) Run

func (*MockAccountServicePrincipalsInterface_GetById_Call) RunAndReturn

type MockAccountServicePrincipalsInterface_Get_Call

type MockAccountServicePrincipalsInterface_Get_Call struct {
	*mock.Call
}

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

func (*MockAccountServicePrincipalsInterface_Get_Call) Return

func (*MockAccountServicePrincipalsInterface_Get_Call) Run

type MockAccountServicePrincipalsInterface_Impl_Call

type MockAccountServicePrincipalsInterface_Impl_Call struct {
	*mock.Call
}

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

func (*MockAccountServicePrincipalsInterface_Impl_Call) Run

func (*MockAccountServicePrincipalsInterface_Impl_Call) RunAndReturn

type MockAccountServicePrincipalsInterface_ListAll_Call

type MockAccountServicePrincipalsInterface_ListAll_Call struct {
	*mock.Call
}

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

func (*MockAccountServicePrincipalsInterface_ListAll_Call) Return

func (*MockAccountServicePrincipalsInterface_ListAll_Call) Run

type MockAccountServicePrincipalsInterface_List_Call

type MockAccountServicePrincipalsInterface_List_Call struct {
	*mock.Call
}

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

func (*MockAccountServicePrincipalsInterface_List_Call) Run

type MockAccountServicePrincipalsInterface_Patch_Call

type MockAccountServicePrincipalsInterface_Patch_Call struct {
	*mock.Call
}

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

func (*MockAccountServicePrincipalsInterface_Patch_Call) Return

func (*MockAccountServicePrincipalsInterface_Patch_Call) Run

func (*MockAccountServicePrincipalsInterface_Patch_Call) RunAndReturn

type MockAccountServicePrincipalsInterface_ServicePrincipalDisplayNameToIdMap_Call

type MockAccountServicePrincipalsInterface_ServicePrincipalDisplayNameToIdMap_Call struct {
	*mock.Call
}

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

func (*MockAccountServicePrincipalsInterface_ServicePrincipalDisplayNameToIdMap_Call) Return

type MockAccountServicePrincipalsInterface_Update_Call

type MockAccountServicePrincipalsInterface_Update_Call struct {
	*mock.Call
}

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

func (*MockAccountServicePrincipalsInterface_Update_Call) Return

func (*MockAccountServicePrincipalsInterface_Update_Call) Run

func (*MockAccountServicePrincipalsInterface_Update_Call) RunAndReturn

type MockAccountServicePrincipalsInterface_WithImpl_Call

type MockAccountServicePrincipalsInterface_WithImpl_Call struct {
	*mock.Call
}

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

func (*MockAccountServicePrincipalsInterface_WithImpl_Call) Run

type MockAccountUsersInterface

type MockAccountUsersInterface struct {
	mock.Mock
}

MockAccountUsersInterface is an autogenerated mock type for the AccountUsersInterface type

func NewMockAccountUsersInterface

func NewMockAccountUsersInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockAccountUsersInterface

NewMockAccountUsersInterface creates a new instance of MockAccountUsersInterface. 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 (*MockAccountUsersInterface) Create

func (_m *MockAccountUsersInterface) Create(ctx context.Context, request iam.User) (*iam.User, error)

Create provides a mock function with given fields: ctx, request

func (*MockAccountUsersInterface) Delete

Delete provides a mock function with given fields: ctx, request

func (*MockAccountUsersInterface) DeleteById

func (_m *MockAccountUsersInterface) DeleteById(ctx context.Context, id string) error

DeleteById provides a mock function with given fields: ctx, id

func (*MockAccountUsersInterface) EXPECT

func (*MockAccountUsersInterface) Get

Get provides a mock function with given fields: ctx, request

func (*MockAccountUsersInterface) GetById

func (_m *MockAccountUsersInterface) GetById(ctx context.Context, id string) (*iam.User, error)

GetById provides a mock function with given fields: ctx, id

func (*MockAccountUsersInterface) GetByUserName

func (_m *MockAccountUsersInterface) GetByUserName(ctx context.Context, name string) (*iam.User, error)

GetByUserName provides a mock function with given fields: ctx, name

func (*MockAccountUsersInterface) Impl

Impl provides a mock function with given fields:

func (*MockAccountUsersInterface) List

List provides a mock function with given fields: ctx, request

func (*MockAccountUsersInterface) ListAll

ListAll provides a mock function with given fields: ctx, request

func (*MockAccountUsersInterface) Patch

Patch provides a mock function with given fields: ctx, request

func (*MockAccountUsersInterface) Update

func (_m *MockAccountUsersInterface) Update(ctx context.Context, request iam.User) error

Update provides a mock function with given fields: ctx, request

func (*MockAccountUsersInterface) UserUserNameToIdMap

func (_m *MockAccountUsersInterface) UserUserNameToIdMap(ctx context.Context, request iam.ListAccountUsersRequest) (map[string]string, error)

UserUserNameToIdMap provides a mock function with given fields: ctx, request

func (*MockAccountUsersInterface) WithImpl

WithImpl provides a mock function with given fields: impl

type MockAccountUsersInterface_Create_Call

type MockAccountUsersInterface_Create_Call struct {
	*mock.Call
}

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

func (*MockAccountUsersInterface_Create_Call) Return

func (*MockAccountUsersInterface_Create_Call) Run

func (*MockAccountUsersInterface_Create_Call) RunAndReturn

type MockAccountUsersInterface_DeleteById_Call

type MockAccountUsersInterface_DeleteById_Call struct {
	*mock.Call
}

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

func (*MockAccountUsersInterface_DeleteById_Call) Return

func (*MockAccountUsersInterface_DeleteById_Call) Run

func (*MockAccountUsersInterface_DeleteById_Call) RunAndReturn

type MockAccountUsersInterface_Delete_Call

type MockAccountUsersInterface_Delete_Call struct {
	*mock.Call
}

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

func (*MockAccountUsersInterface_Delete_Call) Return

func (*MockAccountUsersInterface_Delete_Call) Run

func (*MockAccountUsersInterface_Delete_Call) RunAndReturn

type MockAccountUsersInterface_Expecter

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

func (*MockAccountUsersInterface_Expecter) Create

func (_e *MockAccountUsersInterface_Expecter) Create(ctx interface{}, request interface{}) *MockAccountUsersInterface_Create_Call

Create is a helper method to define mock.On call

  • ctx context.Context
  • request iam.User

func (*MockAccountUsersInterface_Expecter) Delete

func (_e *MockAccountUsersInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockAccountUsersInterface_Delete_Call

Delete is a helper method to define mock.On call

  • ctx context.Context
  • request iam.DeleteAccountUserRequest

func (*MockAccountUsersInterface_Expecter) DeleteById

func (_e *MockAccountUsersInterface_Expecter) DeleteById(ctx interface{}, id interface{}) *MockAccountUsersInterface_DeleteById_Call

DeleteById is a helper method to define mock.On call

  • ctx context.Context
  • id string

func (*MockAccountUsersInterface_Expecter) Get

func (_e *MockAccountUsersInterface_Expecter) Get(ctx interface{}, request interface{}) *MockAccountUsersInterface_Get_Call

Get is a helper method to define mock.On call

  • ctx context.Context
  • request iam.GetAccountUserRequest

func (*MockAccountUsersInterface_Expecter) GetById

func (_e *MockAccountUsersInterface_Expecter) GetById(ctx interface{}, id interface{}) *MockAccountUsersInterface_GetById_Call

GetById is a helper method to define mock.On call

  • ctx context.Context
  • id string

func (*MockAccountUsersInterface_Expecter) GetByUserName

func (_e *MockAccountUsersInterface_Expecter) GetByUserName(ctx interface{}, name interface{}) *MockAccountUsersInterface_GetByUserName_Call

GetByUserName is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*MockAccountUsersInterface_Expecter) Impl

Impl is a helper method to define mock.On call

func (*MockAccountUsersInterface_Expecter) List

func (_e *MockAccountUsersInterface_Expecter) List(ctx interface{}, request interface{}) *MockAccountUsersInterface_List_Call

List is a helper method to define mock.On call

  • ctx context.Context
  • request iam.ListAccountUsersRequest

func (*MockAccountUsersInterface_Expecter) ListAll

func (_e *MockAccountUsersInterface_Expecter) ListAll(ctx interface{}, request interface{}) *MockAccountUsersInterface_ListAll_Call

ListAll is a helper method to define mock.On call

  • ctx context.Context
  • request iam.ListAccountUsersRequest

func (*MockAccountUsersInterface_Expecter) Patch

func (_e *MockAccountUsersInterface_Expecter) Patch(ctx interface{}, request interface{}) *MockAccountUsersInterface_Patch_Call

Patch is a helper method to define mock.On call

  • ctx context.Context
  • request iam.PartialUpdate

func (*MockAccountUsersInterface_Expecter) Update

func (_e *MockAccountUsersInterface_Expecter) Update(ctx interface{}, request interface{}) *MockAccountUsersInterface_Update_Call

Update is a helper method to define mock.On call

  • ctx context.Context
  • request iam.User

func (*MockAccountUsersInterface_Expecter) UserUserNameToIdMap

func (_e *MockAccountUsersInterface_Expecter) UserUserNameToIdMap(ctx interface{}, request interface{}) *MockAccountUsersInterface_UserUserNameToIdMap_Call

UserUserNameToIdMap is a helper method to define mock.On call

  • ctx context.Context
  • request iam.ListAccountUsersRequest

func (*MockAccountUsersInterface_Expecter) WithImpl

WithImpl is a helper method to define mock.On call

  • impl iam.AccountUsersService

type MockAccountUsersInterface_GetById_Call

type MockAccountUsersInterface_GetById_Call struct {
	*mock.Call
}

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

func (*MockAccountUsersInterface_GetById_Call) Return

func (*MockAccountUsersInterface_GetById_Call) Run

func (*MockAccountUsersInterface_GetById_Call) RunAndReturn

type MockAccountUsersInterface_GetByUserName_Call

type MockAccountUsersInterface_GetByUserName_Call struct {
	*mock.Call
}

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

func (*MockAccountUsersInterface_GetByUserName_Call) Return

func (*MockAccountUsersInterface_GetByUserName_Call) Run

func (*MockAccountUsersInterface_GetByUserName_Call) RunAndReturn

type MockAccountUsersInterface_Get_Call

type MockAccountUsersInterface_Get_Call struct {
	*mock.Call
}

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

func (*MockAccountUsersInterface_Get_Call) Return

func (*MockAccountUsersInterface_Get_Call) Run

func (*MockAccountUsersInterface_Get_Call) RunAndReturn

type MockAccountUsersInterface_Impl_Call

type MockAccountUsersInterface_Impl_Call struct {
	*mock.Call
}

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

func (*MockAccountUsersInterface_Impl_Call) Return

func (*MockAccountUsersInterface_Impl_Call) Run

func (*MockAccountUsersInterface_Impl_Call) RunAndReturn

type MockAccountUsersInterface_ListAll_Call

type MockAccountUsersInterface_ListAll_Call struct {
	*mock.Call
}

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

func (*MockAccountUsersInterface_ListAll_Call) Return

func (*MockAccountUsersInterface_ListAll_Call) Run

func (*MockAccountUsersInterface_ListAll_Call) RunAndReturn

type MockAccountUsersInterface_List_Call

type MockAccountUsersInterface_List_Call struct {
	*mock.Call
}

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

func (*MockAccountUsersInterface_List_Call) Return

func (*MockAccountUsersInterface_List_Call) Run

type MockAccountUsersInterface_Patch_Call

type MockAccountUsersInterface_Patch_Call struct {
	*mock.Call
}

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

func (*MockAccountUsersInterface_Patch_Call) Return

func (*MockAccountUsersInterface_Patch_Call) Run

func (*MockAccountUsersInterface_Patch_Call) RunAndReturn

type MockAccountUsersInterface_Update_Call

type MockAccountUsersInterface_Update_Call struct {
	*mock.Call
}

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

func (*MockAccountUsersInterface_Update_Call) Return

func (*MockAccountUsersInterface_Update_Call) Run

func (*MockAccountUsersInterface_Update_Call) RunAndReturn

type MockAccountUsersInterface_UserUserNameToIdMap_Call

type MockAccountUsersInterface_UserUserNameToIdMap_Call struct {
	*mock.Call
}

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

func (*MockAccountUsersInterface_UserUserNameToIdMap_Call) Return

func (*MockAccountUsersInterface_UserUserNameToIdMap_Call) Run

func (*MockAccountUsersInterface_UserUserNameToIdMap_Call) RunAndReturn

type MockAccountUsersInterface_WithImpl_Call

type MockAccountUsersInterface_WithImpl_Call struct {
	*mock.Call
}

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

func (*MockAccountUsersInterface_WithImpl_Call) Return

func (*MockAccountUsersInterface_WithImpl_Call) Run

func (*MockAccountUsersInterface_WithImpl_Call) RunAndReturn

type MockCurrentUserInterface

type MockCurrentUserInterface struct {
	mock.Mock
}

MockCurrentUserInterface is an autogenerated mock type for the CurrentUserInterface type

func NewMockCurrentUserInterface

func NewMockCurrentUserInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockCurrentUserInterface

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

func (*MockCurrentUserInterface) Impl

Impl provides a mock function with given fields:

func (*MockCurrentUserInterface) Me

Me provides a mock function with given fields: ctx

func (*MockCurrentUserInterface) WithImpl

WithImpl provides a mock function with given fields: impl

type MockCurrentUserInterface_Expecter

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

func (*MockCurrentUserInterface_Expecter) Impl

Impl is a helper method to define mock.On call

func (*MockCurrentUserInterface_Expecter) Me

Me is a helper method to define mock.On call

  • ctx context.Context

func (*MockCurrentUserInterface_Expecter) WithImpl

WithImpl is a helper method to define mock.On call

  • impl iam.CurrentUserService

type MockCurrentUserInterface_Impl_Call

type MockCurrentUserInterface_Impl_Call struct {
	*mock.Call
}

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

func (*MockCurrentUserInterface_Impl_Call) Return

func (*MockCurrentUserInterface_Impl_Call) Run

func (*MockCurrentUserInterface_Impl_Call) RunAndReturn

type MockCurrentUserInterface_Me_Call

type MockCurrentUserInterface_Me_Call struct {
	*mock.Call
}

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

func (*MockCurrentUserInterface_Me_Call) Return

func (*MockCurrentUserInterface_Me_Call) Run

func (*MockCurrentUserInterface_Me_Call) RunAndReturn

type MockCurrentUserInterface_WithImpl_Call

type MockCurrentUserInterface_WithImpl_Call struct {
	*mock.Call
}

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

func (*MockCurrentUserInterface_WithImpl_Call) Return

func (*MockCurrentUserInterface_WithImpl_Call) Run

func (*MockCurrentUserInterface_WithImpl_Call) RunAndReturn

type MockGroupsInterface

type MockGroupsInterface struct {
	mock.Mock
}

MockGroupsInterface is an autogenerated mock type for the GroupsInterface type

func NewMockGroupsInterface

func NewMockGroupsInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockGroupsInterface

NewMockGroupsInterface creates a new instance of MockGroupsInterface. 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 (*MockGroupsInterface) Create

func (_m *MockGroupsInterface) Create(ctx context.Context, request iam.Group) (*iam.Group, error)

Create provides a mock function with given fields: ctx, request

func (*MockGroupsInterface) Delete

Delete provides a mock function with given fields: ctx, request

func (*MockGroupsInterface) DeleteById

func (_m *MockGroupsInterface) DeleteById(ctx context.Context, id string) error

DeleteById provides a mock function with given fields: ctx, id

func (*MockGroupsInterface) EXPECT

func (*MockGroupsInterface) Get

Get provides a mock function with given fields: ctx, request

func (*MockGroupsInterface) GetByDisplayName

func (_m *MockGroupsInterface) GetByDisplayName(ctx context.Context, name string) (*iam.Group, error)

GetByDisplayName provides a mock function with given fields: ctx, name

func (*MockGroupsInterface) GetById

func (_m *MockGroupsInterface) GetById(ctx context.Context, id string) (*iam.Group, error)

GetById provides a mock function with given fields: ctx, id

func (*MockGroupsInterface) GroupDisplayNameToIdMap

func (_m *MockGroupsInterface) GroupDisplayNameToIdMap(ctx context.Context, request iam.ListGroupsRequest) (map[string]string, error)

GroupDisplayNameToIdMap provides a mock function with given fields: ctx, request

func (*MockGroupsInterface) Impl

Impl provides a mock function with given fields:

func (*MockGroupsInterface) List

List provides a mock function with given fields: ctx, request

func (*MockGroupsInterface) ListAll

func (_m *MockGroupsInterface) ListAll(ctx context.Context, request iam.ListGroupsRequest) ([]iam.Group, error)

ListAll provides a mock function with given fields: ctx, request

func (*MockGroupsInterface) Patch

func (_m *MockGroupsInterface) Patch(ctx context.Context, request iam.PartialUpdate) error

Patch provides a mock function with given fields: ctx, request

func (*MockGroupsInterface) Update

func (_m *MockGroupsInterface) Update(ctx context.Context, request iam.Group) error

Update provides a mock function with given fields: ctx, request

func (*MockGroupsInterface) WithImpl

WithImpl provides a mock function with given fields: impl

type MockGroupsInterface_Create_Call

type MockGroupsInterface_Create_Call struct {
	*mock.Call
}

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

func (*MockGroupsInterface_Create_Call) Return

func (*MockGroupsInterface_Create_Call) Run

func (*MockGroupsInterface_Create_Call) RunAndReturn

type MockGroupsInterface_DeleteById_Call

type MockGroupsInterface_DeleteById_Call struct {
	*mock.Call
}

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

func (*MockGroupsInterface_DeleteById_Call) Return

func (*MockGroupsInterface_DeleteById_Call) Run

func (*MockGroupsInterface_DeleteById_Call) RunAndReturn

type MockGroupsInterface_Delete_Call

type MockGroupsInterface_Delete_Call struct {
	*mock.Call
}

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

func (*MockGroupsInterface_Delete_Call) Return

func (*MockGroupsInterface_Delete_Call) Run

func (*MockGroupsInterface_Delete_Call) RunAndReturn

type MockGroupsInterface_Expecter

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

func (*MockGroupsInterface_Expecter) Create

func (_e *MockGroupsInterface_Expecter) Create(ctx interface{}, request interface{}) *MockGroupsInterface_Create_Call

Create is a helper method to define mock.On call

  • ctx context.Context
  • request iam.Group

func (*MockGroupsInterface_Expecter) Delete

func (_e *MockGroupsInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockGroupsInterface_Delete_Call

Delete is a helper method to define mock.On call

  • ctx context.Context
  • request iam.DeleteGroupRequest

func (*MockGroupsInterface_Expecter) DeleteById

func (_e *MockGroupsInterface_Expecter) DeleteById(ctx interface{}, id interface{}) *MockGroupsInterface_DeleteById_Call

DeleteById is a helper method to define mock.On call

  • ctx context.Context
  • id string

func (*MockGroupsInterface_Expecter) Get

func (_e *MockGroupsInterface_Expecter) Get(ctx interface{}, request interface{}) *MockGroupsInterface_Get_Call

Get is a helper method to define mock.On call

  • ctx context.Context
  • request iam.GetGroupRequest

func (*MockGroupsInterface_Expecter) GetByDisplayName

func (_e *MockGroupsInterface_Expecter) GetByDisplayName(ctx interface{}, name interface{}) *MockGroupsInterface_GetByDisplayName_Call

GetByDisplayName is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*MockGroupsInterface_Expecter) GetById

func (_e *MockGroupsInterface_Expecter) GetById(ctx interface{}, id interface{}) *MockGroupsInterface_GetById_Call

GetById is a helper method to define mock.On call

  • ctx context.Context
  • id string

func (*MockGroupsInterface_Expecter) GroupDisplayNameToIdMap

func (_e *MockGroupsInterface_Expecter) GroupDisplayNameToIdMap(ctx interface{}, request interface{}) *MockGroupsInterface_GroupDisplayNameToIdMap_Call

GroupDisplayNameToIdMap is a helper method to define mock.On call

  • ctx context.Context
  • request iam.ListGroupsRequest

func (*MockGroupsInterface_Expecter) Impl

Impl is a helper method to define mock.On call

func (*MockGroupsInterface_Expecter) List

func (_e *MockGroupsInterface_Expecter) List(ctx interface{}, request interface{}) *MockGroupsInterface_List_Call

List is a helper method to define mock.On call

  • ctx context.Context
  • request iam.ListGroupsRequest

func (*MockGroupsInterface_Expecter) ListAll

func (_e *MockGroupsInterface_Expecter) ListAll(ctx interface{}, request interface{}) *MockGroupsInterface_ListAll_Call

ListAll is a helper method to define mock.On call

  • ctx context.Context
  • request iam.ListGroupsRequest

func (*MockGroupsInterface_Expecter) Patch

func (_e *MockGroupsInterface_Expecter) Patch(ctx interface{}, request interface{}) *MockGroupsInterface_Patch_Call

Patch is a helper method to define mock.On call

  • ctx context.Context
  • request iam.PartialUpdate

func (*MockGroupsInterface_Expecter) Update

func (_e *MockGroupsInterface_Expecter) Update(ctx interface{}, request interface{}) *MockGroupsInterface_Update_Call

Update is a helper method to define mock.On call

  • ctx context.Context
  • request iam.Group

func (*MockGroupsInterface_Expecter) WithImpl

func (_e *MockGroupsInterface_Expecter) WithImpl(impl interface{}) *MockGroupsInterface_WithImpl_Call

WithImpl is a helper method to define mock.On call

  • impl iam.GroupsService

type MockGroupsInterface_GetByDisplayName_Call

type MockGroupsInterface_GetByDisplayName_Call struct {
	*mock.Call
}

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

func (*MockGroupsInterface_GetByDisplayName_Call) Return

func (*MockGroupsInterface_GetByDisplayName_Call) Run

func (*MockGroupsInterface_GetByDisplayName_Call) RunAndReturn

type MockGroupsInterface_GetById_Call

type MockGroupsInterface_GetById_Call struct {
	*mock.Call
}

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

func (*MockGroupsInterface_GetById_Call) Return

func (*MockGroupsInterface_GetById_Call) Run

func (*MockGroupsInterface_GetById_Call) RunAndReturn

type MockGroupsInterface_Get_Call

type MockGroupsInterface_Get_Call struct {
	*mock.Call
}

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

func (*MockGroupsInterface_Get_Call) Return

func (*MockGroupsInterface_Get_Call) Run

func (*MockGroupsInterface_Get_Call) RunAndReturn

type MockGroupsInterface_GroupDisplayNameToIdMap_Call

type MockGroupsInterface_GroupDisplayNameToIdMap_Call struct {
	*mock.Call
}

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

func (*MockGroupsInterface_GroupDisplayNameToIdMap_Call) Return

func (*MockGroupsInterface_GroupDisplayNameToIdMap_Call) Run

func (*MockGroupsInterface_GroupDisplayNameToIdMap_Call) RunAndReturn

type MockGroupsInterface_Impl_Call

type MockGroupsInterface_Impl_Call struct {
	*mock.Call
}

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

func (*MockGroupsInterface_Impl_Call) Return

func (*MockGroupsInterface_Impl_Call) Run

func (*MockGroupsInterface_Impl_Call) RunAndReturn

type MockGroupsInterface_ListAll_Call

type MockGroupsInterface_ListAll_Call struct {
	*mock.Call
}

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

func (*MockGroupsInterface_ListAll_Call) Return

func (*MockGroupsInterface_ListAll_Call) Run

func (*MockGroupsInterface_ListAll_Call) RunAndReturn

type MockGroupsInterface_List_Call

type MockGroupsInterface_List_Call struct {
	*mock.Call
}

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

func (*MockGroupsInterface_List_Call) Return

func (*MockGroupsInterface_List_Call) Run

func (*MockGroupsInterface_List_Call) RunAndReturn

type MockGroupsInterface_Patch_Call

type MockGroupsInterface_Patch_Call struct {
	*mock.Call
}

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

func (*MockGroupsInterface_Patch_Call) Return

func (*MockGroupsInterface_Patch_Call) Run

func (*MockGroupsInterface_Patch_Call) RunAndReturn

type MockGroupsInterface_Update_Call

type MockGroupsInterface_Update_Call struct {
	*mock.Call
}

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

func (*MockGroupsInterface_Update_Call) Return

func (*MockGroupsInterface_Update_Call) Run

func (*MockGroupsInterface_Update_Call) RunAndReturn

type MockGroupsInterface_WithImpl_Call

type MockGroupsInterface_WithImpl_Call struct {
	*mock.Call
}

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

func (*MockGroupsInterface_WithImpl_Call) Return

func (*MockGroupsInterface_WithImpl_Call) Run

func (*MockGroupsInterface_WithImpl_Call) RunAndReturn

type MockPermissionMigrationInterface added in v0.34.0

type MockPermissionMigrationInterface struct {
	mock.Mock
}

MockPermissionMigrationInterface is an autogenerated mock type for the PermissionMigrationInterface type

func NewMockPermissionMigrationInterface added in v0.34.0

func NewMockPermissionMigrationInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockPermissionMigrationInterface

NewMockPermissionMigrationInterface creates a new instance of MockPermissionMigrationInterface. 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 (*MockPermissionMigrationInterface) EXPECT added in v0.34.0

func (*MockPermissionMigrationInterface) Impl added in v0.34.0

Impl provides a mock function with given fields:

func (*MockPermissionMigrationInterface) MigratePermissions added in v0.34.0

MigratePermissions provides a mock function with given fields: ctx, request

func (*MockPermissionMigrationInterface) WithImpl added in v0.34.0

WithImpl provides a mock function with given fields: impl

type MockPermissionMigrationInterface_Expecter added in v0.34.0

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

func (*MockPermissionMigrationInterface_Expecter) Impl added in v0.34.0

Impl is a helper method to define mock.On call

func (*MockPermissionMigrationInterface_Expecter) MigratePermissions added in v0.34.0

func (_e *MockPermissionMigrationInterface_Expecter) MigratePermissions(ctx interface{}, request interface{}) *MockPermissionMigrationInterface_MigratePermissions_Call

MigratePermissions is a helper method to define mock.On call

  • ctx context.Context
  • request iam.PermissionMigrationRequest

func (*MockPermissionMigrationInterface_Expecter) WithImpl added in v0.34.0

WithImpl is a helper method to define mock.On call

  • impl iam.PermissionMigrationService

type MockPermissionMigrationInterface_Impl_Call added in v0.34.0

type MockPermissionMigrationInterface_Impl_Call struct {
	*mock.Call
}

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

func (*MockPermissionMigrationInterface_Impl_Call) Return added in v0.34.0

func (*MockPermissionMigrationInterface_Impl_Call) Run added in v0.34.0

func (*MockPermissionMigrationInterface_Impl_Call) RunAndReturn added in v0.34.0

type MockPermissionMigrationInterface_MigratePermissions_Call added in v0.34.0

type MockPermissionMigrationInterface_MigratePermissions_Call struct {
	*mock.Call
}

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

func (*MockPermissionMigrationInterface_MigratePermissions_Call) Return added in v0.34.0

func (*MockPermissionMigrationInterface_MigratePermissions_Call) Run added in v0.34.0

type MockPermissionMigrationInterface_WithImpl_Call added in v0.34.0

type MockPermissionMigrationInterface_WithImpl_Call struct {
	*mock.Call
}

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

func (*MockPermissionMigrationInterface_WithImpl_Call) Return added in v0.34.0

func (*MockPermissionMigrationInterface_WithImpl_Call) Run added in v0.34.0

func (*MockPermissionMigrationInterface_WithImpl_Call) RunAndReturn added in v0.34.0

type MockPermissionsInterface

type MockPermissionsInterface struct {
	mock.Mock
}

MockPermissionsInterface is an autogenerated mock type for the PermissionsInterface type

func NewMockPermissionsInterface

func NewMockPermissionsInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockPermissionsInterface

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

func (*MockPermissionsInterface) Get

Get provides a mock function with given fields: ctx, request

func (*MockPermissionsInterface) GetByRequestObjectTypeAndRequestObjectId

func (_m *MockPermissionsInterface) GetByRequestObjectTypeAndRequestObjectId(ctx context.Context, requestObjectType string, requestObjectId string) (*iam.ObjectPermissions, error)

GetByRequestObjectTypeAndRequestObjectId provides a mock function with given fields: ctx, requestObjectType, requestObjectId

func (*MockPermissionsInterface) GetPermissionLevels

GetPermissionLevels provides a mock function with given fields: ctx, request

func (*MockPermissionsInterface) GetPermissionLevelsByRequestObjectTypeAndRequestObjectId

func (_m *MockPermissionsInterface) GetPermissionLevelsByRequestObjectTypeAndRequestObjectId(ctx context.Context, requestObjectType string, requestObjectId string) (*iam.GetPermissionLevelsResponse, error)

GetPermissionLevelsByRequestObjectTypeAndRequestObjectId provides a mock function with given fields: ctx, requestObjectType, requestObjectId

func (*MockPermissionsInterface) Impl

Impl provides a mock function with given fields:

func (*MockPermissionsInterface) Set

Set provides a mock function with given fields: ctx, request

func (*MockPermissionsInterface) Update

Update provides a mock function with given fields: ctx, request

func (*MockPermissionsInterface) WithImpl

WithImpl provides a mock function with given fields: impl

type MockPermissionsInterface_Expecter

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

func (*MockPermissionsInterface_Expecter) Get

func (_e *MockPermissionsInterface_Expecter) Get(ctx interface{}, request interface{}) *MockPermissionsInterface_Get_Call

Get is a helper method to define mock.On call

  • ctx context.Context
  • request iam.GetPermissionRequest

func (*MockPermissionsInterface_Expecter) GetByRequestObjectTypeAndRequestObjectId

func (_e *MockPermissionsInterface_Expecter) GetByRequestObjectTypeAndRequestObjectId(ctx interface{}, requestObjectType interface{}, requestObjectId interface{}) *MockPermissionsInterface_GetByRequestObjectTypeAndRequestObjectId_Call

GetByRequestObjectTypeAndRequestObjectId is a helper method to define mock.On call

  • ctx context.Context
  • requestObjectType string
  • requestObjectId string

func (*MockPermissionsInterface_Expecter) GetPermissionLevels

func (_e *MockPermissionsInterface_Expecter) GetPermissionLevels(ctx interface{}, request interface{}) *MockPermissionsInterface_GetPermissionLevels_Call

GetPermissionLevels is a helper method to define mock.On call

  • ctx context.Context
  • request iam.GetPermissionLevelsRequest

func (*MockPermissionsInterface_Expecter) GetPermissionLevelsByRequestObjectTypeAndRequestObjectId

func (_e *MockPermissionsInterface_Expecter) GetPermissionLevelsByRequestObjectTypeAndRequestObjectId(ctx interface{}, requestObjectType interface{}, requestObjectId interface{}) *MockPermissionsInterface_GetPermissionLevelsByRequestObjectTypeAndRequestObjectId_Call

GetPermissionLevelsByRequestObjectTypeAndRequestObjectId is a helper method to define mock.On call

  • ctx context.Context
  • requestObjectType string
  • requestObjectId string

func (*MockPermissionsInterface_Expecter) Impl

Impl is a helper method to define mock.On call

func (*MockPermissionsInterface_Expecter) Set

func (_e *MockPermissionsInterface_Expecter) Set(ctx interface{}, request interface{}) *MockPermissionsInterface_Set_Call

Set is a helper method to define mock.On call

  • ctx context.Context
  • request iam.PermissionsRequest

func (*MockPermissionsInterface_Expecter) Update

func (_e *MockPermissionsInterface_Expecter) Update(ctx interface{}, request interface{}) *MockPermissionsInterface_Update_Call

Update is a helper method to define mock.On call

  • ctx context.Context
  • request iam.PermissionsRequest

func (*MockPermissionsInterface_Expecter) WithImpl

WithImpl is a helper method to define mock.On call

  • impl iam.PermissionsService

type MockPermissionsInterface_GetByRequestObjectTypeAndRequestObjectId_Call

type MockPermissionsInterface_GetByRequestObjectTypeAndRequestObjectId_Call struct {
	*mock.Call
}

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

func (*MockPermissionsInterface_GetByRequestObjectTypeAndRequestObjectId_Call) Return

func (*MockPermissionsInterface_GetByRequestObjectTypeAndRequestObjectId_Call) Run

type MockPermissionsInterface_GetPermissionLevelsByRequestObjectTypeAndRequestObjectId_Call

type MockPermissionsInterface_GetPermissionLevelsByRequestObjectTypeAndRequestObjectId_Call struct {
	*mock.Call
}

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

func (*MockPermissionsInterface_GetPermissionLevelsByRequestObjectTypeAndRequestObjectId_Call) Run

type MockPermissionsInterface_GetPermissionLevels_Call

type MockPermissionsInterface_GetPermissionLevels_Call struct {
	*mock.Call
}

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

func (*MockPermissionsInterface_GetPermissionLevels_Call) Return

func (*MockPermissionsInterface_GetPermissionLevels_Call) Run

type MockPermissionsInterface_Get_Call

type MockPermissionsInterface_Get_Call struct {
	*mock.Call
}

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

func (*MockPermissionsInterface_Get_Call) Return

func (*MockPermissionsInterface_Get_Call) Run

func (*MockPermissionsInterface_Get_Call) RunAndReturn

type MockPermissionsInterface_Impl_Call

type MockPermissionsInterface_Impl_Call struct {
	*mock.Call
}

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

func (*MockPermissionsInterface_Impl_Call) Return

func (*MockPermissionsInterface_Impl_Call) Run

func (*MockPermissionsInterface_Impl_Call) RunAndReturn

type MockPermissionsInterface_Set_Call

type MockPermissionsInterface_Set_Call struct {
	*mock.Call
}

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

func (*MockPermissionsInterface_Set_Call) Return

func (*MockPermissionsInterface_Set_Call) Run

func (*MockPermissionsInterface_Set_Call) RunAndReturn

type MockPermissionsInterface_Update_Call

type MockPermissionsInterface_Update_Call struct {
	*mock.Call
}

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

func (*MockPermissionsInterface_Update_Call) Return

func (*MockPermissionsInterface_Update_Call) Run

func (*MockPermissionsInterface_Update_Call) RunAndReturn

type MockPermissionsInterface_WithImpl_Call

type MockPermissionsInterface_WithImpl_Call struct {
	*mock.Call
}

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

func (*MockPermissionsInterface_WithImpl_Call) Return

func (*MockPermissionsInterface_WithImpl_Call) Run

func (*MockPermissionsInterface_WithImpl_Call) RunAndReturn

type MockServicePrincipalsInterface

type MockServicePrincipalsInterface struct {
	mock.Mock
}

MockServicePrincipalsInterface is an autogenerated mock type for the ServicePrincipalsInterface type

func NewMockServicePrincipalsInterface

func NewMockServicePrincipalsInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockServicePrincipalsInterface

NewMockServicePrincipalsInterface creates a new instance of MockServicePrincipalsInterface. 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 (*MockServicePrincipalsInterface) Create

Create provides a mock function with given fields: ctx, request

func (*MockServicePrincipalsInterface) Delete

Delete provides a mock function with given fields: ctx, request

func (*MockServicePrincipalsInterface) DeleteById

func (_m *MockServicePrincipalsInterface) DeleteById(ctx context.Context, id string) error

DeleteById provides a mock function with given fields: ctx, id

func (*MockServicePrincipalsInterface) EXPECT

func (*MockServicePrincipalsInterface) Get

Get provides a mock function with given fields: ctx, request

func (*MockServicePrincipalsInterface) GetByDisplayName

func (_m *MockServicePrincipalsInterface) GetByDisplayName(ctx context.Context, name string) (*iam.ServicePrincipal, error)

GetByDisplayName provides a mock function with given fields: ctx, name

func (*MockServicePrincipalsInterface) GetById

GetById provides a mock function with given fields: ctx, id

func (*MockServicePrincipalsInterface) Impl

Impl provides a mock function with given fields:

func (*MockServicePrincipalsInterface) List

List provides a mock function with given fields: ctx, request

func (*MockServicePrincipalsInterface) ListAll

ListAll provides a mock function with given fields: ctx, request

func (*MockServicePrincipalsInterface) Patch

Patch provides a mock function with given fields: ctx, request

func (*MockServicePrincipalsInterface) ServicePrincipalDisplayNameToIdMap

func (_m *MockServicePrincipalsInterface) ServicePrincipalDisplayNameToIdMap(ctx context.Context, request iam.ListServicePrincipalsRequest) (map[string]string, error)

ServicePrincipalDisplayNameToIdMap provides a mock function with given fields: ctx, request

func (*MockServicePrincipalsInterface) Update

Update provides a mock function with given fields: ctx, request

func (*MockServicePrincipalsInterface) WithImpl

WithImpl provides a mock function with given fields: impl

type MockServicePrincipalsInterface_Create_Call

type MockServicePrincipalsInterface_Create_Call struct {
	*mock.Call
}

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

func (*MockServicePrincipalsInterface_Create_Call) Return

func (*MockServicePrincipalsInterface_Create_Call) Run

func (*MockServicePrincipalsInterface_Create_Call) RunAndReturn

type MockServicePrincipalsInterface_DeleteById_Call

type MockServicePrincipalsInterface_DeleteById_Call struct {
	*mock.Call
}

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

func (*MockServicePrincipalsInterface_DeleteById_Call) Return

func (*MockServicePrincipalsInterface_DeleteById_Call) Run

func (*MockServicePrincipalsInterface_DeleteById_Call) RunAndReturn

type MockServicePrincipalsInterface_Delete_Call

type MockServicePrincipalsInterface_Delete_Call struct {
	*mock.Call
}

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

func (*MockServicePrincipalsInterface_Delete_Call) Return

func (*MockServicePrincipalsInterface_Delete_Call) Run

type MockServicePrincipalsInterface_Expecter

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

func (*MockServicePrincipalsInterface_Expecter) Create

func (_e *MockServicePrincipalsInterface_Expecter) Create(ctx interface{}, request interface{}) *MockServicePrincipalsInterface_Create_Call

Create is a helper method to define mock.On call

  • ctx context.Context
  • request iam.ServicePrincipal

func (*MockServicePrincipalsInterface_Expecter) Delete

func (_e *MockServicePrincipalsInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockServicePrincipalsInterface_Delete_Call

Delete is a helper method to define mock.On call

  • ctx context.Context
  • request iam.DeleteServicePrincipalRequest

func (*MockServicePrincipalsInterface_Expecter) DeleteById

func (_e *MockServicePrincipalsInterface_Expecter) DeleteById(ctx interface{}, id interface{}) *MockServicePrincipalsInterface_DeleteById_Call

DeleteById is a helper method to define mock.On call

  • ctx context.Context
  • id string

func (*MockServicePrincipalsInterface_Expecter) Get

func (_e *MockServicePrincipalsInterface_Expecter) Get(ctx interface{}, request interface{}) *MockServicePrincipalsInterface_Get_Call

Get is a helper method to define mock.On call

  • ctx context.Context
  • request iam.GetServicePrincipalRequest

func (*MockServicePrincipalsInterface_Expecter) GetByDisplayName

func (_e *MockServicePrincipalsInterface_Expecter) GetByDisplayName(ctx interface{}, name interface{}) *MockServicePrincipalsInterface_GetByDisplayName_Call

GetByDisplayName is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*MockServicePrincipalsInterface_Expecter) GetById

func (_e *MockServicePrincipalsInterface_Expecter) GetById(ctx interface{}, id interface{}) *MockServicePrincipalsInterface_GetById_Call

GetById is a helper method to define mock.On call

  • ctx context.Context
  • id string

func (*MockServicePrincipalsInterface_Expecter) Impl

Impl is a helper method to define mock.On call

func (*MockServicePrincipalsInterface_Expecter) List

func (_e *MockServicePrincipalsInterface_Expecter) List(ctx interface{}, request interface{}) *MockServicePrincipalsInterface_List_Call

List is a helper method to define mock.On call

  • ctx context.Context
  • request iam.ListServicePrincipalsRequest

func (*MockServicePrincipalsInterface_Expecter) ListAll

func (_e *MockServicePrincipalsInterface_Expecter) ListAll(ctx interface{}, request interface{}) *MockServicePrincipalsInterface_ListAll_Call

ListAll is a helper method to define mock.On call

  • ctx context.Context
  • request iam.ListServicePrincipalsRequest

func (*MockServicePrincipalsInterface_Expecter) Patch

func (_e *MockServicePrincipalsInterface_Expecter) Patch(ctx interface{}, request interface{}) *MockServicePrincipalsInterface_Patch_Call

Patch is a helper method to define mock.On call

  • ctx context.Context
  • request iam.PartialUpdate

func (*MockServicePrincipalsInterface_Expecter) ServicePrincipalDisplayNameToIdMap

func (_e *MockServicePrincipalsInterface_Expecter) ServicePrincipalDisplayNameToIdMap(ctx interface{}, request interface{}) *MockServicePrincipalsInterface_ServicePrincipalDisplayNameToIdMap_Call

ServicePrincipalDisplayNameToIdMap is a helper method to define mock.On call

  • ctx context.Context
  • request iam.ListServicePrincipalsRequest

func (*MockServicePrincipalsInterface_Expecter) Update

func (_e *MockServicePrincipalsInterface_Expecter) Update(ctx interface{}, request interface{}) *MockServicePrincipalsInterface_Update_Call

Update is a helper method to define mock.On call

  • ctx context.Context
  • request iam.ServicePrincipal

func (*MockServicePrincipalsInterface_Expecter) WithImpl

WithImpl is a helper method to define mock.On call

  • impl iam.ServicePrincipalsService

type MockServicePrincipalsInterface_GetByDisplayName_Call

type MockServicePrincipalsInterface_GetByDisplayName_Call struct {
	*mock.Call
}

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

func (*MockServicePrincipalsInterface_GetByDisplayName_Call) Return

func (*MockServicePrincipalsInterface_GetByDisplayName_Call) Run

func (*MockServicePrincipalsInterface_GetByDisplayName_Call) RunAndReturn

type MockServicePrincipalsInterface_GetById_Call

type MockServicePrincipalsInterface_GetById_Call struct {
	*mock.Call
}

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

func (*MockServicePrincipalsInterface_GetById_Call) Return

func (*MockServicePrincipalsInterface_GetById_Call) Run

func (*MockServicePrincipalsInterface_GetById_Call) RunAndReturn

type MockServicePrincipalsInterface_Get_Call

type MockServicePrincipalsInterface_Get_Call struct {
	*mock.Call
}

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

func (*MockServicePrincipalsInterface_Get_Call) Return

func (*MockServicePrincipalsInterface_Get_Call) Run

type MockServicePrincipalsInterface_Impl_Call

type MockServicePrincipalsInterface_Impl_Call struct {
	*mock.Call
}

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

func (*MockServicePrincipalsInterface_Impl_Call) Return

func (*MockServicePrincipalsInterface_Impl_Call) Run

func (*MockServicePrincipalsInterface_Impl_Call) RunAndReturn

type MockServicePrincipalsInterface_ListAll_Call

type MockServicePrincipalsInterface_ListAll_Call struct {
	*mock.Call
}

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

func (*MockServicePrincipalsInterface_ListAll_Call) Return

func (*MockServicePrincipalsInterface_ListAll_Call) Run

type MockServicePrincipalsInterface_List_Call

type MockServicePrincipalsInterface_List_Call struct {
	*mock.Call
}

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

func (*MockServicePrincipalsInterface_List_Call) Return

func (*MockServicePrincipalsInterface_List_Call) Run

type MockServicePrincipalsInterface_Patch_Call

type MockServicePrincipalsInterface_Patch_Call struct {
	*mock.Call
}

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

func (*MockServicePrincipalsInterface_Patch_Call) Return

func (*MockServicePrincipalsInterface_Patch_Call) Run

func (*MockServicePrincipalsInterface_Patch_Call) RunAndReturn

type MockServicePrincipalsInterface_ServicePrincipalDisplayNameToIdMap_Call

type MockServicePrincipalsInterface_ServicePrincipalDisplayNameToIdMap_Call struct {
	*mock.Call
}

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

func (*MockServicePrincipalsInterface_ServicePrincipalDisplayNameToIdMap_Call) Return

func (*MockServicePrincipalsInterface_ServicePrincipalDisplayNameToIdMap_Call) Run

type MockServicePrincipalsInterface_Update_Call

type MockServicePrincipalsInterface_Update_Call struct {
	*mock.Call
}

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

func (*MockServicePrincipalsInterface_Update_Call) Return

func (*MockServicePrincipalsInterface_Update_Call) Run

func (*MockServicePrincipalsInterface_Update_Call) RunAndReturn

type MockServicePrincipalsInterface_WithImpl_Call

type MockServicePrincipalsInterface_WithImpl_Call struct {
	*mock.Call
}

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

func (*MockServicePrincipalsInterface_WithImpl_Call) Return

func (*MockServicePrincipalsInterface_WithImpl_Call) Run

type MockUsersInterface

type MockUsersInterface struct {
	mock.Mock
}

MockUsersInterface is an autogenerated mock type for the UsersInterface type

func NewMockUsersInterface

func NewMockUsersInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockUsersInterface

NewMockUsersInterface creates a new instance of MockUsersInterface. 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 (*MockUsersInterface) Create

func (_m *MockUsersInterface) Create(ctx context.Context, request iam.User) (*iam.User, error)

Create provides a mock function with given fields: ctx, request

func (*MockUsersInterface) Delete

func (_m *MockUsersInterface) Delete(ctx context.Context, request iam.DeleteUserRequest) error

Delete provides a mock function with given fields: ctx, request

func (*MockUsersInterface) DeleteById

func (_m *MockUsersInterface) DeleteById(ctx context.Context, id string) error

DeleteById provides a mock function with given fields: ctx, id

func (*MockUsersInterface) EXPECT

func (*MockUsersInterface) Get

func (_m *MockUsersInterface) Get(ctx context.Context, request iam.GetUserRequest) (*iam.User, error)

Get provides a mock function with given fields: ctx, request

func (*MockUsersInterface) GetById

func (_m *MockUsersInterface) GetById(ctx context.Context, id string) (*iam.User, error)

GetById provides a mock function with given fields: ctx, id

func (*MockUsersInterface) GetByUserName

func (_m *MockUsersInterface) GetByUserName(ctx context.Context, name string) (*iam.User, error)

GetByUserName provides a mock function with given fields: ctx, name

func (*MockUsersInterface) GetPermissionLevels

GetPermissionLevels provides a mock function with given fields: ctx

func (*MockUsersInterface) GetPermissions

func (_m *MockUsersInterface) GetPermissions(ctx context.Context) (*iam.PasswordPermissions, error)

GetPermissions provides a mock function with given fields: ctx

func (*MockUsersInterface) Impl

func (_m *MockUsersInterface) Impl() iam.UsersService

Impl provides a mock function with given fields:

func (*MockUsersInterface) List

List provides a mock function with given fields: ctx, request

func (*MockUsersInterface) ListAll

func (_m *MockUsersInterface) ListAll(ctx context.Context, request iam.ListUsersRequest) ([]iam.User, error)

ListAll provides a mock function with given fields: ctx, request

func (*MockUsersInterface) Patch

func (_m *MockUsersInterface) Patch(ctx context.Context, request iam.PartialUpdate) error

Patch provides a mock function with given fields: ctx, request

func (*MockUsersInterface) SetPermissions

SetPermissions provides a mock function with given fields: ctx, request

func (*MockUsersInterface) Update

func (_m *MockUsersInterface) Update(ctx context.Context, request iam.User) error

Update provides a mock function with given fields: ctx, request

func (*MockUsersInterface) UpdatePermissions

UpdatePermissions provides a mock function with given fields: ctx, request

func (*MockUsersInterface) UserUserNameToIdMap

func (_m *MockUsersInterface) UserUserNameToIdMap(ctx context.Context, request iam.ListUsersRequest) (map[string]string, error)

UserUserNameToIdMap provides a mock function with given fields: ctx, request

func (*MockUsersInterface) WithImpl

WithImpl provides a mock function with given fields: impl

type MockUsersInterface_Create_Call

type MockUsersInterface_Create_Call struct {
	*mock.Call
}

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

func (*MockUsersInterface_Create_Call) Return

func (*MockUsersInterface_Create_Call) Run

func (*MockUsersInterface_Create_Call) RunAndReturn

type MockUsersInterface_DeleteById_Call

type MockUsersInterface_DeleteById_Call struct {
	*mock.Call
}

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

func (*MockUsersInterface_DeleteById_Call) Return

func (*MockUsersInterface_DeleteById_Call) Run

func (*MockUsersInterface_DeleteById_Call) RunAndReturn

type MockUsersInterface_Delete_Call

type MockUsersInterface_Delete_Call struct {
	*mock.Call
}

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

func (*MockUsersInterface_Delete_Call) Return

func (*MockUsersInterface_Delete_Call) Run

func (*MockUsersInterface_Delete_Call) RunAndReturn

type MockUsersInterface_Expecter

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

func (*MockUsersInterface_Expecter) Create

func (_e *MockUsersInterface_Expecter) Create(ctx interface{}, request interface{}) *MockUsersInterface_Create_Call

Create is a helper method to define mock.On call

  • ctx context.Context
  • request iam.User

func (*MockUsersInterface_Expecter) Delete

func (_e *MockUsersInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockUsersInterface_Delete_Call

Delete is a helper method to define mock.On call

  • ctx context.Context
  • request iam.DeleteUserRequest

func (*MockUsersInterface_Expecter) DeleteById

func (_e *MockUsersInterface_Expecter) DeleteById(ctx interface{}, id interface{}) *MockUsersInterface_DeleteById_Call

DeleteById is a helper method to define mock.On call

  • ctx context.Context
  • id string

func (*MockUsersInterface_Expecter) Get

func (_e *MockUsersInterface_Expecter) Get(ctx interface{}, request interface{}) *MockUsersInterface_Get_Call

Get is a helper method to define mock.On call

  • ctx context.Context
  • request iam.GetUserRequest

func (*MockUsersInterface_Expecter) GetById

func (_e *MockUsersInterface_Expecter) GetById(ctx interface{}, id interface{}) *MockUsersInterface_GetById_Call

GetById is a helper method to define mock.On call

  • ctx context.Context
  • id string

func (*MockUsersInterface_Expecter) GetByUserName

func (_e *MockUsersInterface_Expecter) GetByUserName(ctx interface{}, name interface{}) *MockUsersInterface_GetByUserName_Call

GetByUserName is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*MockUsersInterface_Expecter) GetPermissionLevels

func (_e *MockUsersInterface_Expecter) GetPermissionLevels(ctx interface{}) *MockUsersInterface_GetPermissionLevels_Call

GetPermissionLevels is a helper method to define mock.On call

  • ctx context.Context

func (*MockUsersInterface_Expecter) GetPermissions

func (_e *MockUsersInterface_Expecter) GetPermissions(ctx interface{}) *MockUsersInterface_GetPermissions_Call

GetPermissions is a helper method to define mock.On call

  • ctx context.Context

func (*MockUsersInterface_Expecter) Impl

Impl is a helper method to define mock.On call

func (*MockUsersInterface_Expecter) List

func (_e *MockUsersInterface_Expecter) List(ctx interface{}, request interface{}) *MockUsersInterface_List_Call

List is a helper method to define mock.On call

  • ctx context.Context
  • request iam.ListUsersRequest

func (*MockUsersInterface_Expecter) ListAll

func (_e *MockUsersInterface_Expecter) ListAll(ctx interface{}, request interface{}) *MockUsersInterface_ListAll_Call

ListAll is a helper method to define mock.On call

  • ctx context.Context
  • request iam.ListUsersRequest

func (*MockUsersInterface_Expecter) Patch

func (_e *MockUsersInterface_Expecter) Patch(ctx interface{}, request interface{}) *MockUsersInterface_Patch_Call

Patch is a helper method to define mock.On call

  • ctx context.Context
  • request iam.PartialUpdate

func (*MockUsersInterface_Expecter) SetPermissions

func (_e *MockUsersInterface_Expecter) SetPermissions(ctx interface{}, request interface{}) *MockUsersInterface_SetPermissions_Call

SetPermissions is a helper method to define mock.On call

  • ctx context.Context
  • request iam.PasswordPermissionsRequest

func (*MockUsersInterface_Expecter) Update

func (_e *MockUsersInterface_Expecter) Update(ctx interface{}, request interface{}) *MockUsersInterface_Update_Call

Update is a helper method to define mock.On call

  • ctx context.Context
  • request iam.User

func (*MockUsersInterface_Expecter) UpdatePermissions

func (_e *MockUsersInterface_Expecter) UpdatePermissions(ctx interface{}, request interface{}) *MockUsersInterface_UpdatePermissions_Call

UpdatePermissions is a helper method to define mock.On call

  • ctx context.Context
  • request iam.PasswordPermissionsRequest

func (*MockUsersInterface_Expecter) UserUserNameToIdMap

func (_e *MockUsersInterface_Expecter) UserUserNameToIdMap(ctx interface{}, request interface{}) *MockUsersInterface_UserUserNameToIdMap_Call

UserUserNameToIdMap is a helper method to define mock.On call

  • ctx context.Context
  • request iam.ListUsersRequest

func (*MockUsersInterface_Expecter) WithImpl

func (_e *MockUsersInterface_Expecter) WithImpl(impl interface{}) *MockUsersInterface_WithImpl_Call

WithImpl is a helper method to define mock.On call

  • impl iam.UsersService

type MockUsersInterface_GetById_Call

type MockUsersInterface_GetById_Call struct {
	*mock.Call
}

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

func (*MockUsersInterface_GetById_Call) Return

func (*MockUsersInterface_GetById_Call) Run

func (*MockUsersInterface_GetById_Call) RunAndReturn

type MockUsersInterface_GetByUserName_Call

type MockUsersInterface_GetByUserName_Call struct {
	*mock.Call
}

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

func (*MockUsersInterface_GetByUserName_Call) Return

func (*MockUsersInterface_GetByUserName_Call) Run

func (*MockUsersInterface_GetByUserName_Call) RunAndReturn

type MockUsersInterface_GetPermissionLevels_Call

type MockUsersInterface_GetPermissionLevels_Call struct {
	*mock.Call
}

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

func (*MockUsersInterface_GetPermissionLevels_Call) Run

type MockUsersInterface_GetPermissions_Call

type MockUsersInterface_GetPermissions_Call struct {
	*mock.Call
}

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

func (*MockUsersInterface_GetPermissions_Call) Return

func (*MockUsersInterface_GetPermissions_Call) Run

func (*MockUsersInterface_GetPermissions_Call) RunAndReturn

type MockUsersInterface_Get_Call

type MockUsersInterface_Get_Call struct {
	*mock.Call
}

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

func (*MockUsersInterface_Get_Call) Return

func (*MockUsersInterface_Get_Call) Run

func (*MockUsersInterface_Get_Call) RunAndReturn

type MockUsersInterface_Impl_Call

type MockUsersInterface_Impl_Call struct {
	*mock.Call
}

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

func (*MockUsersInterface_Impl_Call) Return

func (*MockUsersInterface_Impl_Call) Run

func (*MockUsersInterface_Impl_Call) RunAndReturn

type MockUsersInterface_ListAll_Call

type MockUsersInterface_ListAll_Call struct {
	*mock.Call
}

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

func (*MockUsersInterface_ListAll_Call) Return

func (*MockUsersInterface_ListAll_Call) Run

func (*MockUsersInterface_ListAll_Call) RunAndReturn

type MockUsersInterface_List_Call

type MockUsersInterface_List_Call struct {
	*mock.Call
}

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

func (*MockUsersInterface_List_Call) Return

func (*MockUsersInterface_List_Call) Run

func (*MockUsersInterface_List_Call) RunAndReturn

type MockUsersInterface_Patch_Call

type MockUsersInterface_Patch_Call struct {
	*mock.Call
}

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

func (*MockUsersInterface_Patch_Call) Return

func (*MockUsersInterface_Patch_Call) Run

func (*MockUsersInterface_Patch_Call) RunAndReturn

type MockUsersInterface_SetPermissions_Call

type MockUsersInterface_SetPermissions_Call struct {
	*mock.Call
}

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

func (*MockUsersInterface_SetPermissions_Call) Return

func (*MockUsersInterface_SetPermissions_Call) Run

type MockUsersInterface_UpdatePermissions_Call

type MockUsersInterface_UpdatePermissions_Call struct {
	*mock.Call
}

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

func (*MockUsersInterface_UpdatePermissions_Call) Return

func (*MockUsersInterface_UpdatePermissions_Call) Run

type MockUsersInterface_Update_Call

type MockUsersInterface_Update_Call struct {
	*mock.Call
}

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

func (*MockUsersInterface_Update_Call) Return

func (*MockUsersInterface_Update_Call) Run

func (*MockUsersInterface_Update_Call) RunAndReturn

type MockUsersInterface_UserUserNameToIdMap_Call

type MockUsersInterface_UserUserNameToIdMap_Call struct {
	*mock.Call
}

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

func (*MockUsersInterface_UserUserNameToIdMap_Call) Return

func (*MockUsersInterface_UserUserNameToIdMap_Call) Run

func (*MockUsersInterface_UserUserNameToIdMap_Call) RunAndReturn

type MockUsersInterface_WithImpl_Call

type MockUsersInterface_WithImpl_Call struct {
	*mock.Call
}

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

func (*MockUsersInterface_WithImpl_Call) Return

func (*MockUsersInterface_WithImpl_Call) Run

func (*MockUsersInterface_WithImpl_Call) RunAndReturn

type MockWorkspaceAssignmentInterface

type MockWorkspaceAssignmentInterface struct {
	mock.Mock
}

MockWorkspaceAssignmentInterface is an autogenerated mock type for the WorkspaceAssignmentInterface type

func NewMockWorkspaceAssignmentInterface

func NewMockWorkspaceAssignmentInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockWorkspaceAssignmentInterface

NewMockWorkspaceAssignmentInterface creates a new instance of MockWorkspaceAssignmentInterface. 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 (*MockWorkspaceAssignmentInterface) Delete

Delete provides a mock function with given fields: ctx, request

func (*MockWorkspaceAssignmentInterface) DeleteByWorkspaceIdAndPrincipalId

func (_m *MockWorkspaceAssignmentInterface) DeleteByWorkspaceIdAndPrincipalId(ctx context.Context, workspaceId int64, principalId int64) error

DeleteByWorkspaceIdAndPrincipalId provides a mock function with given fields: ctx, workspaceId, principalId

func (*MockWorkspaceAssignmentInterface) EXPECT

func (*MockWorkspaceAssignmentInterface) Get

Get provides a mock function with given fields: ctx, request

func (*MockWorkspaceAssignmentInterface) GetByWorkspaceId

func (_m *MockWorkspaceAssignmentInterface) GetByWorkspaceId(ctx context.Context, workspaceId int64) (*iam.WorkspacePermissions, error)

GetByWorkspaceId provides a mock function with given fields: ctx, workspaceId

func (*MockWorkspaceAssignmentInterface) Impl

Impl provides a mock function with given fields:

func (*MockWorkspaceAssignmentInterface) List

List provides a mock function with given fields: ctx, request

func (*MockWorkspaceAssignmentInterface) ListAll

ListAll provides a mock function with given fields: ctx, request

func (*MockWorkspaceAssignmentInterface) ListByWorkspaceId

func (_m *MockWorkspaceAssignmentInterface) ListByWorkspaceId(ctx context.Context, workspaceId int64) (*iam.PermissionAssignments, error)

ListByWorkspaceId provides a mock function with given fields: ctx, workspaceId

func (*MockWorkspaceAssignmentInterface) Update

Update provides a mock function with given fields: ctx, request

func (*MockWorkspaceAssignmentInterface) WithImpl

WithImpl provides a mock function with given fields: impl

type MockWorkspaceAssignmentInterface_DeleteByWorkspaceIdAndPrincipalId_Call

type MockWorkspaceAssignmentInterface_DeleteByWorkspaceIdAndPrincipalId_Call struct {
	*mock.Call
}

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

func (*MockWorkspaceAssignmentInterface_DeleteByWorkspaceIdAndPrincipalId_Call) Return

func (*MockWorkspaceAssignmentInterface_DeleteByWorkspaceIdAndPrincipalId_Call) Run

func (*MockWorkspaceAssignmentInterface_DeleteByWorkspaceIdAndPrincipalId_Call) RunAndReturn

type MockWorkspaceAssignmentInterface_Delete_Call

type MockWorkspaceAssignmentInterface_Delete_Call struct {
	*mock.Call
}

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

func (*MockWorkspaceAssignmentInterface_Delete_Call) Return

func (*MockWorkspaceAssignmentInterface_Delete_Call) Run

type MockWorkspaceAssignmentInterface_Expecter

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

func (*MockWorkspaceAssignmentInterface_Expecter) Delete

func (_e *MockWorkspaceAssignmentInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockWorkspaceAssignmentInterface_Delete_Call

Delete is a helper method to define mock.On call

  • ctx context.Context
  • request iam.DeleteWorkspaceAssignmentRequest

func (*MockWorkspaceAssignmentInterface_Expecter) DeleteByWorkspaceIdAndPrincipalId

func (_e *MockWorkspaceAssignmentInterface_Expecter) DeleteByWorkspaceIdAndPrincipalId(ctx interface{}, workspaceId interface{}, principalId interface{}) *MockWorkspaceAssignmentInterface_DeleteByWorkspaceIdAndPrincipalId_Call

DeleteByWorkspaceIdAndPrincipalId is a helper method to define mock.On call

  • ctx context.Context
  • workspaceId int64
  • principalId int64

func (*MockWorkspaceAssignmentInterface_Expecter) Get

func (_e *MockWorkspaceAssignmentInterface_Expecter) Get(ctx interface{}, request interface{}) *MockWorkspaceAssignmentInterface_Get_Call

Get is a helper method to define mock.On call

  • ctx context.Context
  • request iam.GetWorkspaceAssignmentRequest

func (*MockWorkspaceAssignmentInterface_Expecter) GetByWorkspaceId

func (_e *MockWorkspaceAssignmentInterface_Expecter) GetByWorkspaceId(ctx interface{}, workspaceId interface{}) *MockWorkspaceAssignmentInterface_GetByWorkspaceId_Call

GetByWorkspaceId is a helper method to define mock.On call

  • ctx context.Context
  • workspaceId int64

func (*MockWorkspaceAssignmentInterface_Expecter) Impl

Impl is a helper method to define mock.On call

func (*MockWorkspaceAssignmentInterface_Expecter) List

func (_e *MockWorkspaceAssignmentInterface_Expecter) List(ctx interface{}, request interface{}) *MockWorkspaceAssignmentInterface_List_Call

List is a helper method to define mock.On call

  • ctx context.Context
  • request iam.ListWorkspaceAssignmentRequest

func (*MockWorkspaceAssignmentInterface_Expecter) ListAll

func (_e *MockWorkspaceAssignmentInterface_Expecter) ListAll(ctx interface{}, request interface{}) *MockWorkspaceAssignmentInterface_ListAll_Call

ListAll is a helper method to define mock.On call

  • ctx context.Context
  • request iam.ListWorkspaceAssignmentRequest

func (*MockWorkspaceAssignmentInterface_Expecter) ListByWorkspaceId

func (_e *MockWorkspaceAssignmentInterface_Expecter) ListByWorkspaceId(ctx interface{}, workspaceId interface{}) *MockWorkspaceAssignmentInterface_ListByWorkspaceId_Call

ListByWorkspaceId is a helper method to define mock.On call

  • ctx context.Context
  • workspaceId int64

func (*MockWorkspaceAssignmentInterface_Expecter) Update

func (_e *MockWorkspaceAssignmentInterface_Expecter) Update(ctx interface{}, request interface{}) *MockWorkspaceAssignmentInterface_Update_Call

Update is a helper method to define mock.On call

  • ctx context.Context
  • request iam.UpdateWorkspaceAssignments

func (*MockWorkspaceAssignmentInterface_Expecter) WithImpl

WithImpl is a helper method to define mock.On call

  • impl iam.WorkspaceAssignmentService

type MockWorkspaceAssignmentInterface_GetByWorkspaceId_Call

type MockWorkspaceAssignmentInterface_GetByWorkspaceId_Call struct {
	*mock.Call
}

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

func (*MockWorkspaceAssignmentInterface_GetByWorkspaceId_Call) Return

func (*MockWorkspaceAssignmentInterface_GetByWorkspaceId_Call) Run

func (*MockWorkspaceAssignmentInterface_GetByWorkspaceId_Call) RunAndReturn

type MockWorkspaceAssignmentInterface_Get_Call

type MockWorkspaceAssignmentInterface_Get_Call struct {
	*mock.Call
}

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

func (*MockWorkspaceAssignmentInterface_Get_Call) Return

func (*MockWorkspaceAssignmentInterface_Get_Call) Run

type MockWorkspaceAssignmentInterface_Impl_Call

type MockWorkspaceAssignmentInterface_Impl_Call struct {
	*mock.Call
}

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

func (*MockWorkspaceAssignmentInterface_Impl_Call) Return

func (*MockWorkspaceAssignmentInterface_Impl_Call) Run

func (*MockWorkspaceAssignmentInterface_Impl_Call) RunAndReturn

type MockWorkspaceAssignmentInterface_ListAll_Call

type MockWorkspaceAssignmentInterface_ListAll_Call struct {
	*mock.Call
}

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

func (*MockWorkspaceAssignmentInterface_ListAll_Call) Return

func (*MockWorkspaceAssignmentInterface_ListAll_Call) Run

type MockWorkspaceAssignmentInterface_ListByWorkspaceId_Call

type MockWorkspaceAssignmentInterface_ListByWorkspaceId_Call struct {
	*mock.Call
}

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

func (*MockWorkspaceAssignmentInterface_ListByWorkspaceId_Call) Return

func (*MockWorkspaceAssignmentInterface_ListByWorkspaceId_Call) Run

func (*MockWorkspaceAssignmentInterface_ListByWorkspaceId_Call) RunAndReturn

type MockWorkspaceAssignmentInterface_List_Call

type MockWorkspaceAssignmentInterface_List_Call struct {
	*mock.Call
}

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

func (*MockWorkspaceAssignmentInterface_List_Call) Run

type MockWorkspaceAssignmentInterface_Update_Call

type MockWorkspaceAssignmentInterface_Update_Call struct {
	*mock.Call
}

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

func (*MockWorkspaceAssignmentInterface_Update_Call) Return

func (*MockWorkspaceAssignmentInterface_Update_Call) Run

type MockWorkspaceAssignmentInterface_WithImpl_Call

type MockWorkspaceAssignmentInterface_WithImpl_Call struct {
	*mock.Call
}

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

func (*MockWorkspaceAssignmentInterface_WithImpl_Call) Run

Jump to

Keyboard shortcuts

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