Help us shape the future of Go! Take the 2026 Go Developer Survey

sharing

package
v0.45.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCleanRoomsInterface

type MockCleanRoomsInterface struct {
	mock.Mock
}

MockCleanRoomsInterface is an autogenerated mock type for the CleanRoomsInterface type

func NewMockCleanRoomsInterface

func NewMockCleanRoomsInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockCleanRoomsInterface

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

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

func (*MockCleanRoomsInterface) Delete

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

func (*MockCleanRoomsInterface) DeleteByName added in v0.32.0

func (_m *MockCleanRoomsInterface) DeleteByName(ctx context.Context, name string) error

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

func (*MockCleanRoomsInterface) EXPECT

func (*MockCleanRoomsInterface) Get

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

func (*MockCleanRoomsInterface) GetByName added in v0.32.0

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

func (*MockCleanRoomsInterface) List

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

func (*MockCleanRoomsInterface) ListAll

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

func (*MockCleanRoomsInterface) Update

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

type MockCleanRoomsInterface_Create_Call

type MockCleanRoomsInterface_Create_Call struct {
	*mock.Call
}

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

func (*MockCleanRoomsInterface_Create_Call) Return

func (*MockCleanRoomsInterface_Create_Call) Run

func (*MockCleanRoomsInterface_Create_Call) RunAndReturn

type MockCleanRoomsInterface_DeleteByName_Call added in v0.32.0

type MockCleanRoomsInterface_DeleteByName_Call struct {
	*mock.Call
}

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

func (*MockCleanRoomsInterface_DeleteByName_Call) Return added in v0.32.0

func (*MockCleanRoomsInterface_DeleteByName_Call) Run added in v0.32.0

func (*MockCleanRoomsInterface_DeleteByName_Call) RunAndReturn added in v0.32.0

type MockCleanRoomsInterface_Delete_Call

type MockCleanRoomsInterface_Delete_Call struct {
	*mock.Call
}

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

func (*MockCleanRoomsInterface_Delete_Call) Return

func (*MockCleanRoomsInterface_Delete_Call) Run

func (*MockCleanRoomsInterface_Delete_Call) RunAndReturn

type MockCleanRoomsInterface_Expecter

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

func (*MockCleanRoomsInterface_Expecter) Create

func (_e *MockCleanRoomsInterface_Expecter) Create(ctx interface{}, request interface{}) *MockCleanRoomsInterface_Create_Call

Create is a helper method to define mock.On call

  • ctx context.Context
  • request sharing.CreateCleanRoom

func (*MockCleanRoomsInterface_Expecter) Delete

func (_e *MockCleanRoomsInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockCleanRoomsInterface_Delete_Call

Delete is a helper method to define mock.On call

  • ctx context.Context
  • request sharing.DeleteCleanRoomRequest

func (*MockCleanRoomsInterface_Expecter) DeleteByName added in v0.32.0

func (_e *MockCleanRoomsInterface_Expecter) DeleteByName(ctx interface{}, name interface{}) *MockCleanRoomsInterface_DeleteByName_Call

DeleteByName is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*MockCleanRoomsInterface_Expecter) Get

func (_e *MockCleanRoomsInterface_Expecter) Get(ctx interface{}, request interface{}) *MockCleanRoomsInterface_Get_Call

Get is a helper method to define mock.On call

  • ctx context.Context
  • request sharing.GetCleanRoomRequest

func (*MockCleanRoomsInterface_Expecter) GetByName added in v0.32.0

func (_e *MockCleanRoomsInterface_Expecter) GetByName(ctx interface{}, name interface{}) *MockCleanRoomsInterface_GetByName_Call

GetByName is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*MockCleanRoomsInterface_Expecter) List

func (_e *MockCleanRoomsInterface_Expecter) List(ctx interface{}, request interface{}) *MockCleanRoomsInterface_List_Call

List is a helper method to define mock.On call

  • ctx context.Context
  • request sharing.ListCleanRoomsRequest

func (*MockCleanRoomsInterface_Expecter) ListAll

func (_e *MockCleanRoomsInterface_Expecter) ListAll(ctx interface{}, request interface{}) *MockCleanRoomsInterface_ListAll_Call

ListAll is a helper method to define mock.On call

  • ctx context.Context
  • request sharing.ListCleanRoomsRequest

func (*MockCleanRoomsInterface_Expecter) Update

func (_e *MockCleanRoomsInterface_Expecter) Update(ctx interface{}, request interface{}) *MockCleanRoomsInterface_Update_Call

Update is a helper method to define mock.On call

  • ctx context.Context
  • request sharing.UpdateCleanRoom

type MockCleanRoomsInterface_GetByName_Call added in v0.32.0

type MockCleanRoomsInterface_GetByName_Call struct {
	*mock.Call
}

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

func (*MockCleanRoomsInterface_GetByName_Call) Return added in v0.32.0

func (*MockCleanRoomsInterface_GetByName_Call) Run added in v0.32.0

func (*MockCleanRoomsInterface_GetByName_Call) RunAndReturn added in v0.32.0

type MockCleanRoomsInterface_Get_Call

type MockCleanRoomsInterface_Get_Call struct {
	*mock.Call
}

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

func (*MockCleanRoomsInterface_Get_Call) Return

func (*MockCleanRoomsInterface_Get_Call) Run

type MockCleanRoomsInterface_ListAll_Call

type MockCleanRoomsInterface_ListAll_Call struct {
	*mock.Call
}

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

func (*MockCleanRoomsInterface_ListAll_Call) Return

func (*MockCleanRoomsInterface_ListAll_Call) Run

type MockCleanRoomsInterface_List_Call

type MockCleanRoomsInterface_List_Call struct {
	*mock.Call
}

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

func (*MockCleanRoomsInterface_List_Call) Return

func (*MockCleanRoomsInterface_List_Call) Run

type MockCleanRoomsInterface_Update_Call

type MockCleanRoomsInterface_Update_Call struct {
	*mock.Call
}

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

func (*MockCleanRoomsInterface_Update_Call) Return

func (*MockCleanRoomsInterface_Update_Call) Run

func (*MockCleanRoomsInterface_Update_Call) RunAndReturn

type MockProvidersInterface

type MockProvidersInterface struct {
	mock.Mock
}

MockProvidersInterface is an autogenerated mock type for the ProvidersInterface type

func NewMockProvidersInterface

func NewMockProvidersInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockProvidersInterface

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

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

func (*MockProvidersInterface) Delete

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

func (*MockProvidersInterface) DeleteByName

func (_m *MockProvidersInterface) DeleteByName(ctx context.Context, name string) error

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

func (*MockProvidersInterface) EXPECT

func (*MockProvidersInterface) Get

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

func (*MockProvidersInterface) GetByName

func (_m *MockProvidersInterface) GetByName(ctx context.Context, name string) (*sharing.ProviderInfo, error)

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

func (*MockProvidersInterface) List

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

func (*MockProvidersInterface) ListAll

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

func (*MockProvidersInterface) ListShares

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

func (*MockProvidersInterface) ListSharesAll

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

func (*MockProvidersInterface) ListSharesByName

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

func (*MockProvidersInterface) ProviderInfoNameToMetastoreIdMap

func (_m *MockProvidersInterface) ProviderInfoNameToMetastoreIdMap(ctx context.Context, request sharing.ListProvidersRequest) (map[string]string, error)

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

func (*MockProvidersInterface) Update

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

type MockProvidersInterface_Create_Call

type MockProvidersInterface_Create_Call struct {
	*mock.Call
}

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

func (*MockProvidersInterface_Create_Call) Return

func (*MockProvidersInterface_Create_Call) Run

func (*MockProvidersInterface_Create_Call) RunAndReturn

type MockProvidersInterface_DeleteByName_Call

type MockProvidersInterface_DeleteByName_Call struct {
	*mock.Call
}

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

func (*MockProvidersInterface_DeleteByName_Call) Return

func (*MockProvidersInterface_DeleteByName_Call) Run

func (*MockProvidersInterface_DeleteByName_Call) RunAndReturn

type MockProvidersInterface_Delete_Call

type MockProvidersInterface_Delete_Call struct {
	*mock.Call
}

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

func (*MockProvidersInterface_Delete_Call) Return

func (*MockProvidersInterface_Delete_Call) Run

func (*MockProvidersInterface_Delete_Call) RunAndReturn

type MockProvidersInterface_Expecter

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

func (*MockProvidersInterface_Expecter) Create

func (_e *MockProvidersInterface_Expecter) Create(ctx interface{}, request interface{}) *MockProvidersInterface_Create_Call

Create is a helper method to define mock.On call

  • ctx context.Context
  • request sharing.CreateProvider

func (*MockProvidersInterface_Expecter) Delete

func (_e *MockProvidersInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockProvidersInterface_Delete_Call

Delete is a helper method to define mock.On call

  • ctx context.Context
  • request sharing.DeleteProviderRequest

func (*MockProvidersInterface_Expecter) DeleteByName

func (_e *MockProvidersInterface_Expecter) DeleteByName(ctx interface{}, name interface{}) *MockProvidersInterface_DeleteByName_Call

DeleteByName is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*MockProvidersInterface_Expecter) Get

func (_e *MockProvidersInterface_Expecter) Get(ctx interface{}, request interface{}) *MockProvidersInterface_Get_Call

Get is a helper method to define mock.On call

  • ctx context.Context
  • request sharing.GetProviderRequest

func (*MockProvidersInterface_Expecter) GetByName

func (_e *MockProvidersInterface_Expecter) GetByName(ctx interface{}, name interface{}) *MockProvidersInterface_GetByName_Call

GetByName is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*MockProvidersInterface_Expecter) List

func (_e *MockProvidersInterface_Expecter) List(ctx interface{}, request interface{}) *MockProvidersInterface_List_Call

List is a helper method to define mock.On call

  • ctx context.Context
  • request sharing.ListProvidersRequest

func (*MockProvidersInterface_Expecter) ListAll

func (_e *MockProvidersInterface_Expecter) ListAll(ctx interface{}, request interface{}) *MockProvidersInterface_ListAll_Call

ListAll is a helper method to define mock.On call

  • ctx context.Context
  • request sharing.ListProvidersRequest

func (*MockProvidersInterface_Expecter) ListShares

func (_e *MockProvidersInterface_Expecter) ListShares(ctx interface{}, request interface{}) *MockProvidersInterface_ListShares_Call

ListShares is a helper method to define mock.On call

  • ctx context.Context
  • request sharing.ListSharesRequest

func (*MockProvidersInterface_Expecter) ListSharesAll

func (_e *MockProvidersInterface_Expecter) ListSharesAll(ctx interface{}, request interface{}) *MockProvidersInterface_ListSharesAll_Call

ListSharesAll is a helper method to define mock.On call

  • ctx context.Context
  • request sharing.ListSharesRequest

func (*MockProvidersInterface_Expecter) ListSharesByName

func (_e *MockProvidersInterface_Expecter) ListSharesByName(ctx interface{}, name interface{}) *MockProvidersInterface_ListSharesByName_Call

ListSharesByName is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*MockProvidersInterface_Expecter) ProviderInfoNameToMetastoreIdMap

func (_e *MockProvidersInterface_Expecter) ProviderInfoNameToMetastoreIdMap(ctx interface{}, request interface{}) *MockProvidersInterface_ProviderInfoNameToMetastoreIdMap_Call

ProviderInfoNameToMetastoreIdMap is a helper method to define mock.On call

  • ctx context.Context
  • request sharing.ListProvidersRequest

func (*MockProvidersInterface_Expecter) Update

func (_e *MockProvidersInterface_Expecter) Update(ctx interface{}, request interface{}) *MockProvidersInterface_Update_Call

Update is a helper method to define mock.On call

  • ctx context.Context
  • request sharing.UpdateProvider

type MockProvidersInterface_GetByName_Call

type MockProvidersInterface_GetByName_Call struct {
	*mock.Call
}

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

func (*MockProvidersInterface_GetByName_Call) Return

func (*MockProvidersInterface_GetByName_Call) Run

func (*MockProvidersInterface_GetByName_Call) RunAndReturn

type MockProvidersInterface_Get_Call

type MockProvidersInterface_Get_Call struct {
	*mock.Call
}

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

func (*MockProvidersInterface_Get_Call) Return

func (*MockProvidersInterface_Get_Call) Run

func (*MockProvidersInterface_Get_Call) RunAndReturn

type MockProvidersInterface_ListAll_Call

type MockProvidersInterface_ListAll_Call struct {
	*mock.Call
}

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

func (*MockProvidersInterface_ListAll_Call) Return

func (*MockProvidersInterface_ListAll_Call) Run

type MockProvidersInterface_ListSharesAll_Call

type MockProvidersInterface_ListSharesAll_Call struct {
	*mock.Call
}

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

func (*MockProvidersInterface_ListSharesAll_Call) Return

func (*MockProvidersInterface_ListSharesAll_Call) Run

type MockProvidersInterface_ListSharesByName_Call

type MockProvidersInterface_ListSharesByName_Call struct {
	*mock.Call
}

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

func (*MockProvidersInterface_ListSharesByName_Call) Return

func (*MockProvidersInterface_ListSharesByName_Call) Run

type MockProvidersInterface_ListShares_Call

type MockProvidersInterface_ListShares_Call struct {
	*mock.Call
}

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

func (*MockProvidersInterface_ListShares_Call) Return

func (*MockProvidersInterface_ListShares_Call) Run

type MockProvidersInterface_List_Call

type MockProvidersInterface_List_Call struct {
	*mock.Call
}

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

func (*MockProvidersInterface_List_Call) Return

func (*MockProvidersInterface_List_Call) Run

type MockProvidersInterface_ProviderInfoNameToMetastoreIdMap_Call

type MockProvidersInterface_ProviderInfoNameToMetastoreIdMap_Call struct {
	*mock.Call
}

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

func (*MockProvidersInterface_ProviderInfoNameToMetastoreIdMap_Call) Return

func (*MockProvidersInterface_ProviderInfoNameToMetastoreIdMap_Call) Run

type MockProvidersInterface_Update_Call

type MockProvidersInterface_Update_Call struct {
	*mock.Call
}

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

func (*MockProvidersInterface_Update_Call) Return

func (*MockProvidersInterface_Update_Call) Run

func (*MockProvidersInterface_Update_Call) RunAndReturn

type MockRecipientActivationInterface

type MockRecipientActivationInterface struct {
	mock.Mock
}

MockRecipientActivationInterface is an autogenerated mock type for the RecipientActivationInterface type

func NewMockRecipientActivationInterface

func NewMockRecipientActivationInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockRecipientActivationInterface

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

func (*MockRecipientActivationInterface) GetActivationUrlInfo

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

func (*MockRecipientActivationInterface) GetActivationUrlInfoByActivationUrl

func (_m *MockRecipientActivationInterface) GetActivationUrlInfoByActivationUrl(ctx context.Context, activationUrl string) error

GetActivationUrlInfoByActivationUrl provides a mock function with given fields: ctx, activationUrl

func (*MockRecipientActivationInterface) RetrieveToken

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

func (*MockRecipientActivationInterface) RetrieveTokenByActivationUrl

func (_m *MockRecipientActivationInterface) RetrieveTokenByActivationUrl(ctx context.Context, activationUrl string) (*sharing.RetrieveTokenResponse, error)

RetrieveTokenByActivationUrl provides a mock function with given fields: ctx, activationUrl

type MockRecipientActivationInterface_Expecter

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

func (*MockRecipientActivationInterface_Expecter) GetActivationUrlInfo

func (_e *MockRecipientActivationInterface_Expecter) GetActivationUrlInfo(ctx interface{}, request interface{}) *MockRecipientActivationInterface_GetActivationUrlInfo_Call

GetActivationUrlInfo is a helper method to define mock.On call

  • ctx context.Context
  • request sharing.GetActivationUrlInfoRequest

func (*MockRecipientActivationInterface_Expecter) GetActivationUrlInfoByActivationUrl

func (_e *MockRecipientActivationInterface_Expecter) GetActivationUrlInfoByActivationUrl(ctx interface{}, activationUrl interface{}) *MockRecipientActivationInterface_GetActivationUrlInfoByActivationUrl_Call

GetActivationUrlInfoByActivationUrl is a helper method to define mock.On call

  • ctx context.Context
  • activationUrl string

func (*MockRecipientActivationInterface_Expecter) RetrieveToken

func (_e *MockRecipientActivationInterface_Expecter) RetrieveToken(ctx interface{}, request interface{}) *MockRecipientActivationInterface_RetrieveToken_Call

RetrieveToken is a helper method to define mock.On call

  • ctx context.Context
  • request sharing.RetrieveTokenRequest

func (*MockRecipientActivationInterface_Expecter) RetrieveTokenByActivationUrl

func (_e *MockRecipientActivationInterface_Expecter) RetrieveTokenByActivationUrl(ctx interface{}, activationUrl interface{}) *MockRecipientActivationInterface_RetrieveTokenByActivationUrl_Call

RetrieveTokenByActivationUrl is a helper method to define mock.On call

  • ctx context.Context
  • activationUrl string

type MockRecipientActivationInterface_GetActivationUrlInfoByActivationUrl_Call

type MockRecipientActivationInterface_GetActivationUrlInfoByActivationUrl_Call struct {
	*mock.Call
}

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

func (*MockRecipientActivationInterface_GetActivationUrlInfoByActivationUrl_Call) Return

func (*MockRecipientActivationInterface_GetActivationUrlInfoByActivationUrl_Call) Run

func (*MockRecipientActivationInterface_GetActivationUrlInfoByActivationUrl_Call) RunAndReturn

type MockRecipientActivationInterface_GetActivationUrlInfo_Call

type MockRecipientActivationInterface_GetActivationUrlInfo_Call struct {
	*mock.Call
}

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

func (*MockRecipientActivationInterface_GetActivationUrlInfo_Call) Return

func (*MockRecipientActivationInterface_GetActivationUrlInfo_Call) Run

type MockRecipientActivationInterface_RetrieveTokenByActivationUrl_Call

type MockRecipientActivationInterface_RetrieveTokenByActivationUrl_Call struct {
	*mock.Call
}

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

func (*MockRecipientActivationInterface_RetrieveTokenByActivationUrl_Call) Run

type MockRecipientActivationInterface_RetrieveToken_Call

type MockRecipientActivationInterface_RetrieveToken_Call struct {
	*mock.Call
}

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

func (*MockRecipientActivationInterface_RetrieveToken_Call) Return

func (*MockRecipientActivationInterface_RetrieveToken_Call) Run

type MockRecipientsInterface

type MockRecipientsInterface struct {
	mock.Mock
}

MockRecipientsInterface is an autogenerated mock type for the RecipientsInterface type

func NewMockRecipientsInterface

func NewMockRecipientsInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockRecipientsInterface

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

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

func (*MockRecipientsInterface) Delete

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

func (*MockRecipientsInterface) DeleteByName

func (_m *MockRecipientsInterface) DeleteByName(ctx context.Context, name string) error

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

func (*MockRecipientsInterface) EXPECT

func (*MockRecipientsInterface) Get

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

func (*MockRecipientsInterface) GetByName

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

func (*MockRecipientsInterface) List

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

func (*MockRecipientsInterface) ListAll

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

func (*MockRecipientsInterface) RecipientInfoNameToMetastoreIdMap

func (_m *MockRecipientsInterface) RecipientInfoNameToMetastoreIdMap(ctx context.Context, request sharing.ListRecipientsRequest) (map[string]string, error)

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

func (*MockRecipientsInterface) RotateToken

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

func (*MockRecipientsInterface) SharePermissions

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

func (*MockRecipientsInterface) SharePermissionsByName

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

func (*MockRecipientsInterface) Update

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

type MockRecipientsInterface_Create_Call

type MockRecipientsInterface_Create_Call struct {
	*mock.Call
}

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

func (*MockRecipientsInterface_Create_Call) Return

func (*MockRecipientsInterface_Create_Call) Run

func (*MockRecipientsInterface_Create_Call) RunAndReturn

type MockRecipientsInterface_DeleteByName_Call

type MockRecipientsInterface_DeleteByName_Call struct {
	*mock.Call
}

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

func (*MockRecipientsInterface_DeleteByName_Call) Return

func (*MockRecipientsInterface_DeleteByName_Call) Run

func (*MockRecipientsInterface_DeleteByName_Call) RunAndReturn

type MockRecipientsInterface_Delete_Call

type MockRecipientsInterface_Delete_Call struct {
	*mock.Call
}

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

func (*MockRecipientsInterface_Delete_Call) Return

func (*MockRecipientsInterface_Delete_Call) Run

func (*MockRecipientsInterface_Delete_Call) RunAndReturn

type MockRecipientsInterface_Expecter

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

func (*MockRecipientsInterface_Expecter) Create

func (_e *MockRecipientsInterface_Expecter) Create(ctx interface{}, request interface{}) *MockRecipientsInterface_Create_Call

Create is a helper method to define mock.On call

  • ctx context.Context
  • request sharing.CreateRecipient

func (*MockRecipientsInterface_Expecter) Delete

func (_e *MockRecipientsInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockRecipientsInterface_Delete_Call

Delete is a helper method to define mock.On call

  • ctx context.Context
  • request sharing.DeleteRecipientRequest

func (*MockRecipientsInterface_Expecter) DeleteByName

func (_e *MockRecipientsInterface_Expecter) DeleteByName(ctx interface{}, name interface{}) *MockRecipientsInterface_DeleteByName_Call

DeleteByName is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*MockRecipientsInterface_Expecter) Get

func (_e *MockRecipientsInterface_Expecter) Get(ctx interface{}, request interface{}) *MockRecipientsInterface_Get_Call

Get is a helper method to define mock.On call

  • ctx context.Context
  • request sharing.GetRecipientRequest

func (*MockRecipientsInterface_Expecter) GetByName

func (_e *MockRecipientsInterface_Expecter) GetByName(ctx interface{}, name interface{}) *MockRecipientsInterface_GetByName_Call

GetByName is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*MockRecipientsInterface_Expecter) List

func (_e *MockRecipientsInterface_Expecter) List(ctx interface{}, request interface{}) *MockRecipientsInterface_List_Call

List is a helper method to define mock.On call

  • ctx context.Context
  • request sharing.ListRecipientsRequest

func (*MockRecipientsInterface_Expecter) ListAll

func (_e *MockRecipientsInterface_Expecter) ListAll(ctx interface{}, request interface{}) *MockRecipientsInterface_ListAll_Call

ListAll is a helper method to define mock.On call

  • ctx context.Context
  • request sharing.ListRecipientsRequest

func (*MockRecipientsInterface_Expecter) RecipientInfoNameToMetastoreIdMap

func (_e *MockRecipientsInterface_Expecter) RecipientInfoNameToMetastoreIdMap(ctx interface{}, request interface{}) *MockRecipientsInterface_RecipientInfoNameToMetastoreIdMap_Call

RecipientInfoNameToMetastoreIdMap is a helper method to define mock.On call

  • ctx context.Context
  • request sharing.ListRecipientsRequest

func (*MockRecipientsInterface_Expecter) RotateToken

func (_e *MockRecipientsInterface_Expecter) RotateToken(ctx interface{}, request interface{}) *MockRecipientsInterface_RotateToken_Call

RotateToken is a helper method to define mock.On call

  • ctx context.Context
  • request sharing.RotateRecipientToken

func (*MockRecipientsInterface_Expecter) SharePermissions

func (_e *MockRecipientsInterface_Expecter) SharePermissions(ctx interface{}, request interface{}) *MockRecipientsInterface_SharePermissions_Call

SharePermissions is a helper method to define mock.On call

  • ctx context.Context
  • request sharing.SharePermissionsRequest

func (*MockRecipientsInterface_Expecter) SharePermissionsByName

func (_e *MockRecipientsInterface_Expecter) SharePermissionsByName(ctx interface{}, name interface{}) *MockRecipientsInterface_SharePermissionsByName_Call

SharePermissionsByName is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*MockRecipientsInterface_Expecter) Update

func (_e *MockRecipientsInterface_Expecter) Update(ctx interface{}, request interface{}) *MockRecipientsInterface_Update_Call

Update is a helper method to define mock.On call

  • ctx context.Context
  • request sharing.UpdateRecipient

type MockRecipientsInterface_GetByName_Call

type MockRecipientsInterface_GetByName_Call struct {
	*mock.Call
}

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

func (*MockRecipientsInterface_GetByName_Call) Return

func (*MockRecipientsInterface_GetByName_Call) Run

func (*MockRecipientsInterface_GetByName_Call) RunAndReturn

type MockRecipientsInterface_Get_Call

type MockRecipientsInterface_Get_Call struct {
	*mock.Call
}

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

func (*MockRecipientsInterface_Get_Call) Return

func (*MockRecipientsInterface_Get_Call) Run

type MockRecipientsInterface_ListAll_Call

type MockRecipientsInterface_ListAll_Call struct {
	*mock.Call
}

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

func (*MockRecipientsInterface_ListAll_Call) Return

func (*MockRecipientsInterface_ListAll_Call) Run

type MockRecipientsInterface_List_Call

type MockRecipientsInterface_List_Call struct {
	*mock.Call
}

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

func (*MockRecipientsInterface_List_Call) Return

func (*MockRecipientsInterface_List_Call) Run

type MockRecipientsInterface_RecipientInfoNameToMetastoreIdMap_Call

type MockRecipientsInterface_RecipientInfoNameToMetastoreIdMap_Call struct {
	*mock.Call
}

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

func (*MockRecipientsInterface_RecipientInfoNameToMetastoreIdMap_Call) Return

func (*MockRecipientsInterface_RecipientInfoNameToMetastoreIdMap_Call) Run

type MockRecipientsInterface_RotateToken_Call

type MockRecipientsInterface_RotateToken_Call struct {
	*mock.Call
}

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

func (*MockRecipientsInterface_RotateToken_Call) Return

func (*MockRecipientsInterface_RotateToken_Call) Run

type MockRecipientsInterface_SharePermissionsByName_Call

type MockRecipientsInterface_SharePermissionsByName_Call struct {
	*mock.Call
}

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

func (*MockRecipientsInterface_SharePermissionsByName_Call) Run

type MockRecipientsInterface_SharePermissions_Call

type MockRecipientsInterface_SharePermissions_Call struct {
	*mock.Call
}

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

func (*MockRecipientsInterface_SharePermissions_Call) Run

type MockRecipientsInterface_Update_Call

type MockRecipientsInterface_Update_Call struct {
	*mock.Call
}

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

func (*MockRecipientsInterface_Update_Call) Return

func (*MockRecipientsInterface_Update_Call) Run

func (*MockRecipientsInterface_Update_Call) RunAndReturn

type MockSharesInterface

type MockSharesInterface struct {
	mock.Mock
}

MockSharesInterface is an autogenerated mock type for the SharesInterface type

func NewMockSharesInterface

func NewMockSharesInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockSharesInterface

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

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

func (*MockSharesInterface) Delete

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

func (*MockSharesInterface) DeleteByName

func (_m *MockSharesInterface) DeleteByName(ctx context.Context, name string) error

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

func (*MockSharesInterface) EXPECT

func (*MockSharesInterface) Get

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

func (*MockSharesInterface) GetByName

func (_m *MockSharesInterface) GetByName(ctx context.Context, name string) (*sharing.ShareInfo, error)

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

func (*MockSharesInterface) List

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

func (*MockSharesInterface) ListAll

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

func (*MockSharesInterface) SharePermissions

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

func (*MockSharesInterface) SharePermissionsByName

func (_m *MockSharesInterface) SharePermissionsByName(ctx context.Context, name string) (*catalog.PermissionsList, error)

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

func (*MockSharesInterface) Update

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

func (*MockSharesInterface) UpdatePermissions

func (_m *MockSharesInterface) UpdatePermissions(ctx context.Context, request sharing.UpdateSharePermissions) error

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

type MockSharesInterface_Create_Call

type MockSharesInterface_Create_Call struct {
	*mock.Call
}

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

func (*MockSharesInterface_Create_Call) Return

func (*MockSharesInterface_Create_Call) Run

func (*MockSharesInterface_Create_Call) RunAndReturn

type MockSharesInterface_DeleteByName_Call

type MockSharesInterface_DeleteByName_Call struct {
	*mock.Call
}

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

func (*MockSharesInterface_DeleteByName_Call) Return

func (*MockSharesInterface_DeleteByName_Call) Run

func (*MockSharesInterface_DeleteByName_Call) RunAndReturn

type MockSharesInterface_Delete_Call

type MockSharesInterface_Delete_Call struct {
	*mock.Call
}

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

func (*MockSharesInterface_Delete_Call) Return

func (*MockSharesInterface_Delete_Call) Run

func (*MockSharesInterface_Delete_Call) RunAndReturn

type MockSharesInterface_Expecter

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

func (*MockSharesInterface_Expecter) Create

func (_e *MockSharesInterface_Expecter) Create(ctx interface{}, request interface{}) *MockSharesInterface_Create_Call

Create is a helper method to define mock.On call

  • ctx context.Context
  • request sharing.CreateShare

func (*MockSharesInterface_Expecter) Delete

func (_e *MockSharesInterface_Expecter) Delete(ctx interface{}, request interface{}) *MockSharesInterface_Delete_Call

Delete is a helper method to define mock.On call

  • ctx context.Context
  • request sharing.DeleteShareRequest

func (*MockSharesInterface_Expecter) DeleteByName

func (_e *MockSharesInterface_Expecter) DeleteByName(ctx interface{}, name interface{}) *MockSharesInterface_DeleteByName_Call

DeleteByName is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*MockSharesInterface_Expecter) Get

func (_e *MockSharesInterface_Expecter) Get(ctx interface{}, request interface{}) *MockSharesInterface_Get_Call

Get is a helper method to define mock.On call

  • ctx context.Context
  • request sharing.GetShareRequest

func (*MockSharesInterface_Expecter) GetByName

func (_e *MockSharesInterface_Expecter) GetByName(ctx interface{}, name interface{}) *MockSharesInterface_GetByName_Call

GetByName is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*MockSharesInterface_Expecter) List

func (_e *MockSharesInterface_Expecter) List(ctx interface{}, request interface{}) *MockSharesInterface_List_Call

List is a helper method to define mock.On call

  • ctx context.Context
  • request sharing.ListSharesRequest

func (*MockSharesInterface_Expecter) ListAll

func (_e *MockSharesInterface_Expecter) ListAll(ctx interface{}, request interface{}) *MockSharesInterface_ListAll_Call

ListAll is a helper method to define mock.On call

  • ctx context.Context
  • request sharing.ListSharesRequest

func (*MockSharesInterface_Expecter) SharePermissions

func (_e *MockSharesInterface_Expecter) SharePermissions(ctx interface{}, request interface{}) *MockSharesInterface_SharePermissions_Call

SharePermissions is a helper method to define mock.On call

  • ctx context.Context
  • request sharing.SharePermissionsRequest

func (*MockSharesInterface_Expecter) SharePermissionsByName

func (_e *MockSharesInterface_Expecter) SharePermissionsByName(ctx interface{}, name interface{}) *MockSharesInterface_SharePermissionsByName_Call

SharePermissionsByName is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*MockSharesInterface_Expecter) Update

func (_e *MockSharesInterface_Expecter) Update(ctx interface{}, request interface{}) *MockSharesInterface_Update_Call

Update is a helper method to define mock.On call

  • ctx context.Context
  • request sharing.UpdateShare

func (*MockSharesInterface_Expecter) UpdatePermissions

func (_e *MockSharesInterface_Expecter) UpdatePermissions(ctx interface{}, request interface{}) *MockSharesInterface_UpdatePermissions_Call

UpdatePermissions is a helper method to define mock.On call

  • ctx context.Context
  • request sharing.UpdateSharePermissions

type MockSharesInterface_GetByName_Call

type MockSharesInterface_GetByName_Call struct {
	*mock.Call
}

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

func (*MockSharesInterface_GetByName_Call) Return

func (*MockSharesInterface_GetByName_Call) Run

func (*MockSharesInterface_GetByName_Call) RunAndReturn

type MockSharesInterface_Get_Call

type MockSharesInterface_Get_Call struct {
	*mock.Call
}

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

func (*MockSharesInterface_Get_Call) Return

func (*MockSharesInterface_Get_Call) Run

func (*MockSharesInterface_Get_Call) RunAndReturn

type MockSharesInterface_ListAll_Call

type MockSharesInterface_ListAll_Call struct {
	*mock.Call
}

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

func (*MockSharesInterface_ListAll_Call) Return

func (*MockSharesInterface_ListAll_Call) Run

func (*MockSharesInterface_ListAll_Call) RunAndReturn

type MockSharesInterface_List_Call

type MockSharesInterface_List_Call struct {
	*mock.Call
}

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

func (*MockSharesInterface_List_Call) Return

func (*MockSharesInterface_List_Call) Run

type MockSharesInterface_SharePermissionsByName_Call

type MockSharesInterface_SharePermissionsByName_Call struct {
	*mock.Call
}

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

func (*MockSharesInterface_SharePermissionsByName_Call) Return

func (*MockSharesInterface_SharePermissionsByName_Call) Run

func (*MockSharesInterface_SharePermissionsByName_Call) RunAndReturn

type MockSharesInterface_SharePermissions_Call

type MockSharesInterface_SharePermissions_Call struct {
	*mock.Call
}

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

func (*MockSharesInterface_SharePermissions_Call) Return

func (*MockSharesInterface_SharePermissions_Call) Run

type MockSharesInterface_UpdatePermissions_Call

type MockSharesInterface_UpdatePermissions_Call struct {
	*mock.Call
}

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

func (*MockSharesInterface_UpdatePermissions_Call) Return

func (*MockSharesInterface_UpdatePermissions_Call) Run

func (*MockSharesInterface_UpdatePermissions_Call) RunAndReturn

type MockSharesInterface_Update_Call

type MockSharesInterface_Update_Call struct {
	*mock.Call
}

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

func (*MockSharesInterface_Update_Call) Return

func (*MockSharesInterface_Update_Call) Run

func (*MockSharesInterface_Update_Call) RunAndReturn

Jump to

Keyboard shortcuts

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