apiv1connect

package
v0.16.2 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssetServiceClient

type AssetServiceClient struct {
	mock.Mock
}

AssetServiceClient is an autogenerated mock type for the AssetServiceClient type

func NewAssetServiceClient

func NewAssetServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *AssetServiceClient

NewAssetServiceClient creates a new instance of AssetServiceClient. 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 (*AssetServiceClient) EXPECT added in v0.16.2

func (*AssetServiceClient) List

func (_mock *AssetServiceClient) List(context1 context.Context, request *connect.Request[apiv1.AssetServiceListRequest]) (*connect.Response[apiv1.AssetServiceListResponse], error)

List provides a mock function for the type AssetServiceClient

type AssetServiceClient_Expecter added in v0.16.2

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

func (*AssetServiceClient_Expecter) List added in v0.16.2

func (_e *AssetServiceClient_Expecter) List(context1 interface{}, request interface{}) *AssetServiceClient_List_Call

List is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.AssetServiceListRequest]

type AssetServiceClient_List_Call added in v0.16.2

type AssetServiceClient_List_Call struct {
	*mock.Call
}

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

func (*AssetServiceClient_List_Call) Return added in v0.16.2

func (_c *AssetServiceClient_List_Call) Return(response *connect.Response[apiv1.AssetServiceListResponse], err error) *AssetServiceClient_List_Call

func (*AssetServiceClient_List_Call) Run added in v0.16.2

func (_c *AssetServiceClient_List_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.AssetServiceListRequest])) *AssetServiceClient_List_Call

func (*AssetServiceClient_List_Call) RunAndReturn added in v0.16.2

func (_c *AssetServiceClient_List_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.AssetServiceListRequest]) (*connect.Response[apiv1.AssetServiceListResponse], error)) *AssetServiceClient_List_Call

type AssetServiceHandler

type AssetServiceHandler struct {
	mock.Mock
}

AssetServiceHandler is an autogenerated mock type for the AssetServiceHandler type

func NewAssetServiceHandler

func NewAssetServiceHandler(t interface {
	mock.TestingT
	Cleanup(func())
}) *AssetServiceHandler

NewAssetServiceHandler creates a new instance of AssetServiceHandler. 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 (*AssetServiceHandler) EXPECT added in v0.16.2

func (*AssetServiceHandler) List

func (_mock *AssetServiceHandler) List(context1 context.Context, request *connect.Request[apiv1.AssetServiceListRequest]) (*connect.Response[apiv1.AssetServiceListResponse], error)

List provides a mock function for the type AssetServiceHandler

type AssetServiceHandler_Expecter added in v0.16.2

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

func (*AssetServiceHandler_Expecter) List added in v0.16.2

func (_e *AssetServiceHandler_Expecter) List(context1 interface{}, request interface{}) *AssetServiceHandler_List_Call

List is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.AssetServiceListRequest]

type AssetServiceHandler_List_Call added in v0.16.2

type AssetServiceHandler_List_Call struct {
	*mock.Call
}

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

func (*AssetServiceHandler_List_Call) Return added in v0.16.2

func (_c *AssetServiceHandler_List_Call) Return(response *connect.Response[apiv1.AssetServiceListResponse], err error) *AssetServiceHandler_List_Call

func (*AssetServiceHandler_List_Call) Run added in v0.16.2

func (_c *AssetServiceHandler_List_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.AssetServiceListRequest])) *AssetServiceHandler_List_Call

func (*AssetServiceHandler_List_Call) RunAndReturn added in v0.16.2

func (_c *AssetServiceHandler_List_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.AssetServiceListRequest]) (*connect.Response[apiv1.AssetServiceListResponse], error)) *AssetServiceHandler_List_Call

type AuditServiceClient added in v0.14.0

type AuditServiceClient struct {
	mock.Mock
}

AuditServiceClient is an autogenerated mock type for the AuditServiceClient type

func NewAuditServiceClient added in v0.14.0

func NewAuditServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *AuditServiceClient

NewAuditServiceClient creates a new instance of AuditServiceClient. 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 (*AuditServiceClient) EXPECT added in v0.16.2

func (*AuditServiceClient) Get added in v0.14.0

func (_mock *AuditServiceClient) Get(context1 context.Context, request *connect.Request[apiv1.AuditServiceGetRequest]) (*connect.Response[apiv1.AuditServiceGetResponse], error)

Get provides a mock function for the type AuditServiceClient

func (*AuditServiceClient) List added in v0.14.0

func (_mock *AuditServiceClient) List(context1 context.Context, request *connect.Request[apiv1.AuditServiceListRequest]) (*connect.Response[apiv1.AuditServiceListResponse], error)

List provides a mock function for the type AuditServiceClient

type AuditServiceClient_Expecter added in v0.16.2

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

func (*AuditServiceClient_Expecter) Get added in v0.16.2

func (_e *AuditServiceClient_Expecter) Get(context1 interface{}, request interface{}) *AuditServiceClient_Get_Call

Get is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.AuditServiceGetRequest]

func (*AuditServiceClient_Expecter) List added in v0.16.2

func (_e *AuditServiceClient_Expecter) List(context1 interface{}, request interface{}) *AuditServiceClient_List_Call

List is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.AuditServiceListRequest]

type AuditServiceClient_Get_Call added in v0.16.2

type AuditServiceClient_Get_Call struct {
	*mock.Call
}

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

func (*AuditServiceClient_Get_Call) Return added in v0.16.2

func (_c *AuditServiceClient_Get_Call) Return(response *connect.Response[apiv1.AuditServiceGetResponse], err error) *AuditServiceClient_Get_Call

func (*AuditServiceClient_Get_Call) Run added in v0.16.2

func (_c *AuditServiceClient_Get_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.AuditServiceGetRequest])) *AuditServiceClient_Get_Call

func (*AuditServiceClient_Get_Call) RunAndReturn added in v0.16.2

func (_c *AuditServiceClient_Get_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.AuditServiceGetRequest]) (*connect.Response[apiv1.AuditServiceGetResponse], error)) *AuditServiceClient_Get_Call

type AuditServiceClient_List_Call added in v0.16.2

type AuditServiceClient_List_Call struct {
	*mock.Call
}

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

func (*AuditServiceClient_List_Call) Return added in v0.16.2

func (_c *AuditServiceClient_List_Call) Return(response *connect.Response[apiv1.AuditServiceListResponse], err error) *AuditServiceClient_List_Call

func (*AuditServiceClient_List_Call) Run added in v0.16.2

func (_c *AuditServiceClient_List_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.AuditServiceListRequest])) *AuditServiceClient_List_Call

func (*AuditServiceClient_List_Call) RunAndReturn added in v0.16.2

func (_c *AuditServiceClient_List_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.AuditServiceListRequest]) (*connect.Response[apiv1.AuditServiceListResponse], error)) *AuditServiceClient_List_Call

type AuditServiceHandler added in v0.14.0

type AuditServiceHandler struct {
	mock.Mock
}

AuditServiceHandler is an autogenerated mock type for the AuditServiceHandler type

func NewAuditServiceHandler added in v0.14.0

func NewAuditServiceHandler(t interface {
	mock.TestingT
	Cleanup(func())
}) *AuditServiceHandler

NewAuditServiceHandler creates a new instance of AuditServiceHandler. 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 (*AuditServiceHandler) EXPECT added in v0.16.2

func (*AuditServiceHandler) Get added in v0.14.0

func (_mock *AuditServiceHandler) Get(context1 context.Context, request *connect.Request[apiv1.AuditServiceGetRequest]) (*connect.Response[apiv1.AuditServiceGetResponse], error)

Get provides a mock function for the type AuditServiceHandler

func (*AuditServiceHandler) List added in v0.14.0

func (_mock *AuditServiceHandler) List(context1 context.Context, request *connect.Request[apiv1.AuditServiceListRequest]) (*connect.Response[apiv1.AuditServiceListResponse], error)

List provides a mock function for the type AuditServiceHandler

type AuditServiceHandler_Expecter added in v0.16.2

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

func (*AuditServiceHandler_Expecter) Get added in v0.16.2

func (_e *AuditServiceHandler_Expecter) Get(context1 interface{}, request interface{}) *AuditServiceHandler_Get_Call

Get is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.AuditServiceGetRequest]

func (*AuditServiceHandler_Expecter) List added in v0.16.2

func (_e *AuditServiceHandler_Expecter) List(context1 interface{}, request interface{}) *AuditServiceHandler_List_Call

List is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.AuditServiceListRequest]

type AuditServiceHandler_Get_Call added in v0.16.2

type AuditServiceHandler_Get_Call struct {
	*mock.Call
}

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

func (*AuditServiceHandler_Get_Call) Return added in v0.16.2

func (_c *AuditServiceHandler_Get_Call) Return(response *connect.Response[apiv1.AuditServiceGetResponse], err error) *AuditServiceHandler_Get_Call

func (*AuditServiceHandler_Get_Call) Run added in v0.16.2

func (_c *AuditServiceHandler_Get_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.AuditServiceGetRequest])) *AuditServiceHandler_Get_Call

func (*AuditServiceHandler_Get_Call) RunAndReturn added in v0.16.2

func (_c *AuditServiceHandler_Get_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.AuditServiceGetRequest]) (*connect.Response[apiv1.AuditServiceGetResponse], error)) *AuditServiceHandler_Get_Call

type AuditServiceHandler_List_Call added in v0.16.2

type AuditServiceHandler_List_Call struct {
	*mock.Call
}

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

func (*AuditServiceHandler_List_Call) Return added in v0.16.2

func (_c *AuditServiceHandler_List_Call) Return(response *connect.Response[apiv1.AuditServiceListResponse], err error) *AuditServiceHandler_List_Call

func (*AuditServiceHandler_List_Call) Run added in v0.16.2

func (_c *AuditServiceHandler_List_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.AuditServiceListRequest])) *AuditServiceHandler_List_Call

func (*AuditServiceHandler_List_Call) RunAndReturn added in v0.16.2

func (_c *AuditServiceHandler_List_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.AuditServiceListRequest]) (*connect.Response[apiv1.AuditServiceListResponse], error)) *AuditServiceHandler_List_Call

type ClusterServiceClient

type ClusterServiceClient struct {
	mock.Mock
}

ClusterServiceClient is an autogenerated mock type for the ClusterServiceClient type

func NewClusterServiceClient

func NewClusterServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *ClusterServiceClient

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

func (_mock *ClusterServiceClient) Create(context1 context.Context, request *connect.Request[apiv1.ClusterServiceCreateRequest]) (*connect.Response[apiv1.ClusterServiceCreateResponse], error)

Create provides a mock function for the type ClusterServiceClient

func (*ClusterServiceClient) Delete

func (_mock *ClusterServiceClient) Delete(context1 context.Context, request *connect.Request[apiv1.ClusterServiceDeleteRequest]) (*connect.Response[apiv1.ClusterServiceDeleteResponse], error)

Delete provides a mock function for the type ClusterServiceClient

func (*ClusterServiceClient) EXPECT added in v0.16.2

func (*ClusterServiceClient) Get

func (_mock *ClusterServiceClient) Get(context1 context.Context, request *connect.Request[apiv1.ClusterServiceGetRequest]) (*connect.Response[apiv1.ClusterServiceGetResponse], error)

Get provides a mock function for the type ClusterServiceClient

func (*ClusterServiceClient) GetCredentials

func (_mock *ClusterServiceClient) GetCredentials(context1 context.Context, request *connect.Request[apiv1.ClusterServiceGetCredentialsRequest]) (*connect.Response[apiv1.ClusterServiceGetCredentialsResponse], error)

GetCredentials provides a mock function for the type ClusterServiceClient

func (*ClusterServiceClient) List

func (_mock *ClusterServiceClient) List(context1 context.Context, request *connect.Request[apiv1.ClusterServiceListRequest]) (*connect.Response[apiv1.ClusterServiceListResponse], error)

List provides a mock function for the type ClusterServiceClient

func (*ClusterServiceClient) Operate added in v0.7.1

func (_mock *ClusterServiceClient) Operate(context1 context.Context, request *connect.Request[apiv1.ClusterServiceOperateRequest]) (*connect.Response[apiv1.ClusterServiceOperateResponse], error)

Operate provides a mock function for the type ClusterServiceClient

func (*ClusterServiceClient) Update

func (_mock *ClusterServiceClient) Update(context1 context.Context, request *connect.Request[apiv1.ClusterServiceUpdateRequest]) (*connect.Response[apiv1.ClusterServiceUpdateResponse], error)

Update provides a mock function for the type ClusterServiceClient

func (*ClusterServiceClient) WatchStatus

func (_mock *ClusterServiceClient) WatchStatus(context1 context.Context, request *connect.Request[apiv1.ClusterServiceWatchStatusRequest]) (*connect.ServerStreamForClient[apiv1.ClusterServiceWatchStatusResponse], error)

WatchStatus provides a mock function for the type ClusterServiceClient

type ClusterServiceClient_Create_Call added in v0.16.2

type ClusterServiceClient_Create_Call struct {
	*mock.Call
}

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

func (*ClusterServiceClient_Create_Call) Return added in v0.16.2

func (_c *ClusterServiceClient_Create_Call) Return(response *connect.Response[apiv1.ClusterServiceCreateResponse], err error) *ClusterServiceClient_Create_Call

func (*ClusterServiceClient_Create_Call) Run added in v0.16.2

func (_c *ClusterServiceClient_Create_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.ClusterServiceCreateRequest])) *ClusterServiceClient_Create_Call

func (*ClusterServiceClient_Create_Call) RunAndReturn added in v0.16.2

func (_c *ClusterServiceClient_Create_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.ClusterServiceCreateRequest]) (*connect.Response[apiv1.ClusterServiceCreateResponse], error)) *ClusterServiceClient_Create_Call

type ClusterServiceClient_Delete_Call added in v0.16.2

type ClusterServiceClient_Delete_Call struct {
	*mock.Call
}

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

func (*ClusterServiceClient_Delete_Call) Return added in v0.16.2

func (_c *ClusterServiceClient_Delete_Call) Return(response *connect.Response[apiv1.ClusterServiceDeleteResponse], err error) *ClusterServiceClient_Delete_Call

func (*ClusterServiceClient_Delete_Call) Run added in v0.16.2

func (_c *ClusterServiceClient_Delete_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.ClusterServiceDeleteRequest])) *ClusterServiceClient_Delete_Call

func (*ClusterServiceClient_Delete_Call) RunAndReturn added in v0.16.2

func (_c *ClusterServiceClient_Delete_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.ClusterServiceDeleteRequest]) (*connect.Response[apiv1.ClusterServiceDeleteResponse], error)) *ClusterServiceClient_Delete_Call

type ClusterServiceClient_Expecter added in v0.16.2

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

func (*ClusterServiceClient_Expecter) Create added in v0.16.2

func (_e *ClusterServiceClient_Expecter) Create(context1 interface{}, request interface{}) *ClusterServiceClient_Create_Call

Create is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.ClusterServiceCreateRequest]

func (*ClusterServiceClient_Expecter) Delete added in v0.16.2

func (_e *ClusterServiceClient_Expecter) Delete(context1 interface{}, request interface{}) *ClusterServiceClient_Delete_Call

Delete is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.ClusterServiceDeleteRequest]

func (*ClusterServiceClient_Expecter) Get added in v0.16.2

func (_e *ClusterServiceClient_Expecter) Get(context1 interface{}, request interface{}) *ClusterServiceClient_Get_Call

Get is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.ClusterServiceGetRequest]

func (*ClusterServiceClient_Expecter) GetCredentials added in v0.16.2

func (_e *ClusterServiceClient_Expecter) GetCredentials(context1 interface{}, request interface{}) *ClusterServiceClient_GetCredentials_Call

GetCredentials is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.ClusterServiceGetCredentialsRequest]

func (*ClusterServiceClient_Expecter) List added in v0.16.2

func (_e *ClusterServiceClient_Expecter) List(context1 interface{}, request interface{}) *ClusterServiceClient_List_Call

List is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.ClusterServiceListRequest]

func (*ClusterServiceClient_Expecter) Operate added in v0.16.2

func (_e *ClusterServiceClient_Expecter) Operate(context1 interface{}, request interface{}) *ClusterServiceClient_Operate_Call

Operate is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.ClusterServiceOperateRequest]

func (*ClusterServiceClient_Expecter) Update added in v0.16.2

func (_e *ClusterServiceClient_Expecter) Update(context1 interface{}, request interface{}) *ClusterServiceClient_Update_Call

Update is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.ClusterServiceUpdateRequest]

func (*ClusterServiceClient_Expecter) WatchStatus added in v0.16.2

func (_e *ClusterServiceClient_Expecter) WatchStatus(context1 interface{}, request interface{}) *ClusterServiceClient_WatchStatus_Call

WatchStatus is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.ClusterServiceWatchStatusRequest]

type ClusterServiceClient_GetCredentials_Call added in v0.16.2

type ClusterServiceClient_GetCredentials_Call struct {
	*mock.Call
}

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

func (*ClusterServiceClient_GetCredentials_Call) Return added in v0.16.2

func (_c *ClusterServiceClient_GetCredentials_Call) Return(response *connect.Response[apiv1.ClusterServiceGetCredentialsResponse], err error) *ClusterServiceClient_GetCredentials_Call

func (*ClusterServiceClient_GetCredentials_Call) Run added in v0.16.2

func (_c *ClusterServiceClient_GetCredentials_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.ClusterServiceGetCredentialsRequest])) *ClusterServiceClient_GetCredentials_Call

func (*ClusterServiceClient_GetCredentials_Call) RunAndReturn added in v0.16.2

func (_c *ClusterServiceClient_GetCredentials_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.ClusterServiceGetCredentialsRequest]) (*connect.Response[apiv1.ClusterServiceGetCredentialsResponse], error)) *ClusterServiceClient_GetCredentials_Call

type ClusterServiceClient_Get_Call added in v0.16.2

type ClusterServiceClient_Get_Call struct {
	*mock.Call
}

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

func (*ClusterServiceClient_Get_Call) Return added in v0.16.2

func (_c *ClusterServiceClient_Get_Call) Return(response *connect.Response[apiv1.ClusterServiceGetResponse], err error) *ClusterServiceClient_Get_Call

func (*ClusterServiceClient_Get_Call) Run added in v0.16.2

func (_c *ClusterServiceClient_Get_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.ClusterServiceGetRequest])) *ClusterServiceClient_Get_Call

func (*ClusterServiceClient_Get_Call) RunAndReturn added in v0.16.2

func (_c *ClusterServiceClient_Get_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.ClusterServiceGetRequest]) (*connect.Response[apiv1.ClusterServiceGetResponse], error)) *ClusterServiceClient_Get_Call

type ClusterServiceClient_List_Call added in v0.16.2

type ClusterServiceClient_List_Call struct {
	*mock.Call
}

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

func (*ClusterServiceClient_List_Call) Return added in v0.16.2

func (_c *ClusterServiceClient_List_Call) Return(response *connect.Response[apiv1.ClusterServiceListResponse], err error) *ClusterServiceClient_List_Call

func (*ClusterServiceClient_List_Call) Run added in v0.16.2

func (_c *ClusterServiceClient_List_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.ClusterServiceListRequest])) *ClusterServiceClient_List_Call

func (*ClusterServiceClient_List_Call) RunAndReturn added in v0.16.2

func (_c *ClusterServiceClient_List_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.ClusterServiceListRequest]) (*connect.Response[apiv1.ClusterServiceListResponse], error)) *ClusterServiceClient_List_Call

type ClusterServiceClient_Operate_Call added in v0.16.2

type ClusterServiceClient_Operate_Call struct {
	*mock.Call
}

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

func (*ClusterServiceClient_Operate_Call) Return added in v0.16.2

func (_c *ClusterServiceClient_Operate_Call) Return(response *connect.Response[apiv1.ClusterServiceOperateResponse], err error) *ClusterServiceClient_Operate_Call

func (*ClusterServiceClient_Operate_Call) Run added in v0.16.2

func (_c *ClusterServiceClient_Operate_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.ClusterServiceOperateRequest])) *ClusterServiceClient_Operate_Call

func (*ClusterServiceClient_Operate_Call) RunAndReturn added in v0.16.2

func (_c *ClusterServiceClient_Operate_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.ClusterServiceOperateRequest]) (*connect.Response[apiv1.ClusterServiceOperateResponse], error)) *ClusterServiceClient_Operate_Call

type ClusterServiceClient_Update_Call added in v0.16.2

type ClusterServiceClient_Update_Call struct {
	*mock.Call
}

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

func (*ClusterServiceClient_Update_Call) Return added in v0.16.2

func (_c *ClusterServiceClient_Update_Call) Return(response *connect.Response[apiv1.ClusterServiceUpdateResponse], err error) *ClusterServiceClient_Update_Call

func (*ClusterServiceClient_Update_Call) Run added in v0.16.2

func (_c *ClusterServiceClient_Update_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.ClusterServiceUpdateRequest])) *ClusterServiceClient_Update_Call

func (*ClusterServiceClient_Update_Call) RunAndReturn added in v0.16.2

func (_c *ClusterServiceClient_Update_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.ClusterServiceUpdateRequest]) (*connect.Response[apiv1.ClusterServiceUpdateResponse], error)) *ClusterServiceClient_Update_Call

type ClusterServiceClient_WatchStatus_Call added in v0.16.2

type ClusterServiceClient_WatchStatus_Call struct {
	*mock.Call
}

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

func (*ClusterServiceClient_WatchStatus_Call) Return added in v0.16.2

func (_c *ClusterServiceClient_WatchStatus_Call) Return(serverStreamForClient *connect.ServerStreamForClient[apiv1.ClusterServiceWatchStatusResponse], err error) *ClusterServiceClient_WatchStatus_Call

func (*ClusterServiceClient_WatchStatus_Call) Run added in v0.16.2

func (_c *ClusterServiceClient_WatchStatus_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.ClusterServiceWatchStatusRequest])) *ClusterServiceClient_WatchStatus_Call

func (*ClusterServiceClient_WatchStatus_Call) RunAndReturn added in v0.16.2

func (_c *ClusterServiceClient_WatchStatus_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.ClusterServiceWatchStatusRequest]) (*connect.ServerStreamForClient[apiv1.ClusterServiceWatchStatusResponse], error)) *ClusterServiceClient_WatchStatus_Call

type ClusterServiceHandler

type ClusterServiceHandler struct {
	mock.Mock
}

ClusterServiceHandler is an autogenerated mock type for the ClusterServiceHandler type

func NewClusterServiceHandler

func NewClusterServiceHandler(t interface {
	mock.TestingT
	Cleanup(func())
}) *ClusterServiceHandler

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

func (_mock *ClusterServiceHandler) Create(context1 context.Context, request *connect.Request[apiv1.ClusterServiceCreateRequest]) (*connect.Response[apiv1.ClusterServiceCreateResponse], error)

Create provides a mock function for the type ClusterServiceHandler

func (*ClusterServiceHandler) Delete

func (_mock *ClusterServiceHandler) Delete(context1 context.Context, request *connect.Request[apiv1.ClusterServiceDeleteRequest]) (*connect.Response[apiv1.ClusterServiceDeleteResponse], error)

Delete provides a mock function for the type ClusterServiceHandler

func (*ClusterServiceHandler) EXPECT added in v0.16.2

func (*ClusterServiceHandler) Get

func (_mock *ClusterServiceHandler) Get(context1 context.Context, request *connect.Request[apiv1.ClusterServiceGetRequest]) (*connect.Response[apiv1.ClusterServiceGetResponse], error)

Get provides a mock function for the type ClusterServiceHandler

func (*ClusterServiceHandler) GetCredentials

func (_mock *ClusterServiceHandler) GetCredentials(context1 context.Context, request *connect.Request[apiv1.ClusterServiceGetCredentialsRequest]) (*connect.Response[apiv1.ClusterServiceGetCredentialsResponse], error)

GetCredentials provides a mock function for the type ClusterServiceHandler

func (*ClusterServiceHandler) List

func (_mock *ClusterServiceHandler) List(context1 context.Context, request *connect.Request[apiv1.ClusterServiceListRequest]) (*connect.Response[apiv1.ClusterServiceListResponse], error)

List provides a mock function for the type ClusterServiceHandler

func (*ClusterServiceHandler) Operate added in v0.7.1

func (_mock *ClusterServiceHandler) Operate(context1 context.Context, request *connect.Request[apiv1.ClusterServiceOperateRequest]) (*connect.Response[apiv1.ClusterServiceOperateResponse], error)

Operate provides a mock function for the type ClusterServiceHandler

func (*ClusterServiceHandler) Update

func (_mock *ClusterServiceHandler) Update(context1 context.Context, request *connect.Request[apiv1.ClusterServiceUpdateRequest]) (*connect.Response[apiv1.ClusterServiceUpdateResponse], error)

Update provides a mock function for the type ClusterServiceHandler

func (*ClusterServiceHandler) WatchStatus

func (_mock *ClusterServiceHandler) WatchStatus(context1 context.Context, request *connect.Request[apiv1.ClusterServiceWatchStatusRequest], serverStream *connect.ServerStream[apiv1.ClusterServiceWatchStatusResponse]) error

WatchStatus provides a mock function for the type ClusterServiceHandler

type ClusterServiceHandler_Create_Call added in v0.16.2

type ClusterServiceHandler_Create_Call struct {
	*mock.Call
}

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

func (*ClusterServiceHandler_Create_Call) Return added in v0.16.2

func (_c *ClusterServiceHandler_Create_Call) Return(response *connect.Response[apiv1.ClusterServiceCreateResponse], err error) *ClusterServiceHandler_Create_Call

func (*ClusterServiceHandler_Create_Call) Run added in v0.16.2

func (_c *ClusterServiceHandler_Create_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.ClusterServiceCreateRequest])) *ClusterServiceHandler_Create_Call

func (*ClusterServiceHandler_Create_Call) RunAndReturn added in v0.16.2

func (_c *ClusterServiceHandler_Create_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.ClusterServiceCreateRequest]) (*connect.Response[apiv1.ClusterServiceCreateResponse], error)) *ClusterServiceHandler_Create_Call

type ClusterServiceHandler_Delete_Call added in v0.16.2

type ClusterServiceHandler_Delete_Call struct {
	*mock.Call
}

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

func (*ClusterServiceHandler_Delete_Call) Return added in v0.16.2

func (_c *ClusterServiceHandler_Delete_Call) Return(response *connect.Response[apiv1.ClusterServiceDeleteResponse], err error) *ClusterServiceHandler_Delete_Call

func (*ClusterServiceHandler_Delete_Call) Run added in v0.16.2

func (_c *ClusterServiceHandler_Delete_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.ClusterServiceDeleteRequest])) *ClusterServiceHandler_Delete_Call

func (*ClusterServiceHandler_Delete_Call) RunAndReturn added in v0.16.2

func (_c *ClusterServiceHandler_Delete_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.ClusterServiceDeleteRequest]) (*connect.Response[apiv1.ClusterServiceDeleteResponse], error)) *ClusterServiceHandler_Delete_Call

type ClusterServiceHandler_Expecter added in v0.16.2

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

func (*ClusterServiceHandler_Expecter) Create added in v0.16.2

func (_e *ClusterServiceHandler_Expecter) Create(context1 interface{}, request interface{}) *ClusterServiceHandler_Create_Call

Create is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.ClusterServiceCreateRequest]

func (*ClusterServiceHandler_Expecter) Delete added in v0.16.2

func (_e *ClusterServiceHandler_Expecter) Delete(context1 interface{}, request interface{}) *ClusterServiceHandler_Delete_Call

Delete is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.ClusterServiceDeleteRequest]

func (*ClusterServiceHandler_Expecter) Get added in v0.16.2

func (_e *ClusterServiceHandler_Expecter) Get(context1 interface{}, request interface{}) *ClusterServiceHandler_Get_Call

Get is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.ClusterServiceGetRequest]

func (*ClusterServiceHandler_Expecter) GetCredentials added in v0.16.2

func (_e *ClusterServiceHandler_Expecter) GetCredentials(context1 interface{}, request interface{}) *ClusterServiceHandler_GetCredentials_Call

GetCredentials is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.ClusterServiceGetCredentialsRequest]

func (*ClusterServiceHandler_Expecter) List added in v0.16.2

func (_e *ClusterServiceHandler_Expecter) List(context1 interface{}, request interface{}) *ClusterServiceHandler_List_Call

List is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.ClusterServiceListRequest]

func (*ClusterServiceHandler_Expecter) Operate added in v0.16.2

func (_e *ClusterServiceHandler_Expecter) Operate(context1 interface{}, request interface{}) *ClusterServiceHandler_Operate_Call

Operate is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.ClusterServiceOperateRequest]

func (*ClusterServiceHandler_Expecter) Update added in v0.16.2

func (_e *ClusterServiceHandler_Expecter) Update(context1 interface{}, request interface{}) *ClusterServiceHandler_Update_Call

Update is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.ClusterServiceUpdateRequest]

func (*ClusterServiceHandler_Expecter) WatchStatus added in v0.16.2

func (_e *ClusterServiceHandler_Expecter) WatchStatus(context1 interface{}, request interface{}, serverStream interface{}) *ClusterServiceHandler_WatchStatus_Call

WatchStatus is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.ClusterServiceWatchStatusRequest]
  • serverStream *connect.ServerStream[apiv1.ClusterServiceWatchStatusResponse]

type ClusterServiceHandler_GetCredentials_Call added in v0.16.2

type ClusterServiceHandler_GetCredentials_Call struct {
	*mock.Call
}

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

func (*ClusterServiceHandler_GetCredentials_Call) Return added in v0.16.2

func (_c *ClusterServiceHandler_GetCredentials_Call) Return(response *connect.Response[apiv1.ClusterServiceGetCredentialsResponse], err error) *ClusterServiceHandler_GetCredentials_Call

func (*ClusterServiceHandler_GetCredentials_Call) Run added in v0.16.2

func (_c *ClusterServiceHandler_GetCredentials_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.ClusterServiceGetCredentialsRequest])) *ClusterServiceHandler_GetCredentials_Call

func (*ClusterServiceHandler_GetCredentials_Call) RunAndReturn added in v0.16.2

func (_c *ClusterServiceHandler_GetCredentials_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.ClusterServiceGetCredentialsRequest]) (*connect.Response[apiv1.ClusterServiceGetCredentialsResponse], error)) *ClusterServiceHandler_GetCredentials_Call

type ClusterServiceHandler_Get_Call added in v0.16.2

type ClusterServiceHandler_Get_Call struct {
	*mock.Call
}

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

func (*ClusterServiceHandler_Get_Call) Return added in v0.16.2

func (_c *ClusterServiceHandler_Get_Call) Return(response *connect.Response[apiv1.ClusterServiceGetResponse], err error) *ClusterServiceHandler_Get_Call

func (*ClusterServiceHandler_Get_Call) Run added in v0.16.2

func (_c *ClusterServiceHandler_Get_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.ClusterServiceGetRequest])) *ClusterServiceHandler_Get_Call

func (*ClusterServiceHandler_Get_Call) RunAndReturn added in v0.16.2

func (_c *ClusterServiceHandler_Get_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.ClusterServiceGetRequest]) (*connect.Response[apiv1.ClusterServiceGetResponse], error)) *ClusterServiceHandler_Get_Call

type ClusterServiceHandler_List_Call added in v0.16.2

type ClusterServiceHandler_List_Call struct {
	*mock.Call
}

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

func (*ClusterServiceHandler_List_Call) Return added in v0.16.2

func (_c *ClusterServiceHandler_List_Call) Return(response *connect.Response[apiv1.ClusterServiceListResponse], err error) *ClusterServiceHandler_List_Call

func (*ClusterServiceHandler_List_Call) Run added in v0.16.2

func (_c *ClusterServiceHandler_List_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.ClusterServiceListRequest])) *ClusterServiceHandler_List_Call

func (*ClusterServiceHandler_List_Call) RunAndReturn added in v0.16.2

func (_c *ClusterServiceHandler_List_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.ClusterServiceListRequest]) (*connect.Response[apiv1.ClusterServiceListResponse], error)) *ClusterServiceHandler_List_Call

type ClusterServiceHandler_Operate_Call added in v0.16.2

type ClusterServiceHandler_Operate_Call struct {
	*mock.Call
}

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

func (*ClusterServiceHandler_Operate_Call) Return added in v0.16.2

func (_c *ClusterServiceHandler_Operate_Call) Return(response *connect.Response[apiv1.ClusterServiceOperateResponse], err error) *ClusterServiceHandler_Operate_Call

func (*ClusterServiceHandler_Operate_Call) Run added in v0.16.2

func (_c *ClusterServiceHandler_Operate_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.ClusterServiceOperateRequest])) *ClusterServiceHandler_Operate_Call

func (*ClusterServiceHandler_Operate_Call) RunAndReturn added in v0.16.2

func (_c *ClusterServiceHandler_Operate_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.ClusterServiceOperateRequest]) (*connect.Response[apiv1.ClusterServiceOperateResponse], error)) *ClusterServiceHandler_Operate_Call

type ClusterServiceHandler_Update_Call added in v0.16.2

type ClusterServiceHandler_Update_Call struct {
	*mock.Call
}

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

func (*ClusterServiceHandler_Update_Call) Return added in v0.16.2

func (_c *ClusterServiceHandler_Update_Call) Return(response *connect.Response[apiv1.ClusterServiceUpdateResponse], err error) *ClusterServiceHandler_Update_Call

func (*ClusterServiceHandler_Update_Call) Run added in v0.16.2

func (_c *ClusterServiceHandler_Update_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.ClusterServiceUpdateRequest])) *ClusterServiceHandler_Update_Call

func (*ClusterServiceHandler_Update_Call) RunAndReturn added in v0.16.2

func (_c *ClusterServiceHandler_Update_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.ClusterServiceUpdateRequest]) (*connect.Response[apiv1.ClusterServiceUpdateResponse], error)) *ClusterServiceHandler_Update_Call

type ClusterServiceHandler_WatchStatus_Call added in v0.16.2

type ClusterServiceHandler_WatchStatus_Call struct {
	*mock.Call
}

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

func (*ClusterServiceHandler_WatchStatus_Call) Return added in v0.16.2

func (*ClusterServiceHandler_WatchStatus_Call) Run added in v0.16.2

func (_c *ClusterServiceHandler_WatchStatus_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.ClusterServiceWatchStatusRequest], serverStream *connect.ServerStream[apiv1.ClusterServiceWatchStatusResponse])) *ClusterServiceHandler_WatchStatus_Call

func (*ClusterServiceHandler_WatchStatus_Call) RunAndReturn added in v0.16.2

func (_c *ClusterServiceHandler_WatchStatus_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.ClusterServiceWatchStatusRequest], serverStream *connect.ServerStream[apiv1.ClusterServiceWatchStatusResponse]) error) *ClusterServiceHandler_WatchStatus_Call

type HealthServiceClient

type HealthServiceClient struct {
	mock.Mock
}

HealthServiceClient is an autogenerated mock type for the HealthServiceClient type

func NewHealthServiceClient

func NewHealthServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *HealthServiceClient

NewHealthServiceClient creates a new instance of HealthServiceClient. 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 (*HealthServiceClient) EXPECT added in v0.16.2

func (*HealthServiceClient) Get

func (_mock *HealthServiceClient) Get(context1 context.Context, request *connect.Request[apiv1.HealthServiceGetRequest]) (*connect.Response[apiv1.HealthServiceGetResponse], error)

Get provides a mock function for the type HealthServiceClient

type HealthServiceClient_Expecter added in v0.16.2

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

func (*HealthServiceClient_Expecter) Get added in v0.16.2

func (_e *HealthServiceClient_Expecter) Get(context1 interface{}, request interface{}) *HealthServiceClient_Get_Call

Get is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.HealthServiceGetRequest]

type HealthServiceClient_Get_Call added in v0.16.2

type HealthServiceClient_Get_Call struct {
	*mock.Call
}

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

func (*HealthServiceClient_Get_Call) Return added in v0.16.2

func (_c *HealthServiceClient_Get_Call) Return(response *connect.Response[apiv1.HealthServiceGetResponse], err error) *HealthServiceClient_Get_Call

func (*HealthServiceClient_Get_Call) Run added in v0.16.2

func (_c *HealthServiceClient_Get_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.HealthServiceGetRequest])) *HealthServiceClient_Get_Call

func (*HealthServiceClient_Get_Call) RunAndReturn added in v0.16.2

func (_c *HealthServiceClient_Get_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.HealthServiceGetRequest]) (*connect.Response[apiv1.HealthServiceGetResponse], error)) *HealthServiceClient_Get_Call

type HealthServiceHandler

type HealthServiceHandler struct {
	mock.Mock
}

HealthServiceHandler is an autogenerated mock type for the HealthServiceHandler type

func NewHealthServiceHandler

func NewHealthServiceHandler(t interface {
	mock.TestingT
	Cleanup(func())
}) *HealthServiceHandler

NewHealthServiceHandler creates a new instance of HealthServiceHandler. 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 (*HealthServiceHandler) EXPECT added in v0.16.2

func (*HealthServiceHandler) Get

func (_mock *HealthServiceHandler) Get(context1 context.Context, request *connect.Request[apiv1.HealthServiceGetRequest]) (*connect.Response[apiv1.HealthServiceGetResponse], error)

Get provides a mock function for the type HealthServiceHandler

type HealthServiceHandler_Expecter added in v0.16.2

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

func (*HealthServiceHandler_Expecter) Get added in v0.16.2

func (_e *HealthServiceHandler_Expecter) Get(context1 interface{}, request interface{}) *HealthServiceHandler_Get_Call

Get is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.HealthServiceGetRequest]

type HealthServiceHandler_Get_Call added in v0.16.2

type HealthServiceHandler_Get_Call struct {
	*mock.Call
}

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

func (*HealthServiceHandler_Get_Call) Return added in v0.16.2

func (_c *HealthServiceHandler_Get_Call) Return(response *connect.Response[apiv1.HealthServiceGetResponse], err error) *HealthServiceHandler_Get_Call

func (*HealthServiceHandler_Get_Call) Run added in v0.16.2

func (_c *HealthServiceHandler_Get_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.HealthServiceGetRequest])) *HealthServiceHandler_Get_Call

func (*HealthServiceHandler_Get_Call) RunAndReturn added in v0.16.2

func (_c *HealthServiceHandler_Get_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.HealthServiceGetRequest]) (*connect.Response[apiv1.HealthServiceGetResponse], error)) *HealthServiceHandler_Get_Call

type IPServiceClient

type IPServiceClient struct {
	mock.Mock
}

IPServiceClient is an autogenerated mock type for the IPServiceClient type

func NewIPServiceClient

func NewIPServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *IPServiceClient

NewIPServiceClient creates a new instance of IPServiceClient. 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 (*IPServiceClient) Allocate

func (_mock *IPServiceClient) Allocate(context1 context.Context, request *connect.Request[apiv1.IPServiceAllocateRequest]) (*connect.Response[apiv1.IPServiceAllocateResponse], error)

Allocate provides a mock function for the type IPServiceClient

func (*IPServiceClient) Delete

func (_mock *IPServiceClient) Delete(context1 context.Context, request *connect.Request[apiv1.IPServiceDeleteRequest]) (*connect.Response[apiv1.IPServiceDeleteResponse], error)

Delete provides a mock function for the type IPServiceClient

func (*IPServiceClient) EXPECT added in v0.16.2

func (*IPServiceClient) Get

func (_mock *IPServiceClient) Get(context1 context.Context, request *connect.Request[apiv1.IPServiceGetRequest]) (*connect.Response[apiv1.IPServiceGetResponse], error)

Get provides a mock function for the type IPServiceClient

func (*IPServiceClient) List

func (_mock *IPServiceClient) List(context1 context.Context, request *connect.Request[apiv1.IPServiceListRequest]) (*connect.Response[apiv1.IPServiceListResponse], error)

List provides a mock function for the type IPServiceClient

func (*IPServiceClient) Update

func (_mock *IPServiceClient) Update(context1 context.Context, request *connect.Request[apiv1.IPServiceUpdateRequest]) (*connect.Response[apiv1.IPServiceUpdateResponse], error)

Update provides a mock function for the type IPServiceClient

type IPServiceClient_Allocate_Call added in v0.16.2

type IPServiceClient_Allocate_Call struct {
	*mock.Call
}

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

func (*IPServiceClient_Allocate_Call) Return added in v0.16.2

func (_c *IPServiceClient_Allocate_Call) Return(response *connect.Response[apiv1.IPServiceAllocateResponse], err error) *IPServiceClient_Allocate_Call

func (*IPServiceClient_Allocate_Call) Run added in v0.16.2

func (_c *IPServiceClient_Allocate_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.IPServiceAllocateRequest])) *IPServiceClient_Allocate_Call

func (*IPServiceClient_Allocate_Call) RunAndReturn added in v0.16.2

func (_c *IPServiceClient_Allocate_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.IPServiceAllocateRequest]) (*connect.Response[apiv1.IPServiceAllocateResponse], error)) *IPServiceClient_Allocate_Call

type IPServiceClient_Delete_Call added in v0.16.2

type IPServiceClient_Delete_Call struct {
	*mock.Call
}

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

func (*IPServiceClient_Delete_Call) Return added in v0.16.2

func (_c *IPServiceClient_Delete_Call) Return(response *connect.Response[apiv1.IPServiceDeleteResponse], err error) *IPServiceClient_Delete_Call

func (*IPServiceClient_Delete_Call) Run added in v0.16.2

func (_c *IPServiceClient_Delete_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.IPServiceDeleteRequest])) *IPServiceClient_Delete_Call

func (*IPServiceClient_Delete_Call) RunAndReturn added in v0.16.2

func (_c *IPServiceClient_Delete_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.IPServiceDeleteRequest]) (*connect.Response[apiv1.IPServiceDeleteResponse], error)) *IPServiceClient_Delete_Call

type IPServiceClient_Expecter added in v0.16.2

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

func (*IPServiceClient_Expecter) Allocate added in v0.16.2

func (_e *IPServiceClient_Expecter) Allocate(context1 interface{}, request interface{}) *IPServiceClient_Allocate_Call

Allocate is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.IPServiceAllocateRequest]

func (*IPServiceClient_Expecter) Delete added in v0.16.2

func (_e *IPServiceClient_Expecter) Delete(context1 interface{}, request interface{}) *IPServiceClient_Delete_Call

Delete is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.IPServiceDeleteRequest]

func (*IPServiceClient_Expecter) Get added in v0.16.2

func (_e *IPServiceClient_Expecter) Get(context1 interface{}, request interface{}) *IPServiceClient_Get_Call

Get is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.IPServiceGetRequest]

func (*IPServiceClient_Expecter) List added in v0.16.2

func (_e *IPServiceClient_Expecter) List(context1 interface{}, request interface{}) *IPServiceClient_List_Call

List is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.IPServiceListRequest]

func (*IPServiceClient_Expecter) Update added in v0.16.2

func (_e *IPServiceClient_Expecter) Update(context1 interface{}, request interface{}) *IPServiceClient_Update_Call

Update is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.IPServiceUpdateRequest]

type IPServiceClient_Get_Call added in v0.16.2

type IPServiceClient_Get_Call struct {
	*mock.Call
}

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

func (*IPServiceClient_Get_Call) Return added in v0.16.2

func (_c *IPServiceClient_Get_Call) Return(response *connect.Response[apiv1.IPServiceGetResponse], err error) *IPServiceClient_Get_Call

func (*IPServiceClient_Get_Call) Run added in v0.16.2

func (_c *IPServiceClient_Get_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.IPServiceGetRequest])) *IPServiceClient_Get_Call

func (*IPServiceClient_Get_Call) RunAndReturn added in v0.16.2

func (_c *IPServiceClient_Get_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.IPServiceGetRequest]) (*connect.Response[apiv1.IPServiceGetResponse], error)) *IPServiceClient_Get_Call

type IPServiceClient_List_Call added in v0.16.2

type IPServiceClient_List_Call struct {
	*mock.Call
}

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

func (*IPServiceClient_List_Call) Return added in v0.16.2

func (_c *IPServiceClient_List_Call) Return(response *connect.Response[apiv1.IPServiceListResponse], err error) *IPServiceClient_List_Call

func (*IPServiceClient_List_Call) Run added in v0.16.2

func (_c *IPServiceClient_List_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.IPServiceListRequest])) *IPServiceClient_List_Call

func (*IPServiceClient_List_Call) RunAndReturn added in v0.16.2

func (_c *IPServiceClient_List_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.IPServiceListRequest]) (*connect.Response[apiv1.IPServiceListResponse], error)) *IPServiceClient_List_Call

type IPServiceClient_Update_Call added in v0.16.2

type IPServiceClient_Update_Call struct {
	*mock.Call
}

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

func (*IPServiceClient_Update_Call) Return added in v0.16.2

func (_c *IPServiceClient_Update_Call) Return(response *connect.Response[apiv1.IPServiceUpdateResponse], err error) *IPServiceClient_Update_Call

func (*IPServiceClient_Update_Call) Run added in v0.16.2

func (_c *IPServiceClient_Update_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.IPServiceUpdateRequest])) *IPServiceClient_Update_Call

func (*IPServiceClient_Update_Call) RunAndReturn added in v0.16.2

func (_c *IPServiceClient_Update_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.IPServiceUpdateRequest]) (*connect.Response[apiv1.IPServiceUpdateResponse], error)) *IPServiceClient_Update_Call

type IPServiceHandler

type IPServiceHandler struct {
	mock.Mock
}

IPServiceHandler is an autogenerated mock type for the IPServiceHandler type

func NewIPServiceHandler

func NewIPServiceHandler(t interface {
	mock.TestingT
	Cleanup(func())
}) *IPServiceHandler

NewIPServiceHandler creates a new instance of IPServiceHandler. 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 (*IPServiceHandler) Allocate

func (_mock *IPServiceHandler) Allocate(context1 context.Context, request *connect.Request[apiv1.IPServiceAllocateRequest]) (*connect.Response[apiv1.IPServiceAllocateResponse], error)

Allocate provides a mock function for the type IPServiceHandler

func (*IPServiceHandler) Delete

func (_mock *IPServiceHandler) Delete(context1 context.Context, request *connect.Request[apiv1.IPServiceDeleteRequest]) (*connect.Response[apiv1.IPServiceDeleteResponse], error)

Delete provides a mock function for the type IPServiceHandler

func (*IPServiceHandler) EXPECT added in v0.16.2

func (*IPServiceHandler) Get

func (_mock *IPServiceHandler) Get(context1 context.Context, request *connect.Request[apiv1.IPServiceGetRequest]) (*connect.Response[apiv1.IPServiceGetResponse], error)

Get provides a mock function for the type IPServiceHandler

func (*IPServiceHandler) List

func (_mock *IPServiceHandler) List(context1 context.Context, request *connect.Request[apiv1.IPServiceListRequest]) (*connect.Response[apiv1.IPServiceListResponse], error)

List provides a mock function for the type IPServiceHandler

func (*IPServiceHandler) Update

func (_mock *IPServiceHandler) Update(context1 context.Context, request *connect.Request[apiv1.IPServiceUpdateRequest]) (*connect.Response[apiv1.IPServiceUpdateResponse], error)

Update provides a mock function for the type IPServiceHandler

type IPServiceHandler_Allocate_Call added in v0.16.2

type IPServiceHandler_Allocate_Call struct {
	*mock.Call
}

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

func (*IPServiceHandler_Allocate_Call) Return added in v0.16.2

func (_c *IPServiceHandler_Allocate_Call) Return(response *connect.Response[apiv1.IPServiceAllocateResponse], err error) *IPServiceHandler_Allocate_Call

func (*IPServiceHandler_Allocate_Call) Run added in v0.16.2

func (_c *IPServiceHandler_Allocate_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.IPServiceAllocateRequest])) *IPServiceHandler_Allocate_Call

func (*IPServiceHandler_Allocate_Call) RunAndReturn added in v0.16.2

func (_c *IPServiceHandler_Allocate_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.IPServiceAllocateRequest]) (*connect.Response[apiv1.IPServiceAllocateResponse], error)) *IPServiceHandler_Allocate_Call

type IPServiceHandler_Delete_Call added in v0.16.2

type IPServiceHandler_Delete_Call struct {
	*mock.Call
}

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

func (*IPServiceHandler_Delete_Call) Return added in v0.16.2

func (_c *IPServiceHandler_Delete_Call) Return(response *connect.Response[apiv1.IPServiceDeleteResponse], err error) *IPServiceHandler_Delete_Call

func (*IPServiceHandler_Delete_Call) Run added in v0.16.2

func (_c *IPServiceHandler_Delete_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.IPServiceDeleteRequest])) *IPServiceHandler_Delete_Call

func (*IPServiceHandler_Delete_Call) RunAndReturn added in v0.16.2

func (_c *IPServiceHandler_Delete_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.IPServiceDeleteRequest]) (*connect.Response[apiv1.IPServiceDeleteResponse], error)) *IPServiceHandler_Delete_Call

type IPServiceHandler_Expecter added in v0.16.2

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

func (*IPServiceHandler_Expecter) Allocate added in v0.16.2

func (_e *IPServiceHandler_Expecter) Allocate(context1 interface{}, request interface{}) *IPServiceHandler_Allocate_Call

Allocate is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.IPServiceAllocateRequest]

func (*IPServiceHandler_Expecter) Delete added in v0.16.2

func (_e *IPServiceHandler_Expecter) Delete(context1 interface{}, request interface{}) *IPServiceHandler_Delete_Call

Delete is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.IPServiceDeleteRequest]

func (*IPServiceHandler_Expecter) Get added in v0.16.2

func (_e *IPServiceHandler_Expecter) Get(context1 interface{}, request interface{}) *IPServiceHandler_Get_Call

Get is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.IPServiceGetRequest]

func (*IPServiceHandler_Expecter) List added in v0.16.2

func (_e *IPServiceHandler_Expecter) List(context1 interface{}, request interface{}) *IPServiceHandler_List_Call

List is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.IPServiceListRequest]

func (*IPServiceHandler_Expecter) Update added in v0.16.2

func (_e *IPServiceHandler_Expecter) Update(context1 interface{}, request interface{}) *IPServiceHandler_Update_Call

Update is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.IPServiceUpdateRequest]

type IPServiceHandler_Get_Call added in v0.16.2

type IPServiceHandler_Get_Call struct {
	*mock.Call
}

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

func (*IPServiceHandler_Get_Call) Return added in v0.16.2

func (_c *IPServiceHandler_Get_Call) Return(response *connect.Response[apiv1.IPServiceGetResponse], err error) *IPServiceHandler_Get_Call

func (*IPServiceHandler_Get_Call) Run added in v0.16.2

func (_c *IPServiceHandler_Get_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.IPServiceGetRequest])) *IPServiceHandler_Get_Call

func (*IPServiceHandler_Get_Call) RunAndReturn added in v0.16.2

func (_c *IPServiceHandler_Get_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.IPServiceGetRequest]) (*connect.Response[apiv1.IPServiceGetResponse], error)) *IPServiceHandler_Get_Call

type IPServiceHandler_List_Call added in v0.16.2

type IPServiceHandler_List_Call struct {
	*mock.Call
}

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

func (*IPServiceHandler_List_Call) Return added in v0.16.2

func (_c *IPServiceHandler_List_Call) Return(response *connect.Response[apiv1.IPServiceListResponse], err error) *IPServiceHandler_List_Call

func (*IPServiceHandler_List_Call) Run added in v0.16.2

func (_c *IPServiceHandler_List_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.IPServiceListRequest])) *IPServiceHandler_List_Call

func (*IPServiceHandler_List_Call) RunAndReturn added in v0.16.2

func (_c *IPServiceHandler_List_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.IPServiceListRequest]) (*connect.Response[apiv1.IPServiceListResponse], error)) *IPServiceHandler_List_Call

type IPServiceHandler_Update_Call added in v0.16.2

type IPServiceHandler_Update_Call struct {
	*mock.Call
}

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

func (*IPServiceHandler_Update_Call) Return added in v0.16.2

func (_c *IPServiceHandler_Update_Call) Return(response *connect.Response[apiv1.IPServiceUpdateResponse], err error) *IPServiceHandler_Update_Call

func (*IPServiceHandler_Update_Call) Run added in v0.16.2

func (_c *IPServiceHandler_Update_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.IPServiceUpdateRequest])) *IPServiceHandler_Update_Call

func (*IPServiceHandler_Update_Call) RunAndReturn added in v0.16.2

func (_c *IPServiceHandler_Update_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.IPServiceUpdateRequest]) (*connect.Response[apiv1.IPServiceUpdateResponse], error)) *IPServiceHandler_Update_Call

type MethodServiceClient

type MethodServiceClient struct {
	mock.Mock
}

MethodServiceClient is an autogenerated mock type for the MethodServiceClient type

func NewMethodServiceClient

func NewMethodServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *MethodServiceClient

NewMethodServiceClient creates a new instance of MethodServiceClient. 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 (*MethodServiceClient) EXPECT added in v0.16.2

func (*MethodServiceClient) List

func (_mock *MethodServiceClient) List(context1 context.Context, request *connect.Request[apiv1.MethodServiceListRequest]) (*connect.Response[apiv1.MethodServiceListResponse], error)

List provides a mock function for the type MethodServiceClient

func (*MethodServiceClient) TokenScopedList

func (_mock *MethodServiceClient) TokenScopedList(context1 context.Context, request *connect.Request[apiv1.MethodServiceTokenScopedListRequest]) (*connect.Response[apiv1.MethodServiceTokenScopedListResponse], error)

TokenScopedList provides a mock function for the type MethodServiceClient

type MethodServiceClient_Expecter added in v0.16.2

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

func (*MethodServiceClient_Expecter) List added in v0.16.2

func (_e *MethodServiceClient_Expecter) List(context1 interface{}, request interface{}) *MethodServiceClient_List_Call

List is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.MethodServiceListRequest]

func (*MethodServiceClient_Expecter) TokenScopedList added in v0.16.2

func (_e *MethodServiceClient_Expecter) TokenScopedList(context1 interface{}, request interface{}) *MethodServiceClient_TokenScopedList_Call

TokenScopedList is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.MethodServiceTokenScopedListRequest]

type MethodServiceClient_List_Call added in v0.16.2

type MethodServiceClient_List_Call struct {
	*mock.Call
}

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

func (*MethodServiceClient_List_Call) Return added in v0.16.2

func (_c *MethodServiceClient_List_Call) Return(response *connect.Response[apiv1.MethodServiceListResponse], err error) *MethodServiceClient_List_Call

func (*MethodServiceClient_List_Call) Run added in v0.16.2

func (_c *MethodServiceClient_List_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.MethodServiceListRequest])) *MethodServiceClient_List_Call

func (*MethodServiceClient_List_Call) RunAndReturn added in v0.16.2

func (_c *MethodServiceClient_List_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.MethodServiceListRequest]) (*connect.Response[apiv1.MethodServiceListResponse], error)) *MethodServiceClient_List_Call

type MethodServiceClient_TokenScopedList_Call added in v0.16.2

type MethodServiceClient_TokenScopedList_Call struct {
	*mock.Call
}

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

func (*MethodServiceClient_TokenScopedList_Call) Return added in v0.16.2

func (_c *MethodServiceClient_TokenScopedList_Call) Return(response *connect.Response[apiv1.MethodServiceTokenScopedListResponse], err error) *MethodServiceClient_TokenScopedList_Call

func (*MethodServiceClient_TokenScopedList_Call) Run added in v0.16.2

func (_c *MethodServiceClient_TokenScopedList_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.MethodServiceTokenScopedListRequest])) *MethodServiceClient_TokenScopedList_Call

func (*MethodServiceClient_TokenScopedList_Call) RunAndReturn added in v0.16.2

func (_c *MethodServiceClient_TokenScopedList_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.MethodServiceTokenScopedListRequest]) (*connect.Response[apiv1.MethodServiceTokenScopedListResponse], error)) *MethodServiceClient_TokenScopedList_Call

type MethodServiceHandler

type MethodServiceHandler struct {
	mock.Mock
}

MethodServiceHandler is an autogenerated mock type for the MethodServiceHandler type

func NewMethodServiceHandler

func NewMethodServiceHandler(t interface {
	mock.TestingT
	Cleanup(func())
}) *MethodServiceHandler

NewMethodServiceHandler creates a new instance of MethodServiceHandler. 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 (*MethodServiceHandler) EXPECT added in v0.16.2

func (*MethodServiceHandler) List

func (_mock *MethodServiceHandler) List(context1 context.Context, request *connect.Request[apiv1.MethodServiceListRequest]) (*connect.Response[apiv1.MethodServiceListResponse], error)

List provides a mock function for the type MethodServiceHandler

func (*MethodServiceHandler) TokenScopedList

func (_mock *MethodServiceHandler) TokenScopedList(context1 context.Context, request *connect.Request[apiv1.MethodServiceTokenScopedListRequest]) (*connect.Response[apiv1.MethodServiceTokenScopedListResponse], error)

TokenScopedList provides a mock function for the type MethodServiceHandler

type MethodServiceHandler_Expecter added in v0.16.2

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

func (*MethodServiceHandler_Expecter) List added in v0.16.2

func (_e *MethodServiceHandler_Expecter) List(context1 interface{}, request interface{}) *MethodServiceHandler_List_Call

List is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.MethodServiceListRequest]

func (*MethodServiceHandler_Expecter) TokenScopedList added in v0.16.2

func (_e *MethodServiceHandler_Expecter) TokenScopedList(context1 interface{}, request interface{}) *MethodServiceHandler_TokenScopedList_Call

TokenScopedList is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.MethodServiceTokenScopedListRequest]

type MethodServiceHandler_List_Call added in v0.16.2

type MethodServiceHandler_List_Call struct {
	*mock.Call
}

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

func (*MethodServiceHandler_List_Call) Return added in v0.16.2

func (_c *MethodServiceHandler_List_Call) Return(response *connect.Response[apiv1.MethodServiceListResponse], err error) *MethodServiceHandler_List_Call

func (*MethodServiceHandler_List_Call) Run added in v0.16.2

func (_c *MethodServiceHandler_List_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.MethodServiceListRequest])) *MethodServiceHandler_List_Call

func (*MethodServiceHandler_List_Call) RunAndReturn added in v0.16.2

func (_c *MethodServiceHandler_List_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.MethodServiceListRequest]) (*connect.Response[apiv1.MethodServiceListResponse], error)) *MethodServiceHandler_List_Call

type MethodServiceHandler_TokenScopedList_Call added in v0.16.2

type MethodServiceHandler_TokenScopedList_Call struct {
	*mock.Call
}

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

func (*MethodServiceHandler_TokenScopedList_Call) Return added in v0.16.2

func (_c *MethodServiceHandler_TokenScopedList_Call) Return(response *connect.Response[apiv1.MethodServiceTokenScopedListResponse], err error) *MethodServiceHandler_TokenScopedList_Call

func (*MethodServiceHandler_TokenScopedList_Call) Run added in v0.16.2

func (_c *MethodServiceHandler_TokenScopedList_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.MethodServiceTokenScopedListRequest])) *MethodServiceHandler_TokenScopedList_Call

func (*MethodServiceHandler_TokenScopedList_Call) RunAndReturn added in v0.16.2

func (_c *MethodServiceHandler_TokenScopedList_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.MethodServiceTokenScopedListRequest]) (*connect.Response[apiv1.MethodServiceTokenScopedListResponse], error)) *MethodServiceHandler_TokenScopedList_Call

type PaymentServiceClient

type PaymentServiceClient struct {
	mock.Mock
}

PaymentServiceClient is an autogenerated mock type for the PaymentServiceClient type

func NewPaymentServiceClient

func NewPaymentServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *PaymentServiceClient

NewPaymentServiceClient creates a new instance of PaymentServiceClient. 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 (*PaymentServiceClient) CreateOrUpdateCustomer

func (_mock *PaymentServiceClient) CreateOrUpdateCustomer(context1 context.Context, request *connect.Request[apiv1.PaymentServiceCreateOrUpdateCustomerRequest]) (*connect.Response[apiv1.PaymentServiceCreateOrUpdateCustomerResponse], error)

CreateOrUpdateCustomer provides a mock function for the type PaymentServiceClient

func (*PaymentServiceClient) DeletePaymentMethod

func (_mock *PaymentServiceClient) DeletePaymentMethod(context1 context.Context, request *connect.Request[apiv1.PaymentServiceDeletePaymentMethodRequest]) (*connect.Response[apiv1.PaymentServiceDeletePaymentMethodResponse], error)

DeletePaymentMethod provides a mock function for the type PaymentServiceClient

func (*PaymentServiceClient) EXPECT added in v0.16.2

func (*PaymentServiceClient) GetCustomer

func (_mock *PaymentServiceClient) GetCustomer(context1 context.Context, request *connect.Request[apiv1.PaymentServiceGetCustomerRequest]) (*connect.Response[apiv1.PaymentServiceGetCustomerResponse], error)

GetCustomer provides a mock function for the type PaymentServiceClient

func (*PaymentServiceClient) GetDefaultPrices

func (_mock *PaymentServiceClient) GetDefaultPrices(context1 context.Context, request *connect.Request[apiv1.PaymentServiceGetDefaultPricesRequest]) (*connect.Response[apiv1.PaymentServiceGetDefaultPricesResponse], error)

GetDefaultPrices provides a mock function for the type PaymentServiceClient

func (*PaymentServiceClient) GetInvoices

func (_mock *PaymentServiceClient) GetInvoices(context1 context.Context, request *connect.Request[apiv1.PaymentServiceGetInvoicesRequest]) (*connect.Response[apiv1.PaymentServiceGetInvoicesResponse], error)

GetInvoices provides a mock function for the type PaymentServiceClient

func (*PaymentServiceClient) GetSubscriptionUsage

func (_mock *PaymentServiceClient) GetSubscriptionUsage(context1 context.Context, request *connect.Request[apiv1.PaymentServiceGetSubscriptionUsageRequest]) (*connect.Response[apiv1.PaymentServiceGetSubscriptionUsageResponse], error)

GetSubscriptionUsage provides a mock function for the type PaymentServiceClient

func (*PaymentServiceClient) HasPaymentMethod

func (_mock *PaymentServiceClient) HasPaymentMethod(context1 context.Context, request *connect.Request[apiv1.PaymentServiceHasPaymentMethodRequest]) (*connect.Response[apiv1.PaymentServiceHasPaymentMethodResponse], error)

HasPaymentMethod provides a mock function for the type PaymentServiceClient

type PaymentServiceClient_CreateOrUpdateCustomer_Call added in v0.16.2

type PaymentServiceClient_CreateOrUpdateCustomer_Call struct {
	*mock.Call
}

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

func (*PaymentServiceClient_CreateOrUpdateCustomer_Call) Return added in v0.16.2

func (_c *PaymentServiceClient_CreateOrUpdateCustomer_Call) Return(response *connect.Response[apiv1.PaymentServiceCreateOrUpdateCustomerResponse], err error) *PaymentServiceClient_CreateOrUpdateCustomer_Call

func (*PaymentServiceClient_CreateOrUpdateCustomer_Call) Run added in v0.16.2

func (_c *PaymentServiceClient_CreateOrUpdateCustomer_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.PaymentServiceCreateOrUpdateCustomerRequest])) *PaymentServiceClient_CreateOrUpdateCustomer_Call

func (*PaymentServiceClient_CreateOrUpdateCustomer_Call) RunAndReturn added in v0.16.2

func (_c *PaymentServiceClient_CreateOrUpdateCustomer_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.PaymentServiceCreateOrUpdateCustomerRequest]) (*connect.Response[apiv1.PaymentServiceCreateOrUpdateCustomerResponse], error)) *PaymentServiceClient_CreateOrUpdateCustomer_Call

type PaymentServiceClient_DeletePaymentMethod_Call added in v0.16.2

type PaymentServiceClient_DeletePaymentMethod_Call struct {
	*mock.Call
}

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

func (*PaymentServiceClient_DeletePaymentMethod_Call) Return added in v0.16.2

func (_c *PaymentServiceClient_DeletePaymentMethod_Call) Return(response *connect.Response[apiv1.PaymentServiceDeletePaymentMethodResponse], err error) *PaymentServiceClient_DeletePaymentMethod_Call

func (*PaymentServiceClient_DeletePaymentMethod_Call) Run added in v0.16.2

func (_c *PaymentServiceClient_DeletePaymentMethod_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.PaymentServiceDeletePaymentMethodRequest])) *PaymentServiceClient_DeletePaymentMethod_Call

func (*PaymentServiceClient_DeletePaymentMethod_Call) RunAndReturn added in v0.16.2

func (_c *PaymentServiceClient_DeletePaymentMethod_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.PaymentServiceDeletePaymentMethodRequest]) (*connect.Response[apiv1.PaymentServiceDeletePaymentMethodResponse], error)) *PaymentServiceClient_DeletePaymentMethod_Call

type PaymentServiceClient_Expecter added in v0.16.2

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

func (*PaymentServiceClient_Expecter) CreateOrUpdateCustomer added in v0.16.2

func (_e *PaymentServiceClient_Expecter) CreateOrUpdateCustomer(context1 interface{}, request interface{}) *PaymentServiceClient_CreateOrUpdateCustomer_Call

CreateOrUpdateCustomer is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.PaymentServiceCreateOrUpdateCustomerRequest]

func (*PaymentServiceClient_Expecter) DeletePaymentMethod added in v0.16.2

func (_e *PaymentServiceClient_Expecter) DeletePaymentMethod(context1 interface{}, request interface{}) *PaymentServiceClient_DeletePaymentMethod_Call

DeletePaymentMethod is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.PaymentServiceDeletePaymentMethodRequest]

func (*PaymentServiceClient_Expecter) GetCustomer added in v0.16.2

func (_e *PaymentServiceClient_Expecter) GetCustomer(context1 interface{}, request interface{}) *PaymentServiceClient_GetCustomer_Call

GetCustomer is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.PaymentServiceGetCustomerRequest]

func (*PaymentServiceClient_Expecter) GetDefaultPrices added in v0.16.2

func (_e *PaymentServiceClient_Expecter) GetDefaultPrices(context1 interface{}, request interface{}) *PaymentServiceClient_GetDefaultPrices_Call

GetDefaultPrices is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.PaymentServiceGetDefaultPricesRequest]

func (*PaymentServiceClient_Expecter) GetInvoices added in v0.16.2

func (_e *PaymentServiceClient_Expecter) GetInvoices(context1 interface{}, request interface{}) *PaymentServiceClient_GetInvoices_Call

GetInvoices is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.PaymentServiceGetInvoicesRequest]

func (*PaymentServiceClient_Expecter) GetSubscriptionUsage added in v0.16.2

func (_e *PaymentServiceClient_Expecter) GetSubscriptionUsage(context1 interface{}, request interface{}) *PaymentServiceClient_GetSubscriptionUsage_Call

GetSubscriptionUsage is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.PaymentServiceGetSubscriptionUsageRequest]

func (*PaymentServiceClient_Expecter) HasPaymentMethod added in v0.16.2

func (_e *PaymentServiceClient_Expecter) HasPaymentMethod(context1 interface{}, request interface{}) *PaymentServiceClient_HasPaymentMethod_Call

HasPaymentMethod is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.PaymentServiceHasPaymentMethodRequest]

type PaymentServiceClient_GetCustomer_Call added in v0.16.2

type PaymentServiceClient_GetCustomer_Call struct {
	*mock.Call
}

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

func (*PaymentServiceClient_GetCustomer_Call) Return added in v0.16.2

func (_c *PaymentServiceClient_GetCustomer_Call) Return(response *connect.Response[apiv1.PaymentServiceGetCustomerResponse], err error) *PaymentServiceClient_GetCustomer_Call

func (*PaymentServiceClient_GetCustomer_Call) Run added in v0.16.2

func (_c *PaymentServiceClient_GetCustomer_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.PaymentServiceGetCustomerRequest])) *PaymentServiceClient_GetCustomer_Call

func (*PaymentServiceClient_GetCustomer_Call) RunAndReturn added in v0.16.2

func (_c *PaymentServiceClient_GetCustomer_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.PaymentServiceGetCustomerRequest]) (*connect.Response[apiv1.PaymentServiceGetCustomerResponse], error)) *PaymentServiceClient_GetCustomer_Call

type PaymentServiceClient_GetDefaultPrices_Call added in v0.16.2

type PaymentServiceClient_GetDefaultPrices_Call struct {
	*mock.Call
}

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

func (*PaymentServiceClient_GetDefaultPrices_Call) Return added in v0.16.2

func (_c *PaymentServiceClient_GetDefaultPrices_Call) Return(response *connect.Response[apiv1.PaymentServiceGetDefaultPricesResponse], err error) *PaymentServiceClient_GetDefaultPrices_Call

func (*PaymentServiceClient_GetDefaultPrices_Call) Run added in v0.16.2

func (_c *PaymentServiceClient_GetDefaultPrices_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.PaymentServiceGetDefaultPricesRequest])) *PaymentServiceClient_GetDefaultPrices_Call

func (*PaymentServiceClient_GetDefaultPrices_Call) RunAndReturn added in v0.16.2

func (_c *PaymentServiceClient_GetDefaultPrices_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.PaymentServiceGetDefaultPricesRequest]) (*connect.Response[apiv1.PaymentServiceGetDefaultPricesResponse], error)) *PaymentServiceClient_GetDefaultPrices_Call

type PaymentServiceClient_GetInvoices_Call added in v0.16.2

type PaymentServiceClient_GetInvoices_Call struct {
	*mock.Call
}

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

func (*PaymentServiceClient_GetInvoices_Call) Return added in v0.16.2

func (_c *PaymentServiceClient_GetInvoices_Call) Return(response *connect.Response[apiv1.PaymentServiceGetInvoicesResponse], err error) *PaymentServiceClient_GetInvoices_Call

func (*PaymentServiceClient_GetInvoices_Call) Run added in v0.16.2

func (_c *PaymentServiceClient_GetInvoices_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.PaymentServiceGetInvoicesRequest])) *PaymentServiceClient_GetInvoices_Call

func (*PaymentServiceClient_GetInvoices_Call) RunAndReturn added in v0.16.2

func (_c *PaymentServiceClient_GetInvoices_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.PaymentServiceGetInvoicesRequest]) (*connect.Response[apiv1.PaymentServiceGetInvoicesResponse], error)) *PaymentServiceClient_GetInvoices_Call

type PaymentServiceClient_GetSubscriptionUsage_Call added in v0.16.2

type PaymentServiceClient_GetSubscriptionUsage_Call struct {
	*mock.Call
}

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

func (*PaymentServiceClient_GetSubscriptionUsage_Call) Return added in v0.16.2

func (_c *PaymentServiceClient_GetSubscriptionUsage_Call) Return(response *connect.Response[apiv1.PaymentServiceGetSubscriptionUsageResponse], err error) *PaymentServiceClient_GetSubscriptionUsage_Call

func (*PaymentServiceClient_GetSubscriptionUsage_Call) Run added in v0.16.2

func (_c *PaymentServiceClient_GetSubscriptionUsage_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.PaymentServiceGetSubscriptionUsageRequest])) *PaymentServiceClient_GetSubscriptionUsage_Call

func (*PaymentServiceClient_GetSubscriptionUsage_Call) RunAndReturn added in v0.16.2

func (_c *PaymentServiceClient_GetSubscriptionUsage_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.PaymentServiceGetSubscriptionUsageRequest]) (*connect.Response[apiv1.PaymentServiceGetSubscriptionUsageResponse], error)) *PaymentServiceClient_GetSubscriptionUsage_Call

type PaymentServiceClient_HasPaymentMethod_Call added in v0.16.2

type PaymentServiceClient_HasPaymentMethod_Call struct {
	*mock.Call
}

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

func (*PaymentServiceClient_HasPaymentMethod_Call) Return added in v0.16.2

func (_c *PaymentServiceClient_HasPaymentMethod_Call) Return(response *connect.Response[apiv1.PaymentServiceHasPaymentMethodResponse], err error) *PaymentServiceClient_HasPaymentMethod_Call

func (*PaymentServiceClient_HasPaymentMethod_Call) Run added in v0.16.2

func (_c *PaymentServiceClient_HasPaymentMethod_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.PaymentServiceHasPaymentMethodRequest])) *PaymentServiceClient_HasPaymentMethod_Call

func (*PaymentServiceClient_HasPaymentMethod_Call) RunAndReturn added in v0.16.2

func (_c *PaymentServiceClient_HasPaymentMethod_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.PaymentServiceHasPaymentMethodRequest]) (*connect.Response[apiv1.PaymentServiceHasPaymentMethodResponse], error)) *PaymentServiceClient_HasPaymentMethod_Call

type PaymentServiceHandler

type PaymentServiceHandler struct {
	mock.Mock
}

PaymentServiceHandler is an autogenerated mock type for the PaymentServiceHandler type

func NewPaymentServiceHandler

func NewPaymentServiceHandler(t interface {
	mock.TestingT
	Cleanup(func())
}) *PaymentServiceHandler

NewPaymentServiceHandler creates a new instance of PaymentServiceHandler. 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 (*PaymentServiceHandler) CreateOrUpdateCustomer

func (_mock *PaymentServiceHandler) CreateOrUpdateCustomer(context1 context.Context, request *connect.Request[apiv1.PaymentServiceCreateOrUpdateCustomerRequest]) (*connect.Response[apiv1.PaymentServiceCreateOrUpdateCustomerResponse], error)

CreateOrUpdateCustomer provides a mock function for the type PaymentServiceHandler

func (*PaymentServiceHandler) DeletePaymentMethod

func (_mock *PaymentServiceHandler) DeletePaymentMethod(context1 context.Context, request *connect.Request[apiv1.PaymentServiceDeletePaymentMethodRequest]) (*connect.Response[apiv1.PaymentServiceDeletePaymentMethodResponse], error)

DeletePaymentMethod provides a mock function for the type PaymentServiceHandler

func (*PaymentServiceHandler) EXPECT added in v0.16.2

func (*PaymentServiceHandler) GetCustomer

func (_mock *PaymentServiceHandler) GetCustomer(context1 context.Context, request *connect.Request[apiv1.PaymentServiceGetCustomerRequest]) (*connect.Response[apiv1.PaymentServiceGetCustomerResponse], error)

GetCustomer provides a mock function for the type PaymentServiceHandler

func (*PaymentServiceHandler) GetDefaultPrices

func (_mock *PaymentServiceHandler) GetDefaultPrices(context1 context.Context, request *connect.Request[apiv1.PaymentServiceGetDefaultPricesRequest]) (*connect.Response[apiv1.PaymentServiceGetDefaultPricesResponse], error)

GetDefaultPrices provides a mock function for the type PaymentServiceHandler

func (*PaymentServiceHandler) GetInvoices

func (_mock *PaymentServiceHandler) GetInvoices(context1 context.Context, request *connect.Request[apiv1.PaymentServiceGetInvoicesRequest]) (*connect.Response[apiv1.PaymentServiceGetInvoicesResponse], error)

GetInvoices provides a mock function for the type PaymentServiceHandler

func (*PaymentServiceHandler) GetSubscriptionUsage

func (_mock *PaymentServiceHandler) GetSubscriptionUsage(context1 context.Context, request *connect.Request[apiv1.PaymentServiceGetSubscriptionUsageRequest]) (*connect.Response[apiv1.PaymentServiceGetSubscriptionUsageResponse], error)

GetSubscriptionUsage provides a mock function for the type PaymentServiceHandler

func (*PaymentServiceHandler) HasPaymentMethod

func (_mock *PaymentServiceHandler) HasPaymentMethod(context1 context.Context, request *connect.Request[apiv1.PaymentServiceHasPaymentMethodRequest]) (*connect.Response[apiv1.PaymentServiceHasPaymentMethodResponse], error)

HasPaymentMethod provides a mock function for the type PaymentServiceHandler

type PaymentServiceHandler_CreateOrUpdateCustomer_Call added in v0.16.2

type PaymentServiceHandler_CreateOrUpdateCustomer_Call struct {
	*mock.Call
}

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

func (*PaymentServiceHandler_CreateOrUpdateCustomer_Call) Return added in v0.16.2

func (_c *PaymentServiceHandler_CreateOrUpdateCustomer_Call) Return(response *connect.Response[apiv1.PaymentServiceCreateOrUpdateCustomerResponse], err error) *PaymentServiceHandler_CreateOrUpdateCustomer_Call

func (*PaymentServiceHandler_CreateOrUpdateCustomer_Call) Run added in v0.16.2

func (_c *PaymentServiceHandler_CreateOrUpdateCustomer_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.PaymentServiceCreateOrUpdateCustomerRequest])) *PaymentServiceHandler_CreateOrUpdateCustomer_Call

func (*PaymentServiceHandler_CreateOrUpdateCustomer_Call) RunAndReturn added in v0.16.2

func (_c *PaymentServiceHandler_CreateOrUpdateCustomer_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.PaymentServiceCreateOrUpdateCustomerRequest]) (*connect.Response[apiv1.PaymentServiceCreateOrUpdateCustomerResponse], error)) *PaymentServiceHandler_CreateOrUpdateCustomer_Call

type PaymentServiceHandler_DeletePaymentMethod_Call added in v0.16.2

type PaymentServiceHandler_DeletePaymentMethod_Call struct {
	*mock.Call
}

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

func (*PaymentServiceHandler_DeletePaymentMethod_Call) Return added in v0.16.2

func (_c *PaymentServiceHandler_DeletePaymentMethod_Call) Return(response *connect.Response[apiv1.PaymentServiceDeletePaymentMethodResponse], err error) *PaymentServiceHandler_DeletePaymentMethod_Call

func (*PaymentServiceHandler_DeletePaymentMethod_Call) Run added in v0.16.2

func (_c *PaymentServiceHandler_DeletePaymentMethod_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.PaymentServiceDeletePaymentMethodRequest])) *PaymentServiceHandler_DeletePaymentMethod_Call

func (*PaymentServiceHandler_DeletePaymentMethod_Call) RunAndReturn added in v0.16.2

func (_c *PaymentServiceHandler_DeletePaymentMethod_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.PaymentServiceDeletePaymentMethodRequest]) (*connect.Response[apiv1.PaymentServiceDeletePaymentMethodResponse], error)) *PaymentServiceHandler_DeletePaymentMethod_Call

type PaymentServiceHandler_Expecter added in v0.16.2

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

func (*PaymentServiceHandler_Expecter) CreateOrUpdateCustomer added in v0.16.2

func (_e *PaymentServiceHandler_Expecter) CreateOrUpdateCustomer(context1 interface{}, request interface{}) *PaymentServiceHandler_CreateOrUpdateCustomer_Call

CreateOrUpdateCustomer is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.PaymentServiceCreateOrUpdateCustomerRequest]

func (*PaymentServiceHandler_Expecter) DeletePaymentMethod added in v0.16.2

func (_e *PaymentServiceHandler_Expecter) DeletePaymentMethod(context1 interface{}, request interface{}) *PaymentServiceHandler_DeletePaymentMethod_Call

DeletePaymentMethod is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.PaymentServiceDeletePaymentMethodRequest]

func (*PaymentServiceHandler_Expecter) GetCustomer added in v0.16.2

func (_e *PaymentServiceHandler_Expecter) GetCustomer(context1 interface{}, request interface{}) *PaymentServiceHandler_GetCustomer_Call

GetCustomer is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.PaymentServiceGetCustomerRequest]

func (*PaymentServiceHandler_Expecter) GetDefaultPrices added in v0.16.2

func (_e *PaymentServiceHandler_Expecter) GetDefaultPrices(context1 interface{}, request interface{}) *PaymentServiceHandler_GetDefaultPrices_Call

GetDefaultPrices is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.PaymentServiceGetDefaultPricesRequest]

func (*PaymentServiceHandler_Expecter) GetInvoices added in v0.16.2

func (_e *PaymentServiceHandler_Expecter) GetInvoices(context1 interface{}, request interface{}) *PaymentServiceHandler_GetInvoices_Call

GetInvoices is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.PaymentServiceGetInvoicesRequest]

func (*PaymentServiceHandler_Expecter) GetSubscriptionUsage added in v0.16.2

func (_e *PaymentServiceHandler_Expecter) GetSubscriptionUsage(context1 interface{}, request interface{}) *PaymentServiceHandler_GetSubscriptionUsage_Call

GetSubscriptionUsage is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.PaymentServiceGetSubscriptionUsageRequest]

func (*PaymentServiceHandler_Expecter) HasPaymentMethod added in v0.16.2

func (_e *PaymentServiceHandler_Expecter) HasPaymentMethod(context1 interface{}, request interface{}) *PaymentServiceHandler_HasPaymentMethod_Call

HasPaymentMethod is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.PaymentServiceHasPaymentMethodRequest]

type PaymentServiceHandler_GetCustomer_Call added in v0.16.2

type PaymentServiceHandler_GetCustomer_Call struct {
	*mock.Call
}

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

func (*PaymentServiceHandler_GetCustomer_Call) Return added in v0.16.2

func (_c *PaymentServiceHandler_GetCustomer_Call) Return(response *connect.Response[apiv1.PaymentServiceGetCustomerResponse], err error) *PaymentServiceHandler_GetCustomer_Call

func (*PaymentServiceHandler_GetCustomer_Call) Run added in v0.16.2

func (_c *PaymentServiceHandler_GetCustomer_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.PaymentServiceGetCustomerRequest])) *PaymentServiceHandler_GetCustomer_Call

func (*PaymentServiceHandler_GetCustomer_Call) RunAndReturn added in v0.16.2

func (_c *PaymentServiceHandler_GetCustomer_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.PaymentServiceGetCustomerRequest]) (*connect.Response[apiv1.PaymentServiceGetCustomerResponse], error)) *PaymentServiceHandler_GetCustomer_Call

type PaymentServiceHandler_GetDefaultPrices_Call added in v0.16.2

type PaymentServiceHandler_GetDefaultPrices_Call struct {
	*mock.Call
}

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

func (*PaymentServiceHandler_GetDefaultPrices_Call) Return added in v0.16.2

func (_c *PaymentServiceHandler_GetDefaultPrices_Call) Return(response *connect.Response[apiv1.PaymentServiceGetDefaultPricesResponse], err error) *PaymentServiceHandler_GetDefaultPrices_Call

func (*PaymentServiceHandler_GetDefaultPrices_Call) Run added in v0.16.2

func (_c *PaymentServiceHandler_GetDefaultPrices_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.PaymentServiceGetDefaultPricesRequest])) *PaymentServiceHandler_GetDefaultPrices_Call

func (*PaymentServiceHandler_GetDefaultPrices_Call) RunAndReturn added in v0.16.2

func (_c *PaymentServiceHandler_GetDefaultPrices_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.PaymentServiceGetDefaultPricesRequest]) (*connect.Response[apiv1.PaymentServiceGetDefaultPricesResponse], error)) *PaymentServiceHandler_GetDefaultPrices_Call

type PaymentServiceHandler_GetInvoices_Call added in v0.16.2

type PaymentServiceHandler_GetInvoices_Call struct {
	*mock.Call
}

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

func (*PaymentServiceHandler_GetInvoices_Call) Return added in v0.16.2

func (_c *PaymentServiceHandler_GetInvoices_Call) Return(response *connect.Response[apiv1.PaymentServiceGetInvoicesResponse], err error) *PaymentServiceHandler_GetInvoices_Call

func (*PaymentServiceHandler_GetInvoices_Call) Run added in v0.16.2

func (_c *PaymentServiceHandler_GetInvoices_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.PaymentServiceGetInvoicesRequest])) *PaymentServiceHandler_GetInvoices_Call

func (*PaymentServiceHandler_GetInvoices_Call) RunAndReturn added in v0.16.2

func (_c *PaymentServiceHandler_GetInvoices_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.PaymentServiceGetInvoicesRequest]) (*connect.Response[apiv1.PaymentServiceGetInvoicesResponse], error)) *PaymentServiceHandler_GetInvoices_Call

type PaymentServiceHandler_GetSubscriptionUsage_Call added in v0.16.2

type PaymentServiceHandler_GetSubscriptionUsage_Call struct {
	*mock.Call
}

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

func (*PaymentServiceHandler_GetSubscriptionUsage_Call) Return added in v0.16.2

func (_c *PaymentServiceHandler_GetSubscriptionUsage_Call) Return(response *connect.Response[apiv1.PaymentServiceGetSubscriptionUsageResponse], err error) *PaymentServiceHandler_GetSubscriptionUsage_Call

func (*PaymentServiceHandler_GetSubscriptionUsage_Call) Run added in v0.16.2

func (_c *PaymentServiceHandler_GetSubscriptionUsage_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.PaymentServiceGetSubscriptionUsageRequest])) *PaymentServiceHandler_GetSubscriptionUsage_Call

func (*PaymentServiceHandler_GetSubscriptionUsage_Call) RunAndReturn added in v0.16.2

func (_c *PaymentServiceHandler_GetSubscriptionUsage_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.PaymentServiceGetSubscriptionUsageRequest]) (*connect.Response[apiv1.PaymentServiceGetSubscriptionUsageResponse], error)) *PaymentServiceHandler_GetSubscriptionUsage_Call

type PaymentServiceHandler_HasPaymentMethod_Call added in v0.16.2

type PaymentServiceHandler_HasPaymentMethod_Call struct {
	*mock.Call
}

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

func (*PaymentServiceHandler_HasPaymentMethod_Call) Return added in v0.16.2

func (_c *PaymentServiceHandler_HasPaymentMethod_Call) Return(response *connect.Response[apiv1.PaymentServiceHasPaymentMethodResponse], err error) *PaymentServiceHandler_HasPaymentMethod_Call

func (*PaymentServiceHandler_HasPaymentMethod_Call) Run added in v0.16.2

func (_c *PaymentServiceHandler_HasPaymentMethod_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.PaymentServiceHasPaymentMethodRequest])) *PaymentServiceHandler_HasPaymentMethod_Call

func (*PaymentServiceHandler_HasPaymentMethod_Call) RunAndReturn added in v0.16.2

func (_c *PaymentServiceHandler_HasPaymentMethod_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.PaymentServiceHasPaymentMethodRequest]) (*connect.Response[apiv1.PaymentServiceHasPaymentMethodResponse], error)) *PaymentServiceHandler_HasPaymentMethod_Call

type ProjectServiceClient

type ProjectServiceClient struct {
	mock.Mock
}

ProjectServiceClient is an autogenerated mock type for the ProjectServiceClient type

func NewProjectServiceClient

func NewProjectServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *ProjectServiceClient

NewProjectServiceClient creates a new instance of ProjectServiceClient. 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 (*ProjectServiceClient) Create added in v0.7.4

func (_mock *ProjectServiceClient) Create(context1 context.Context, request *connect.Request[apiv1.ProjectServiceCreateRequest]) (*connect.Response[apiv1.ProjectServiceCreateResponse], error)

Create provides a mock function for the type ProjectServiceClient

func (*ProjectServiceClient) Delete added in v0.7.4

func (_mock *ProjectServiceClient) Delete(context1 context.Context, request *connect.Request[apiv1.ProjectServiceDeleteRequest]) (*connect.Response[apiv1.ProjectServiceDeleteResponse], error)

Delete provides a mock function for the type ProjectServiceClient

func (*ProjectServiceClient) EXPECT added in v0.16.2

func (*ProjectServiceClient) Get

func (_mock *ProjectServiceClient) Get(context1 context.Context, request *connect.Request[apiv1.ProjectServiceGetRequest]) (*connect.Response[apiv1.ProjectServiceGetResponse], error)

Get provides a mock function for the type ProjectServiceClient

func (*ProjectServiceClient) Invite added in v0.8.0

func (_mock *ProjectServiceClient) Invite(context1 context.Context, request *connect.Request[apiv1.ProjectServiceInviteRequest]) (*connect.Response[apiv1.ProjectServiceInviteResponse], error)

Invite provides a mock function for the type ProjectServiceClient

func (*ProjectServiceClient) InviteAccept added in v0.8.0

func (_mock *ProjectServiceClient) InviteAccept(context1 context.Context, request *connect.Request[apiv1.ProjectServiceInviteAcceptRequest]) (*connect.Response[apiv1.ProjectServiceInviteAcceptResponse], error)

InviteAccept provides a mock function for the type ProjectServiceClient

func (*ProjectServiceClient) InviteDelete added in v0.8.0

func (_mock *ProjectServiceClient) InviteDelete(context1 context.Context, request *connect.Request[apiv1.ProjectServiceInviteDeleteRequest]) (*connect.Response[apiv1.ProjectServiceInviteDeleteResponse], error)

InviteDelete provides a mock function for the type ProjectServiceClient

func (*ProjectServiceClient) InviteGet added in v0.8.2

func (_mock *ProjectServiceClient) InviteGet(context1 context.Context, request *connect.Request[apiv1.ProjectServiceInviteGetRequest]) (*connect.Response[apiv1.ProjectServiceInviteGetResponse], error)

InviteGet provides a mock function for the type ProjectServiceClient

func (*ProjectServiceClient) InvitesList added in v0.8.0

func (_mock *ProjectServiceClient) InvitesList(context1 context.Context, request *connect.Request[apiv1.ProjectServiceInvitesListRequest]) (*connect.Response[apiv1.ProjectServiceInvitesListResponse], error)

InvitesList provides a mock function for the type ProjectServiceClient

func (*ProjectServiceClient) List

func (_mock *ProjectServiceClient) List(context1 context.Context, request *connect.Request[apiv1.ProjectServiceListRequest]) (*connect.Response[apiv1.ProjectServiceListResponse], error)

List provides a mock function for the type ProjectServiceClient

func (*ProjectServiceClient) RemoveMember added in v0.8.0

func (_mock *ProjectServiceClient) RemoveMember(context1 context.Context, request *connect.Request[apiv1.ProjectServiceRemoveMemberRequest]) (*connect.Response[apiv1.ProjectServiceRemoveMemberResponse], error)

RemoveMember provides a mock function for the type ProjectServiceClient

func (*ProjectServiceClient) Update added in v0.7.4

func (_mock *ProjectServiceClient) Update(context1 context.Context, request *connect.Request[apiv1.ProjectServiceUpdateRequest]) (*connect.Response[apiv1.ProjectServiceUpdateResponse], error)

Update provides a mock function for the type ProjectServiceClient

func (*ProjectServiceClient) UpdateMember added in v0.8.2

func (_mock *ProjectServiceClient) UpdateMember(context1 context.Context, request *connect.Request[apiv1.ProjectServiceUpdateMemberRequest]) (*connect.Response[apiv1.ProjectServiceUpdateMemberResponse], error)

UpdateMember provides a mock function for the type ProjectServiceClient

type ProjectServiceClient_Create_Call added in v0.16.2

type ProjectServiceClient_Create_Call struct {
	*mock.Call
}

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

func (*ProjectServiceClient_Create_Call) Return added in v0.16.2

func (_c *ProjectServiceClient_Create_Call) Return(response *connect.Response[apiv1.ProjectServiceCreateResponse], err error) *ProjectServiceClient_Create_Call

func (*ProjectServiceClient_Create_Call) Run added in v0.16.2

func (_c *ProjectServiceClient_Create_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.ProjectServiceCreateRequest])) *ProjectServiceClient_Create_Call

func (*ProjectServiceClient_Create_Call) RunAndReturn added in v0.16.2

func (_c *ProjectServiceClient_Create_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.ProjectServiceCreateRequest]) (*connect.Response[apiv1.ProjectServiceCreateResponse], error)) *ProjectServiceClient_Create_Call

type ProjectServiceClient_Delete_Call added in v0.16.2

type ProjectServiceClient_Delete_Call struct {
	*mock.Call
}

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

func (*ProjectServiceClient_Delete_Call) Return added in v0.16.2

func (_c *ProjectServiceClient_Delete_Call) Return(response *connect.Response[apiv1.ProjectServiceDeleteResponse], err error) *ProjectServiceClient_Delete_Call

func (*ProjectServiceClient_Delete_Call) Run added in v0.16.2

func (_c *ProjectServiceClient_Delete_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.ProjectServiceDeleteRequest])) *ProjectServiceClient_Delete_Call

func (*ProjectServiceClient_Delete_Call) RunAndReturn added in v0.16.2

func (_c *ProjectServiceClient_Delete_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.ProjectServiceDeleteRequest]) (*connect.Response[apiv1.ProjectServiceDeleteResponse], error)) *ProjectServiceClient_Delete_Call

type ProjectServiceClient_Expecter added in v0.16.2

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

func (*ProjectServiceClient_Expecter) Create added in v0.16.2

func (_e *ProjectServiceClient_Expecter) Create(context1 interface{}, request interface{}) *ProjectServiceClient_Create_Call

Create is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.ProjectServiceCreateRequest]

func (*ProjectServiceClient_Expecter) Delete added in v0.16.2

func (_e *ProjectServiceClient_Expecter) Delete(context1 interface{}, request interface{}) *ProjectServiceClient_Delete_Call

Delete is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.ProjectServiceDeleteRequest]

func (*ProjectServiceClient_Expecter) Get added in v0.16.2

func (_e *ProjectServiceClient_Expecter) Get(context1 interface{}, request interface{}) *ProjectServiceClient_Get_Call

Get is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.ProjectServiceGetRequest]

func (*ProjectServiceClient_Expecter) Invite added in v0.16.2

func (_e *ProjectServiceClient_Expecter) Invite(context1 interface{}, request interface{}) *ProjectServiceClient_Invite_Call

Invite is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.ProjectServiceInviteRequest]

func (*ProjectServiceClient_Expecter) InviteAccept added in v0.16.2

func (_e *ProjectServiceClient_Expecter) InviteAccept(context1 interface{}, request interface{}) *ProjectServiceClient_InviteAccept_Call

InviteAccept is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.ProjectServiceInviteAcceptRequest]

func (*ProjectServiceClient_Expecter) InviteDelete added in v0.16.2

func (_e *ProjectServiceClient_Expecter) InviteDelete(context1 interface{}, request interface{}) *ProjectServiceClient_InviteDelete_Call

InviteDelete is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.ProjectServiceInviteDeleteRequest]

func (*ProjectServiceClient_Expecter) InviteGet added in v0.16.2

func (_e *ProjectServiceClient_Expecter) InviteGet(context1 interface{}, request interface{}) *ProjectServiceClient_InviteGet_Call

InviteGet is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.ProjectServiceInviteGetRequest]

func (*ProjectServiceClient_Expecter) InvitesList added in v0.16.2

func (_e *ProjectServiceClient_Expecter) InvitesList(context1 interface{}, request interface{}) *ProjectServiceClient_InvitesList_Call

InvitesList is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.ProjectServiceInvitesListRequest]

func (*ProjectServiceClient_Expecter) List added in v0.16.2

func (_e *ProjectServiceClient_Expecter) List(context1 interface{}, request interface{}) *ProjectServiceClient_List_Call

List is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.ProjectServiceListRequest]

func (*ProjectServiceClient_Expecter) RemoveMember added in v0.16.2

func (_e *ProjectServiceClient_Expecter) RemoveMember(context1 interface{}, request interface{}) *ProjectServiceClient_RemoveMember_Call

RemoveMember is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.ProjectServiceRemoveMemberRequest]

func (*ProjectServiceClient_Expecter) Update added in v0.16.2

func (_e *ProjectServiceClient_Expecter) Update(context1 interface{}, request interface{}) *ProjectServiceClient_Update_Call

Update is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.ProjectServiceUpdateRequest]

func (*ProjectServiceClient_Expecter) UpdateMember added in v0.16.2

func (_e *ProjectServiceClient_Expecter) UpdateMember(context1 interface{}, request interface{}) *ProjectServiceClient_UpdateMember_Call

UpdateMember is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.ProjectServiceUpdateMemberRequest]

type ProjectServiceClient_Get_Call added in v0.16.2

type ProjectServiceClient_Get_Call struct {
	*mock.Call
}

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

func (*ProjectServiceClient_Get_Call) Return added in v0.16.2

func (_c *ProjectServiceClient_Get_Call) Return(response *connect.Response[apiv1.ProjectServiceGetResponse], err error) *ProjectServiceClient_Get_Call

func (*ProjectServiceClient_Get_Call) Run added in v0.16.2

func (_c *ProjectServiceClient_Get_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.ProjectServiceGetRequest])) *ProjectServiceClient_Get_Call

func (*ProjectServiceClient_Get_Call) RunAndReturn added in v0.16.2

func (_c *ProjectServiceClient_Get_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.ProjectServiceGetRequest]) (*connect.Response[apiv1.ProjectServiceGetResponse], error)) *ProjectServiceClient_Get_Call

type ProjectServiceClient_InviteAccept_Call added in v0.16.2

type ProjectServiceClient_InviteAccept_Call struct {
	*mock.Call
}

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

func (*ProjectServiceClient_InviteAccept_Call) Return added in v0.16.2

func (_c *ProjectServiceClient_InviteAccept_Call) Return(response *connect.Response[apiv1.ProjectServiceInviteAcceptResponse], err error) *ProjectServiceClient_InviteAccept_Call

func (*ProjectServiceClient_InviteAccept_Call) Run added in v0.16.2

func (_c *ProjectServiceClient_InviteAccept_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.ProjectServiceInviteAcceptRequest])) *ProjectServiceClient_InviteAccept_Call

func (*ProjectServiceClient_InviteAccept_Call) RunAndReturn added in v0.16.2

func (_c *ProjectServiceClient_InviteAccept_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.ProjectServiceInviteAcceptRequest]) (*connect.Response[apiv1.ProjectServiceInviteAcceptResponse], error)) *ProjectServiceClient_InviteAccept_Call

type ProjectServiceClient_InviteDelete_Call added in v0.16.2

type ProjectServiceClient_InviteDelete_Call struct {
	*mock.Call
}

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

func (*ProjectServiceClient_InviteDelete_Call) Return added in v0.16.2

func (_c *ProjectServiceClient_InviteDelete_Call) Return(response *connect.Response[apiv1.ProjectServiceInviteDeleteResponse], err error) *ProjectServiceClient_InviteDelete_Call

func (*ProjectServiceClient_InviteDelete_Call) Run added in v0.16.2

func (_c *ProjectServiceClient_InviteDelete_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.ProjectServiceInviteDeleteRequest])) *ProjectServiceClient_InviteDelete_Call

func (*ProjectServiceClient_InviteDelete_Call) RunAndReturn added in v0.16.2

func (_c *ProjectServiceClient_InviteDelete_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.ProjectServiceInviteDeleteRequest]) (*connect.Response[apiv1.ProjectServiceInviteDeleteResponse], error)) *ProjectServiceClient_InviteDelete_Call

type ProjectServiceClient_InviteGet_Call added in v0.16.2

type ProjectServiceClient_InviteGet_Call struct {
	*mock.Call
}

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

func (*ProjectServiceClient_InviteGet_Call) Return added in v0.16.2

func (_c *ProjectServiceClient_InviteGet_Call) Return(response *connect.Response[apiv1.ProjectServiceInviteGetResponse], err error) *ProjectServiceClient_InviteGet_Call

func (*ProjectServiceClient_InviteGet_Call) Run added in v0.16.2

func (_c *ProjectServiceClient_InviteGet_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.ProjectServiceInviteGetRequest])) *ProjectServiceClient_InviteGet_Call

func (*ProjectServiceClient_InviteGet_Call) RunAndReturn added in v0.16.2

func (_c *ProjectServiceClient_InviteGet_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.ProjectServiceInviteGetRequest]) (*connect.Response[apiv1.ProjectServiceInviteGetResponse], error)) *ProjectServiceClient_InviteGet_Call

type ProjectServiceClient_Invite_Call added in v0.16.2

type ProjectServiceClient_Invite_Call struct {
	*mock.Call
}

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

func (*ProjectServiceClient_Invite_Call) Return added in v0.16.2

func (_c *ProjectServiceClient_Invite_Call) Return(response *connect.Response[apiv1.ProjectServiceInviteResponse], err error) *ProjectServiceClient_Invite_Call

func (*ProjectServiceClient_Invite_Call) Run added in v0.16.2

func (_c *ProjectServiceClient_Invite_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.ProjectServiceInviteRequest])) *ProjectServiceClient_Invite_Call

func (*ProjectServiceClient_Invite_Call) RunAndReturn added in v0.16.2

func (_c *ProjectServiceClient_Invite_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.ProjectServiceInviteRequest]) (*connect.Response[apiv1.ProjectServiceInviteResponse], error)) *ProjectServiceClient_Invite_Call

type ProjectServiceClient_InvitesList_Call added in v0.16.2

type ProjectServiceClient_InvitesList_Call struct {
	*mock.Call
}

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

func (*ProjectServiceClient_InvitesList_Call) Return added in v0.16.2

func (_c *ProjectServiceClient_InvitesList_Call) Return(response *connect.Response[apiv1.ProjectServiceInvitesListResponse], err error) *ProjectServiceClient_InvitesList_Call

func (*ProjectServiceClient_InvitesList_Call) Run added in v0.16.2

func (_c *ProjectServiceClient_InvitesList_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.ProjectServiceInvitesListRequest])) *ProjectServiceClient_InvitesList_Call

func (*ProjectServiceClient_InvitesList_Call) RunAndReturn added in v0.16.2

func (_c *ProjectServiceClient_InvitesList_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.ProjectServiceInvitesListRequest]) (*connect.Response[apiv1.ProjectServiceInvitesListResponse], error)) *ProjectServiceClient_InvitesList_Call

type ProjectServiceClient_List_Call added in v0.16.2

type ProjectServiceClient_List_Call struct {
	*mock.Call
}

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

func (*ProjectServiceClient_List_Call) Return added in v0.16.2

func (_c *ProjectServiceClient_List_Call) Return(response *connect.Response[apiv1.ProjectServiceListResponse], err error) *ProjectServiceClient_List_Call

func (*ProjectServiceClient_List_Call) Run added in v0.16.2

func (_c *ProjectServiceClient_List_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.ProjectServiceListRequest])) *ProjectServiceClient_List_Call

func (*ProjectServiceClient_List_Call) RunAndReturn added in v0.16.2

func (_c *ProjectServiceClient_List_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.ProjectServiceListRequest]) (*connect.Response[apiv1.ProjectServiceListResponse], error)) *ProjectServiceClient_List_Call

type ProjectServiceClient_RemoveMember_Call added in v0.16.2

type ProjectServiceClient_RemoveMember_Call struct {
	*mock.Call
}

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

func (*ProjectServiceClient_RemoveMember_Call) Return added in v0.16.2

func (_c *ProjectServiceClient_RemoveMember_Call) Return(response *connect.Response[apiv1.ProjectServiceRemoveMemberResponse], err error) *ProjectServiceClient_RemoveMember_Call

func (*ProjectServiceClient_RemoveMember_Call) Run added in v0.16.2

func (_c *ProjectServiceClient_RemoveMember_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.ProjectServiceRemoveMemberRequest])) *ProjectServiceClient_RemoveMember_Call

func (*ProjectServiceClient_RemoveMember_Call) RunAndReturn added in v0.16.2

func (_c *ProjectServiceClient_RemoveMember_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.ProjectServiceRemoveMemberRequest]) (*connect.Response[apiv1.ProjectServiceRemoveMemberResponse], error)) *ProjectServiceClient_RemoveMember_Call

type ProjectServiceClient_UpdateMember_Call added in v0.16.2

type ProjectServiceClient_UpdateMember_Call struct {
	*mock.Call
}

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

func (*ProjectServiceClient_UpdateMember_Call) Return added in v0.16.2

func (_c *ProjectServiceClient_UpdateMember_Call) Return(response *connect.Response[apiv1.ProjectServiceUpdateMemberResponse], err error) *ProjectServiceClient_UpdateMember_Call

func (*ProjectServiceClient_UpdateMember_Call) Run added in v0.16.2

func (_c *ProjectServiceClient_UpdateMember_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.ProjectServiceUpdateMemberRequest])) *ProjectServiceClient_UpdateMember_Call

func (*ProjectServiceClient_UpdateMember_Call) RunAndReturn added in v0.16.2

func (_c *ProjectServiceClient_UpdateMember_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.ProjectServiceUpdateMemberRequest]) (*connect.Response[apiv1.ProjectServiceUpdateMemberResponse], error)) *ProjectServiceClient_UpdateMember_Call

type ProjectServiceClient_Update_Call added in v0.16.2

type ProjectServiceClient_Update_Call struct {
	*mock.Call
}

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

func (*ProjectServiceClient_Update_Call) Return added in v0.16.2

func (_c *ProjectServiceClient_Update_Call) Return(response *connect.Response[apiv1.ProjectServiceUpdateResponse], err error) *ProjectServiceClient_Update_Call

func (*ProjectServiceClient_Update_Call) Run added in v0.16.2

func (_c *ProjectServiceClient_Update_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.ProjectServiceUpdateRequest])) *ProjectServiceClient_Update_Call

func (*ProjectServiceClient_Update_Call) RunAndReturn added in v0.16.2

func (_c *ProjectServiceClient_Update_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.ProjectServiceUpdateRequest]) (*connect.Response[apiv1.ProjectServiceUpdateResponse], error)) *ProjectServiceClient_Update_Call

type ProjectServiceHandler

type ProjectServiceHandler struct {
	mock.Mock
}

ProjectServiceHandler is an autogenerated mock type for the ProjectServiceHandler type

func NewProjectServiceHandler

func NewProjectServiceHandler(t interface {
	mock.TestingT
	Cleanup(func())
}) *ProjectServiceHandler

NewProjectServiceHandler creates a new instance of ProjectServiceHandler. 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 (*ProjectServiceHandler) Create added in v0.7.4

func (_mock *ProjectServiceHandler) Create(context1 context.Context, request *connect.Request[apiv1.ProjectServiceCreateRequest]) (*connect.Response[apiv1.ProjectServiceCreateResponse], error)

Create provides a mock function for the type ProjectServiceHandler

func (*ProjectServiceHandler) Delete added in v0.7.4

func (_mock *ProjectServiceHandler) Delete(context1 context.Context, request *connect.Request[apiv1.ProjectServiceDeleteRequest]) (*connect.Response[apiv1.ProjectServiceDeleteResponse], error)

Delete provides a mock function for the type ProjectServiceHandler

func (*ProjectServiceHandler) EXPECT added in v0.16.2

func (*ProjectServiceHandler) Get

func (_mock *ProjectServiceHandler) Get(context1 context.Context, request *connect.Request[apiv1.ProjectServiceGetRequest]) (*connect.Response[apiv1.ProjectServiceGetResponse], error)

Get provides a mock function for the type ProjectServiceHandler

func (*ProjectServiceHandler) Invite added in v0.8.0

func (_mock *ProjectServiceHandler) Invite(context1 context.Context, request *connect.Request[apiv1.ProjectServiceInviteRequest]) (*connect.Response[apiv1.ProjectServiceInviteResponse], error)

Invite provides a mock function for the type ProjectServiceHandler

func (*ProjectServiceHandler) InviteAccept added in v0.8.0

func (_mock *ProjectServiceHandler) InviteAccept(context1 context.Context, request *connect.Request[apiv1.ProjectServiceInviteAcceptRequest]) (*connect.Response[apiv1.ProjectServiceInviteAcceptResponse], error)

InviteAccept provides a mock function for the type ProjectServiceHandler

func (*ProjectServiceHandler) InviteDelete added in v0.8.0

func (_mock *ProjectServiceHandler) InviteDelete(context1 context.Context, request *connect.Request[apiv1.ProjectServiceInviteDeleteRequest]) (*connect.Response[apiv1.ProjectServiceInviteDeleteResponse], error)

InviteDelete provides a mock function for the type ProjectServiceHandler

func (*ProjectServiceHandler) InviteGet added in v0.8.2

func (_mock *ProjectServiceHandler) InviteGet(context1 context.Context, request *connect.Request[apiv1.ProjectServiceInviteGetRequest]) (*connect.Response[apiv1.ProjectServiceInviteGetResponse], error)

InviteGet provides a mock function for the type ProjectServiceHandler

func (*ProjectServiceHandler) InvitesList added in v0.8.0

func (_mock *ProjectServiceHandler) InvitesList(context1 context.Context, request *connect.Request[apiv1.ProjectServiceInvitesListRequest]) (*connect.Response[apiv1.ProjectServiceInvitesListResponse], error)

InvitesList provides a mock function for the type ProjectServiceHandler

func (*ProjectServiceHandler) List

func (_mock *ProjectServiceHandler) List(context1 context.Context, request *connect.Request[apiv1.ProjectServiceListRequest]) (*connect.Response[apiv1.ProjectServiceListResponse], error)

List provides a mock function for the type ProjectServiceHandler

func (*ProjectServiceHandler) RemoveMember added in v0.8.0

func (_mock *ProjectServiceHandler) RemoveMember(context1 context.Context, request *connect.Request[apiv1.ProjectServiceRemoveMemberRequest]) (*connect.Response[apiv1.ProjectServiceRemoveMemberResponse], error)

RemoveMember provides a mock function for the type ProjectServiceHandler

func (*ProjectServiceHandler) Update added in v0.7.4

func (_mock *ProjectServiceHandler) Update(context1 context.Context, request *connect.Request[apiv1.ProjectServiceUpdateRequest]) (*connect.Response[apiv1.ProjectServiceUpdateResponse], error)

Update provides a mock function for the type ProjectServiceHandler

func (*ProjectServiceHandler) UpdateMember added in v0.8.2

func (_mock *ProjectServiceHandler) UpdateMember(context1 context.Context, request *connect.Request[apiv1.ProjectServiceUpdateMemberRequest]) (*connect.Response[apiv1.ProjectServiceUpdateMemberResponse], error)

UpdateMember provides a mock function for the type ProjectServiceHandler

type ProjectServiceHandler_Create_Call added in v0.16.2

type ProjectServiceHandler_Create_Call struct {
	*mock.Call
}

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

func (*ProjectServiceHandler_Create_Call) Return added in v0.16.2

func (_c *ProjectServiceHandler_Create_Call) Return(response *connect.Response[apiv1.ProjectServiceCreateResponse], err error) *ProjectServiceHandler_Create_Call

func (*ProjectServiceHandler_Create_Call) Run added in v0.16.2

func (_c *ProjectServiceHandler_Create_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.ProjectServiceCreateRequest])) *ProjectServiceHandler_Create_Call

func (*ProjectServiceHandler_Create_Call) RunAndReturn added in v0.16.2

func (_c *ProjectServiceHandler_Create_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.ProjectServiceCreateRequest]) (*connect.Response[apiv1.ProjectServiceCreateResponse], error)) *ProjectServiceHandler_Create_Call

type ProjectServiceHandler_Delete_Call added in v0.16.2

type ProjectServiceHandler_Delete_Call struct {
	*mock.Call
}

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

func (*ProjectServiceHandler_Delete_Call) Return added in v0.16.2

func (_c *ProjectServiceHandler_Delete_Call) Return(response *connect.Response[apiv1.ProjectServiceDeleteResponse], err error) *ProjectServiceHandler_Delete_Call

func (*ProjectServiceHandler_Delete_Call) Run added in v0.16.2

func (_c *ProjectServiceHandler_Delete_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.ProjectServiceDeleteRequest])) *ProjectServiceHandler_Delete_Call

func (*ProjectServiceHandler_Delete_Call) RunAndReturn added in v0.16.2

func (_c *ProjectServiceHandler_Delete_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.ProjectServiceDeleteRequest]) (*connect.Response[apiv1.ProjectServiceDeleteResponse], error)) *ProjectServiceHandler_Delete_Call

type ProjectServiceHandler_Expecter added in v0.16.2

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

func (*ProjectServiceHandler_Expecter) Create added in v0.16.2

func (_e *ProjectServiceHandler_Expecter) Create(context1 interface{}, request interface{}) *ProjectServiceHandler_Create_Call

Create is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.ProjectServiceCreateRequest]

func (*ProjectServiceHandler_Expecter) Delete added in v0.16.2

func (_e *ProjectServiceHandler_Expecter) Delete(context1 interface{}, request interface{}) *ProjectServiceHandler_Delete_Call

Delete is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.ProjectServiceDeleteRequest]

func (*ProjectServiceHandler_Expecter) Get added in v0.16.2

func (_e *ProjectServiceHandler_Expecter) Get(context1 interface{}, request interface{}) *ProjectServiceHandler_Get_Call

Get is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.ProjectServiceGetRequest]

func (*ProjectServiceHandler_Expecter) Invite added in v0.16.2

func (_e *ProjectServiceHandler_Expecter) Invite(context1 interface{}, request interface{}) *ProjectServiceHandler_Invite_Call

Invite is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.ProjectServiceInviteRequest]

func (*ProjectServiceHandler_Expecter) InviteAccept added in v0.16.2

func (_e *ProjectServiceHandler_Expecter) InviteAccept(context1 interface{}, request interface{}) *ProjectServiceHandler_InviteAccept_Call

InviteAccept is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.ProjectServiceInviteAcceptRequest]

func (*ProjectServiceHandler_Expecter) InviteDelete added in v0.16.2

func (_e *ProjectServiceHandler_Expecter) InviteDelete(context1 interface{}, request interface{}) *ProjectServiceHandler_InviteDelete_Call

InviteDelete is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.ProjectServiceInviteDeleteRequest]

func (*ProjectServiceHandler_Expecter) InviteGet added in v0.16.2

func (_e *ProjectServiceHandler_Expecter) InviteGet(context1 interface{}, request interface{}) *ProjectServiceHandler_InviteGet_Call

InviteGet is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.ProjectServiceInviteGetRequest]

func (*ProjectServiceHandler_Expecter) InvitesList added in v0.16.2

func (_e *ProjectServiceHandler_Expecter) InvitesList(context1 interface{}, request interface{}) *ProjectServiceHandler_InvitesList_Call

InvitesList is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.ProjectServiceInvitesListRequest]

func (*ProjectServiceHandler_Expecter) List added in v0.16.2

func (_e *ProjectServiceHandler_Expecter) List(context1 interface{}, request interface{}) *ProjectServiceHandler_List_Call

List is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.ProjectServiceListRequest]

func (*ProjectServiceHandler_Expecter) RemoveMember added in v0.16.2

func (_e *ProjectServiceHandler_Expecter) RemoveMember(context1 interface{}, request interface{}) *ProjectServiceHandler_RemoveMember_Call

RemoveMember is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.ProjectServiceRemoveMemberRequest]

func (*ProjectServiceHandler_Expecter) Update added in v0.16.2

func (_e *ProjectServiceHandler_Expecter) Update(context1 interface{}, request interface{}) *ProjectServiceHandler_Update_Call

Update is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.ProjectServiceUpdateRequest]

func (*ProjectServiceHandler_Expecter) UpdateMember added in v0.16.2

func (_e *ProjectServiceHandler_Expecter) UpdateMember(context1 interface{}, request interface{}) *ProjectServiceHandler_UpdateMember_Call

UpdateMember is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.ProjectServiceUpdateMemberRequest]

type ProjectServiceHandler_Get_Call added in v0.16.2

type ProjectServiceHandler_Get_Call struct {
	*mock.Call
}

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

func (*ProjectServiceHandler_Get_Call) Return added in v0.16.2

func (_c *ProjectServiceHandler_Get_Call) Return(response *connect.Response[apiv1.ProjectServiceGetResponse], err error) *ProjectServiceHandler_Get_Call

func (*ProjectServiceHandler_Get_Call) Run added in v0.16.2

func (_c *ProjectServiceHandler_Get_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.ProjectServiceGetRequest])) *ProjectServiceHandler_Get_Call

func (*ProjectServiceHandler_Get_Call) RunAndReturn added in v0.16.2

func (_c *ProjectServiceHandler_Get_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.ProjectServiceGetRequest]) (*connect.Response[apiv1.ProjectServiceGetResponse], error)) *ProjectServiceHandler_Get_Call

type ProjectServiceHandler_InviteAccept_Call added in v0.16.2

type ProjectServiceHandler_InviteAccept_Call struct {
	*mock.Call
}

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

func (*ProjectServiceHandler_InviteAccept_Call) Return added in v0.16.2

func (_c *ProjectServiceHandler_InviteAccept_Call) Return(response *connect.Response[apiv1.ProjectServiceInviteAcceptResponse], err error) *ProjectServiceHandler_InviteAccept_Call

func (*ProjectServiceHandler_InviteAccept_Call) Run added in v0.16.2

func (_c *ProjectServiceHandler_InviteAccept_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.ProjectServiceInviteAcceptRequest])) *ProjectServiceHandler_InviteAccept_Call

func (*ProjectServiceHandler_InviteAccept_Call) RunAndReturn added in v0.16.2

func (_c *ProjectServiceHandler_InviteAccept_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.ProjectServiceInviteAcceptRequest]) (*connect.Response[apiv1.ProjectServiceInviteAcceptResponse], error)) *ProjectServiceHandler_InviteAccept_Call

type ProjectServiceHandler_InviteDelete_Call added in v0.16.2

type ProjectServiceHandler_InviteDelete_Call struct {
	*mock.Call
}

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

func (*ProjectServiceHandler_InviteDelete_Call) Return added in v0.16.2

func (_c *ProjectServiceHandler_InviteDelete_Call) Return(response *connect.Response[apiv1.ProjectServiceInviteDeleteResponse], err error) *ProjectServiceHandler_InviteDelete_Call

func (*ProjectServiceHandler_InviteDelete_Call) Run added in v0.16.2

func (_c *ProjectServiceHandler_InviteDelete_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.ProjectServiceInviteDeleteRequest])) *ProjectServiceHandler_InviteDelete_Call

func (*ProjectServiceHandler_InviteDelete_Call) RunAndReturn added in v0.16.2

func (_c *ProjectServiceHandler_InviteDelete_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.ProjectServiceInviteDeleteRequest]) (*connect.Response[apiv1.ProjectServiceInviteDeleteResponse], error)) *ProjectServiceHandler_InviteDelete_Call

type ProjectServiceHandler_InviteGet_Call added in v0.16.2

type ProjectServiceHandler_InviteGet_Call struct {
	*mock.Call
}

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

func (*ProjectServiceHandler_InviteGet_Call) Return added in v0.16.2

func (_c *ProjectServiceHandler_InviteGet_Call) Return(response *connect.Response[apiv1.ProjectServiceInviteGetResponse], err error) *ProjectServiceHandler_InviteGet_Call

func (*ProjectServiceHandler_InviteGet_Call) Run added in v0.16.2

func (_c *ProjectServiceHandler_InviteGet_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.ProjectServiceInviteGetRequest])) *ProjectServiceHandler_InviteGet_Call

func (*ProjectServiceHandler_InviteGet_Call) RunAndReturn added in v0.16.2

func (_c *ProjectServiceHandler_InviteGet_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.ProjectServiceInviteGetRequest]) (*connect.Response[apiv1.ProjectServiceInviteGetResponse], error)) *ProjectServiceHandler_InviteGet_Call

type ProjectServiceHandler_Invite_Call added in v0.16.2

type ProjectServiceHandler_Invite_Call struct {
	*mock.Call
}

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

func (*ProjectServiceHandler_Invite_Call) Return added in v0.16.2

func (_c *ProjectServiceHandler_Invite_Call) Return(response *connect.Response[apiv1.ProjectServiceInviteResponse], err error) *ProjectServiceHandler_Invite_Call

func (*ProjectServiceHandler_Invite_Call) Run added in v0.16.2

func (_c *ProjectServiceHandler_Invite_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.ProjectServiceInviteRequest])) *ProjectServiceHandler_Invite_Call

func (*ProjectServiceHandler_Invite_Call) RunAndReturn added in v0.16.2

func (_c *ProjectServiceHandler_Invite_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.ProjectServiceInviteRequest]) (*connect.Response[apiv1.ProjectServiceInviteResponse], error)) *ProjectServiceHandler_Invite_Call

type ProjectServiceHandler_InvitesList_Call added in v0.16.2

type ProjectServiceHandler_InvitesList_Call struct {
	*mock.Call
}

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

func (*ProjectServiceHandler_InvitesList_Call) Return added in v0.16.2

func (_c *ProjectServiceHandler_InvitesList_Call) Return(response *connect.Response[apiv1.ProjectServiceInvitesListResponse], err error) *ProjectServiceHandler_InvitesList_Call

func (*ProjectServiceHandler_InvitesList_Call) Run added in v0.16.2

func (_c *ProjectServiceHandler_InvitesList_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.ProjectServiceInvitesListRequest])) *ProjectServiceHandler_InvitesList_Call

func (*ProjectServiceHandler_InvitesList_Call) RunAndReturn added in v0.16.2

func (_c *ProjectServiceHandler_InvitesList_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.ProjectServiceInvitesListRequest]) (*connect.Response[apiv1.ProjectServiceInvitesListResponse], error)) *ProjectServiceHandler_InvitesList_Call

type ProjectServiceHandler_List_Call added in v0.16.2

type ProjectServiceHandler_List_Call struct {
	*mock.Call
}

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

func (*ProjectServiceHandler_List_Call) Return added in v0.16.2

func (_c *ProjectServiceHandler_List_Call) Return(response *connect.Response[apiv1.ProjectServiceListResponse], err error) *ProjectServiceHandler_List_Call

func (*ProjectServiceHandler_List_Call) Run added in v0.16.2

func (_c *ProjectServiceHandler_List_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.ProjectServiceListRequest])) *ProjectServiceHandler_List_Call

func (*ProjectServiceHandler_List_Call) RunAndReturn added in v0.16.2

func (_c *ProjectServiceHandler_List_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.ProjectServiceListRequest]) (*connect.Response[apiv1.ProjectServiceListResponse], error)) *ProjectServiceHandler_List_Call

type ProjectServiceHandler_RemoveMember_Call added in v0.16.2

type ProjectServiceHandler_RemoveMember_Call struct {
	*mock.Call
}

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

func (*ProjectServiceHandler_RemoveMember_Call) Return added in v0.16.2

func (_c *ProjectServiceHandler_RemoveMember_Call) Return(response *connect.Response[apiv1.ProjectServiceRemoveMemberResponse], err error) *ProjectServiceHandler_RemoveMember_Call

func (*ProjectServiceHandler_RemoveMember_Call) Run added in v0.16.2

func (_c *ProjectServiceHandler_RemoveMember_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.ProjectServiceRemoveMemberRequest])) *ProjectServiceHandler_RemoveMember_Call

func (*ProjectServiceHandler_RemoveMember_Call) RunAndReturn added in v0.16.2

func (_c *ProjectServiceHandler_RemoveMember_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.ProjectServiceRemoveMemberRequest]) (*connect.Response[apiv1.ProjectServiceRemoveMemberResponse], error)) *ProjectServiceHandler_RemoveMember_Call

type ProjectServiceHandler_UpdateMember_Call added in v0.16.2

type ProjectServiceHandler_UpdateMember_Call struct {
	*mock.Call
}

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

func (*ProjectServiceHandler_UpdateMember_Call) Return added in v0.16.2

func (_c *ProjectServiceHandler_UpdateMember_Call) Return(response *connect.Response[apiv1.ProjectServiceUpdateMemberResponse], err error) *ProjectServiceHandler_UpdateMember_Call

func (*ProjectServiceHandler_UpdateMember_Call) Run added in v0.16.2

func (_c *ProjectServiceHandler_UpdateMember_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.ProjectServiceUpdateMemberRequest])) *ProjectServiceHandler_UpdateMember_Call

func (*ProjectServiceHandler_UpdateMember_Call) RunAndReturn added in v0.16.2

func (_c *ProjectServiceHandler_UpdateMember_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.ProjectServiceUpdateMemberRequest]) (*connect.Response[apiv1.ProjectServiceUpdateMemberResponse], error)) *ProjectServiceHandler_UpdateMember_Call

type ProjectServiceHandler_Update_Call added in v0.16.2

type ProjectServiceHandler_Update_Call struct {
	*mock.Call
}

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

func (*ProjectServiceHandler_Update_Call) Return added in v0.16.2

func (_c *ProjectServiceHandler_Update_Call) Return(response *connect.Response[apiv1.ProjectServiceUpdateResponse], err error) *ProjectServiceHandler_Update_Call

func (*ProjectServiceHandler_Update_Call) Run added in v0.16.2

func (_c *ProjectServiceHandler_Update_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.ProjectServiceUpdateRequest])) *ProjectServiceHandler_Update_Call

func (*ProjectServiceHandler_Update_Call) RunAndReturn added in v0.16.2

func (_c *ProjectServiceHandler_Update_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.ProjectServiceUpdateRequest]) (*connect.Response[apiv1.ProjectServiceUpdateResponse], error)) *ProjectServiceHandler_Update_Call

type SnapshotServiceClient

type SnapshotServiceClient struct {
	mock.Mock
}

SnapshotServiceClient is an autogenerated mock type for the SnapshotServiceClient type

func NewSnapshotServiceClient

func NewSnapshotServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *SnapshotServiceClient

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

func (_mock *SnapshotServiceClient) Delete(context1 context.Context, request *connect.Request[apiv1.SnapshotServiceDeleteRequest]) (*connect.Response[apiv1.SnapshotServiceDeleteResponse], error)

Delete provides a mock function for the type SnapshotServiceClient

func (*SnapshotServiceClient) EXPECT added in v0.16.2

func (*SnapshotServiceClient) Get

func (_mock *SnapshotServiceClient) Get(context1 context.Context, request *connect.Request[apiv1.SnapshotServiceGetRequest]) (*connect.Response[apiv1.SnapshotServiceGetResponse], error)

Get provides a mock function for the type SnapshotServiceClient

func (*SnapshotServiceClient) List

func (_mock *SnapshotServiceClient) List(context1 context.Context, request *connect.Request[apiv1.SnapshotServiceListRequest]) (*connect.Response[apiv1.SnapshotServiceListResponse], error)

List provides a mock function for the type SnapshotServiceClient

type SnapshotServiceClient_Delete_Call added in v0.16.2

type SnapshotServiceClient_Delete_Call struct {
	*mock.Call
}

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

func (*SnapshotServiceClient_Delete_Call) Return added in v0.16.2

func (_c *SnapshotServiceClient_Delete_Call) Return(response *connect.Response[apiv1.SnapshotServiceDeleteResponse], err error) *SnapshotServiceClient_Delete_Call

func (*SnapshotServiceClient_Delete_Call) Run added in v0.16.2

func (_c *SnapshotServiceClient_Delete_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.SnapshotServiceDeleteRequest])) *SnapshotServiceClient_Delete_Call

func (*SnapshotServiceClient_Delete_Call) RunAndReturn added in v0.16.2

func (_c *SnapshotServiceClient_Delete_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.SnapshotServiceDeleteRequest]) (*connect.Response[apiv1.SnapshotServiceDeleteResponse], error)) *SnapshotServiceClient_Delete_Call

type SnapshotServiceClient_Expecter added in v0.16.2

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

func (*SnapshotServiceClient_Expecter) Delete added in v0.16.2

func (_e *SnapshotServiceClient_Expecter) Delete(context1 interface{}, request interface{}) *SnapshotServiceClient_Delete_Call

Delete is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.SnapshotServiceDeleteRequest]

func (*SnapshotServiceClient_Expecter) Get added in v0.16.2

func (_e *SnapshotServiceClient_Expecter) Get(context1 interface{}, request interface{}) *SnapshotServiceClient_Get_Call

Get is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.SnapshotServiceGetRequest]

func (*SnapshotServiceClient_Expecter) List added in v0.16.2

func (_e *SnapshotServiceClient_Expecter) List(context1 interface{}, request interface{}) *SnapshotServiceClient_List_Call

List is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.SnapshotServiceListRequest]

type SnapshotServiceClient_Get_Call added in v0.16.2

type SnapshotServiceClient_Get_Call struct {
	*mock.Call
}

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

func (*SnapshotServiceClient_Get_Call) Return added in v0.16.2

func (_c *SnapshotServiceClient_Get_Call) Return(response *connect.Response[apiv1.SnapshotServiceGetResponse], err error) *SnapshotServiceClient_Get_Call

func (*SnapshotServiceClient_Get_Call) Run added in v0.16.2

func (_c *SnapshotServiceClient_Get_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.SnapshotServiceGetRequest])) *SnapshotServiceClient_Get_Call

func (*SnapshotServiceClient_Get_Call) RunAndReturn added in v0.16.2

func (_c *SnapshotServiceClient_Get_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.SnapshotServiceGetRequest]) (*connect.Response[apiv1.SnapshotServiceGetResponse], error)) *SnapshotServiceClient_Get_Call

type SnapshotServiceClient_List_Call added in v0.16.2

type SnapshotServiceClient_List_Call struct {
	*mock.Call
}

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

func (*SnapshotServiceClient_List_Call) Return added in v0.16.2

func (_c *SnapshotServiceClient_List_Call) Return(response *connect.Response[apiv1.SnapshotServiceListResponse], err error) *SnapshotServiceClient_List_Call

func (*SnapshotServiceClient_List_Call) Run added in v0.16.2

func (_c *SnapshotServiceClient_List_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.SnapshotServiceListRequest])) *SnapshotServiceClient_List_Call

func (*SnapshotServiceClient_List_Call) RunAndReturn added in v0.16.2

func (_c *SnapshotServiceClient_List_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.SnapshotServiceListRequest]) (*connect.Response[apiv1.SnapshotServiceListResponse], error)) *SnapshotServiceClient_List_Call

type SnapshotServiceHandler

type SnapshotServiceHandler struct {
	mock.Mock
}

SnapshotServiceHandler is an autogenerated mock type for the SnapshotServiceHandler type

func NewSnapshotServiceHandler

func NewSnapshotServiceHandler(t interface {
	mock.TestingT
	Cleanup(func())
}) *SnapshotServiceHandler

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

func (_mock *SnapshotServiceHandler) Delete(context1 context.Context, request *connect.Request[apiv1.SnapshotServiceDeleteRequest]) (*connect.Response[apiv1.SnapshotServiceDeleteResponse], error)

Delete provides a mock function for the type SnapshotServiceHandler

func (*SnapshotServiceHandler) EXPECT added in v0.16.2

func (*SnapshotServiceHandler) Get

func (_mock *SnapshotServiceHandler) Get(context1 context.Context, request *connect.Request[apiv1.SnapshotServiceGetRequest]) (*connect.Response[apiv1.SnapshotServiceGetResponse], error)

Get provides a mock function for the type SnapshotServiceHandler

func (*SnapshotServiceHandler) List

func (_mock *SnapshotServiceHandler) List(context1 context.Context, request *connect.Request[apiv1.SnapshotServiceListRequest]) (*connect.Response[apiv1.SnapshotServiceListResponse], error)

List provides a mock function for the type SnapshotServiceHandler

type SnapshotServiceHandler_Delete_Call added in v0.16.2

type SnapshotServiceHandler_Delete_Call struct {
	*mock.Call
}

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

func (*SnapshotServiceHandler_Delete_Call) Return added in v0.16.2

func (_c *SnapshotServiceHandler_Delete_Call) Return(response *connect.Response[apiv1.SnapshotServiceDeleteResponse], err error) *SnapshotServiceHandler_Delete_Call

func (*SnapshotServiceHandler_Delete_Call) Run added in v0.16.2

func (_c *SnapshotServiceHandler_Delete_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.SnapshotServiceDeleteRequest])) *SnapshotServiceHandler_Delete_Call

func (*SnapshotServiceHandler_Delete_Call) RunAndReturn added in v0.16.2

func (_c *SnapshotServiceHandler_Delete_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.SnapshotServiceDeleteRequest]) (*connect.Response[apiv1.SnapshotServiceDeleteResponse], error)) *SnapshotServiceHandler_Delete_Call

type SnapshotServiceHandler_Expecter added in v0.16.2

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

func (*SnapshotServiceHandler_Expecter) Delete added in v0.16.2

func (_e *SnapshotServiceHandler_Expecter) Delete(context1 interface{}, request interface{}) *SnapshotServiceHandler_Delete_Call

Delete is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.SnapshotServiceDeleteRequest]

func (*SnapshotServiceHandler_Expecter) Get added in v0.16.2

func (_e *SnapshotServiceHandler_Expecter) Get(context1 interface{}, request interface{}) *SnapshotServiceHandler_Get_Call

Get is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.SnapshotServiceGetRequest]

func (*SnapshotServiceHandler_Expecter) List added in v0.16.2

func (_e *SnapshotServiceHandler_Expecter) List(context1 interface{}, request interface{}) *SnapshotServiceHandler_List_Call

List is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.SnapshotServiceListRequest]

type SnapshotServiceHandler_Get_Call added in v0.16.2

type SnapshotServiceHandler_Get_Call struct {
	*mock.Call
}

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

func (*SnapshotServiceHandler_Get_Call) Return added in v0.16.2

func (_c *SnapshotServiceHandler_Get_Call) Return(response *connect.Response[apiv1.SnapshotServiceGetResponse], err error) *SnapshotServiceHandler_Get_Call

func (*SnapshotServiceHandler_Get_Call) Run added in v0.16.2

func (_c *SnapshotServiceHandler_Get_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.SnapshotServiceGetRequest])) *SnapshotServiceHandler_Get_Call

func (*SnapshotServiceHandler_Get_Call) RunAndReturn added in v0.16.2

func (_c *SnapshotServiceHandler_Get_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.SnapshotServiceGetRequest]) (*connect.Response[apiv1.SnapshotServiceGetResponse], error)) *SnapshotServiceHandler_Get_Call

type SnapshotServiceHandler_List_Call added in v0.16.2

type SnapshotServiceHandler_List_Call struct {
	*mock.Call
}

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

func (*SnapshotServiceHandler_List_Call) Return added in v0.16.2

func (_c *SnapshotServiceHandler_List_Call) Return(response *connect.Response[apiv1.SnapshotServiceListResponse], err error) *SnapshotServiceHandler_List_Call

func (*SnapshotServiceHandler_List_Call) Run added in v0.16.2

func (_c *SnapshotServiceHandler_List_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.SnapshotServiceListRequest])) *SnapshotServiceHandler_List_Call

func (*SnapshotServiceHandler_List_Call) RunAndReturn added in v0.16.2

func (_c *SnapshotServiceHandler_List_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.SnapshotServiceListRequest]) (*connect.Response[apiv1.SnapshotServiceListResponse], error)) *SnapshotServiceHandler_List_Call

type TenantServiceClient

type TenantServiceClient struct {
	mock.Mock
}

TenantServiceClient is an autogenerated mock type for the TenantServiceClient type

func NewTenantServiceClient

func NewTenantServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *TenantServiceClient

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

func (_mock *TenantServiceClient) Create(context1 context.Context, request *connect.Request[apiv1.TenantServiceCreateRequest]) (*connect.Response[apiv1.TenantServiceCreateResponse], error)

Create provides a mock function for the type TenantServiceClient

func (*TenantServiceClient) Delete

func (_mock *TenantServiceClient) Delete(context1 context.Context, request *connect.Request[apiv1.TenantServiceDeleteRequest]) (*connect.Response[apiv1.TenantServiceDeleteResponse], error)

Delete provides a mock function for the type TenantServiceClient

func (*TenantServiceClient) EXPECT added in v0.16.2

func (*TenantServiceClient) Get

func (_mock *TenantServiceClient) Get(context1 context.Context, request *connect.Request[apiv1.TenantServiceGetRequest]) (*connect.Response[apiv1.TenantServiceGetResponse], error)

Get provides a mock function for the type TenantServiceClient

func (*TenantServiceClient) Invite added in v0.9.1

func (_mock *TenantServiceClient) Invite(context1 context.Context, request *connect.Request[apiv1.TenantServiceInviteRequest]) (*connect.Response[apiv1.TenantServiceInviteResponse], error)

Invite provides a mock function for the type TenantServiceClient

func (*TenantServiceClient) InviteAccept added in v0.9.1

func (_mock *TenantServiceClient) InviteAccept(context1 context.Context, request *connect.Request[apiv1.TenantServiceInviteAcceptRequest]) (*connect.Response[apiv1.TenantServiceInviteAcceptResponse], error)

InviteAccept provides a mock function for the type TenantServiceClient

func (*TenantServiceClient) InviteDelete added in v0.9.1

func (_mock *TenantServiceClient) InviteDelete(context1 context.Context, request *connect.Request[apiv1.TenantServiceInviteDeleteRequest]) (*connect.Response[apiv1.TenantServiceInviteDeleteResponse], error)

InviteDelete provides a mock function for the type TenantServiceClient

func (*TenantServiceClient) InviteGet added in v0.9.1

func (_mock *TenantServiceClient) InviteGet(context1 context.Context, request *connect.Request[apiv1.TenantServiceInviteGetRequest]) (*connect.Response[apiv1.TenantServiceInviteGetResponse], error)

InviteGet provides a mock function for the type TenantServiceClient

func (*TenantServiceClient) InvitesList added in v0.9.1

func (_mock *TenantServiceClient) InvitesList(context1 context.Context, request *connect.Request[apiv1.TenantServiceInvitesListRequest]) (*connect.Response[apiv1.TenantServiceInvitesListResponse], error)

InvitesList provides a mock function for the type TenantServiceClient

func (*TenantServiceClient) List added in v0.9.1

func (_mock *TenantServiceClient) List(context1 context.Context, request *connect.Request[apiv1.TenantServiceListRequest]) (*connect.Response[apiv1.TenantServiceListResponse], error)

List provides a mock function for the type TenantServiceClient

func (*TenantServiceClient) RemoveMember added in v0.9.1

func (_mock *TenantServiceClient) RemoveMember(context1 context.Context, request *connect.Request[apiv1.TenantServiceRemoveMemberRequest]) (*connect.Response[apiv1.TenantServiceRemoveMemberResponse], error)

RemoveMember provides a mock function for the type TenantServiceClient

func (*TenantServiceClient) RequestAdmission added in v0.15.0

func (_mock *TenantServiceClient) RequestAdmission(context1 context.Context, request *connect.Request[apiv1.TenantServiceRequestAdmissionRequest]) (*connect.Response[apiv1.TenantServiceRequestAdmissionResponse], error)

RequestAdmission provides a mock function for the type TenantServiceClient

func (*TenantServiceClient) Update

func (_mock *TenantServiceClient) Update(context1 context.Context, request *connect.Request[apiv1.TenantServiceUpdateRequest]) (*connect.Response[apiv1.TenantServiceUpdateResponse], error)

Update provides a mock function for the type TenantServiceClient

func (*TenantServiceClient) UpdateMember added in v0.9.1

func (_mock *TenantServiceClient) UpdateMember(context1 context.Context, request *connect.Request[apiv1.TenantServiceUpdateMemberRequest]) (*connect.Response[apiv1.TenantServiceUpdateMemberResponse], error)

UpdateMember provides a mock function for the type TenantServiceClient

type TenantServiceClient_Create_Call added in v0.16.2

type TenantServiceClient_Create_Call struct {
	*mock.Call
}

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

func (*TenantServiceClient_Create_Call) Return added in v0.16.2

func (_c *TenantServiceClient_Create_Call) Return(response *connect.Response[apiv1.TenantServiceCreateResponse], err error) *TenantServiceClient_Create_Call

func (*TenantServiceClient_Create_Call) Run added in v0.16.2

func (_c *TenantServiceClient_Create_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.TenantServiceCreateRequest])) *TenantServiceClient_Create_Call

func (*TenantServiceClient_Create_Call) RunAndReturn added in v0.16.2

func (_c *TenantServiceClient_Create_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.TenantServiceCreateRequest]) (*connect.Response[apiv1.TenantServiceCreateResponse], error)) *TenantServiceClient_Create_Call

type TenantServiceClient_Delete_Call added in v0.16.2

type TenantServiceClient_Delete_Call struct {
	*mock.Call
}

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

func (*TenantServiceClient_Delete_Call) Return added in v0.16.2

func (_c *TenantServiceClient_Delete_Call) Return(response *connect.Response[apiv1.TenantServiceDeleteResponse], err error) *TenantServiceClient_Delete_Call

func (*TenantServiceClient_Delete_Call) Run added in v0.16.2

func (_c *TenantServiceClient_Delete_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.TenantServiceDeleteRequest])) *TenantServiceClient_Delete_Call

func (*TenantServiceClient_Delete_Call) RunAndReturn added in v0.16.2

func (_c *TenantServiceClient_Delete_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.TenantServiceDeleteRequest]) (*connect.Response[apiv1.TenantServiceDeleteResponse], error)) *TenantServiceClient_Delete_Call

type TenantServiceClient_Expecter added in v0.16.2

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

func (*TenantServiceClient_Expecter) Create added in v0.16.2

func (_e *TenantServiceClient_Expecter) Create(context1 interface{}, request interface{}) *TenantServiceClient_Create_Call

Create is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.TenantServiceCreateRequest]

func (*TenantServiceClient_Expecter) Delete added in v0.16.2

func (_e *TenantServiceClient_Expecter) Delete(context1 interface{}, request interface{}) *TenantServiceClient_Delete_Call

Delete is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.TenantServiceDeleteRequest]

func (*TenantServiceClient_Expecter) Get added in v0.16.2

func (_e *TenantServiceClient_Expecter) Get(context1 interface{}, request interface{}) *TenantServiceClient_Get_Call

Get is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.TenantServiceGetRequest]

func (*TenantServiceClient_Expecter) Invite added in v0.16.2

func (_e *TenantServiceClient_Expecter) Invite(context1 interface{}, request interface{}) *TenantServiceClient_Invite_Call

Invite is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.TenantServiceInviteRequest]

func (*TenantServiceClient_Expecter) InviteAccept added in v0.16.2

func (_e *TenantServiceClient_Expecter) InviteAccept(context1 interface{}, request interface{}) *TenantServiceClient_InviteAccept_Call

InviteAccept is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.TenantServiceInviteAcceptRequest]

func (*TenantServiceClient_Expecter) InviteDelete added in v0.16.2

func (_e *TenantServiceClient_Expecter) InviteDelete(context1 interface{}, request interface{}) *TenantServiceClient_InviteDelete_Call

InviteDelete is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.TenantServiceInviteDeleteRequest]

func (*TenantServiceClient_Expecter) InviteGet added in v0.16.2

func (_e *TenantServiceClient_Expecter) InviteGet(context1 interface{}, request interface{}) *TenantServiceClient_InviteGet_Call

InviteGet is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.TenantServiceInviteGetRequest]

func (*TenantServiceClient_Expecter) InvitesList added in v0.16.2

func (_e *TenantServiceClient_Expecter) InvitesList(context1 interface{}, request interface{}) *TenantServiceClient_InvitesList_Call

InvitesList is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.TenantServiceInvitesListRequest]

func (*TenantServiceClient_Expecter) List added in v0.16.2

func (_e *TenantServiceClient_Expecter) List(context1 interface{}, request interface{}) *TenantServiceClient_List_Call

List is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.TenantServiceListRequest]

func (*TenantServiceClient_Expecter) RemoveMember added in v0.16.2

func (_e *TenantServiceClient_Expecter) RemoveMember(context1 interface{}, request interface{}) *TenantServiceClient_RemoveMember_Call

RemoveMember is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.TenantServiceRemoveMemberRequest]

func (*TenantServiceClient_Expecter) RequestAdmission added in v0.16.2

func (_e *TenantServiceClient_Expecter) RequestAdmission(context1 interface{}, request interface{}) *TenantServiceClient_RequestAdmission_Call

RequestAdmission is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.TenantServiceRequestAdmissionRequest]

func (*TenantServiceClient_Expecter) Update added in v0.16.2

func (_e *TenantServiceClient_Expecter) Update(context1 interface{}, request interface{}) *TenantServiceClient_Update_Call

Update is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.TenantServiceUpdateRequest]

func (*TenantServiceClient_Expecter) UpdateMember added in v0.16.2

func (_e *TenantServiceClient_Expecter) UpdateMember(context1 interface{}, request interface{}) *TenantServiceClient_UpdateMember_Call

UpdateMember is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.TenantServiceUpdateMemberRequest]

type TenantServiceClient_Get_Call added in v0.16.2

type TenantServiceClient_Get_Call struct {
	*mock.Call
}

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

func (*TenantServiceClient_Get_Call) Return added in v0.16.2

func (_c *TenantServiceClient_Get_Call) Return(response *connect.Response[apiv1.TenantServiceGetResponse], err error) *TenantServiceClient_Get_Call

func (*TenantServiceClient_Get_Call) Run added in v0.16.2

func (_c *TenantServiceClient_Get_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.TenantServiceGetRequest])) *TenantServiceClient_Get_Call

func (*TenantServiceClient_Get_Call) RunAndReturn added in v0.16.2

func (_c *TenantServiceClient_Get_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.TenantServiceGetRequest]) (*connect.Response[apiv1.TenantServiceGetResponse], error)) *TenantServiceClient_Get_Call

type TenantServiceClient_InviteAccept_Call added in v0.16.2

type TenantServiceClient_InviteAccept_Call struct {
	*mock.Call
}

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

func (*TenantServiceClient_InviteAccept_Call) Return added in v0.16.2

func (_c *TenantServiceClient_InviteAccept_Call) Return(response *connect.Response[apiv1.TenantServiceInviteAcceptResponse], err error) *TenantServiceClient_InviteAccept_Call

func (*TenantServiceClient_InviteAccept_Call) Run added in v0.16.2

func (_c *TenantServiceClient_InviteAccept_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.TenantServiceInviteAcceptRequest])) *TenantServiceClient_InviteAccept_Call

func (*TenantServiceClient_InviteAccept_Call) RunAndReturn added in v0.16.2

func (_c *TenantServiceClient_InviteAccept_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.TenantServiceInviteAcceptRequest]) (*connect.Response[apiv1.TenantServiceInviteAcceptResponse], error)) *TenantServiceClient_InviteAccept_Call

type TenantServiceClient_InviteDelete_Call added in v0.16.2

type TenantServiceClient_InviteDelete_Call struct {
	*mock.Call
}

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

func (*TenantServiceClient_InviteDelete_Call) Return added in v0.16.2

func (_c *TenantServiceClient_InviteDelete_Call) Return(response *connect.Response[apiv1.TenantServiceInviteDeleteResponse], err error) *TenantServiceClient_InviteDelete_Call

func (*TenantServiceClient_InviteDelete_Call) Run added in v0.16.2

func (_c *TenantServiceClient_InviteDelete_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.TenantServiceInviteDeleteRequest])) *TenantServiceClient_InviteDelete_Call

func (*TenantServiceClient_InviteDelete_Call) RunAndReturn added in v0.16.2

func (_c *TenantServiceClient_InviteDelete_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.TenantServiceInviteDeleteRequest]) (*connect.Response[apiv1.TenantServiceInviteDeleteResponse], error)) *TenantServiceClient_InviteDelete_Call

type TenantServiceClient_InviteGet_Call added in v0.16.2

type TenantServiceClient_InviteGet_Call struct {
	*mock.Call
}

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

func (*TenantServiceClient_InviteGet_Call) Return added in v0.16.2

func (_c *TenantServiceClient_InviteGet_Call) Return(response *connect.Response[apiv1.TenantServiceInviteGetResponse], err error) *TenantServiceClient_InviteGet_Call

func (*TenantServiceClient_InviteGet_Call) Run added in v0.16.2

func (_c *TenantServiceClient_InviteGet_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.TenantServiceInviteGetRequest])) *TenantServiceClient_InviteGet_Call

func (*TenantServiceClient_InviteGet_Call) RunAndReturn added in v0.16.2

func (_c *TenantServiceClient_InviteGet_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.TenantServiceInviteGetRequest]) (*connect.Response[apiv1.TenantServiceInviteGetResponse], error)) *TenantServiceClient_InviteGet_Call

type TenantServiceClient_Invite_Call added in v0.16.2

type TenantServiceClient_Invite_Call struct {
	*mock.Call
}

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

func (*TenantServiceClient_Invite_Call) Return added in v0.16.2

func (_c *TenantServiceClient_Invite_Call) Return(response *connect.Response[apiv1.TenantServiceInviteResponse], err error) *TenantServiceClient_Invite_Call

func (*TenantServiceClient_Invite_Call) Run added in v0.16.2

func (_c *TenantServiceClient_Invite_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.TenantServiceInviteRequest])) *TenantServiceClient_Invite_Call

func (*TenantServiceClient_Invite_Call) RunAndReturn added in v0.16.2

func (_c *TenantServiceClient_Invite_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.TenantServiceInviteRequest]) (*connect.Response[apiv1.TenantServiceInviteResponse], error)) *TenantServiceClient_Invite_Call

type TenantServiceClient_InvitesList_Call added in v0.16.2

type TenantServiceClient_InvitesList_Call struct {
	*mock.Call
}

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

func (*TenantServiceClient_InvitesList_Call) Return added in v0.16.2

func (_c *TenantServiceClient_InvitesList_Call) Return(response *connect.Response[apiv1.TenantServiceInvitesListResponse], err error) *TenantServiceClient_InvitesList_Call

func (*TenantServiceClient_InvitesList_Call) Run added in v0.16.2

func (_c *TenantServiceClient_InvitesList_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.TenantServiceInvitesListRequest])) *TenantServiceClient_InvitesList_Call

func (*TenantServiceClient_InvitesList_Call) RunAndReturn added in v0.16.2

func (_c *TenantServiceClient_InvitesList_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.TenantServiceInvitesListRequest]) (*connect.Response[apiv1.TenantServiceInvitesListResponse], error)) *TenantServiceClient_InvitesList_Call

type TenantServiceClient_List_Call added in v0.16.2

type TenantServiceClient_List_Call struct {
	*mock.Call
}

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

func (*TenantServiceClient_List_Call) Return added in v0.16.2

func (_c *TenantServiceClient_List_Call) Return(response *connect.Response[apiv1.TenantServiceListResponse], err error) *TenantServiceClient_List_Call

func (*TenantServiceClient_List_Call) Run added in v0.16.2

func (_c *TenantServiceClient_List_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.TenantServiceListRequest])) *TenantServiceClient_List_Call

func (*TenantServiceClient_List_Call) RunAndReturn added in v0.16.2

func (_c *TenantServiceClient_List_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.TenantServiceListRequest]) (*connect.Response[apiv1.TenantServiceListResponse], error)) *TenantServiceClient_List_Call

type TenantServiceClient_RemoveMember_Call added in v0.16.2

type TenantServiceClient_RemoveMember_Call struct {
	*mock.Call
}

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

func (*TenantServiceClient_RemoveMember_Call) Return added in v0.16.2

func (_c *TenantServiceClient_RemoveMember_Call) Return(response *connect.Response[apiv1.TenantServiceRemoveMemberResponse], err error) *TenantServiceClient_RemoveMember_Call

func (*TenantServiceClient_RemoveMember_Call) Run added in v0.16.2

func (_c *TenantServiceClient_RemoveMember_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.TenantServiceRemoveMemberRequest])) *TenantServiceClient_RemoveMember_Call

func (*TenantServiceClient_RemoveMember_Call) RunAndReturn added in v0.16.2

func (_c *TenantServiceClient_RemoveMember_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.TenantServiceRemoveMemberRequest]) (*connect.Response[apiv1.TenantServiceRemoveMemberResponse], error)) *TenantServiceClient_RemoveMember_Call

type TenantServiceClient_RequestAdmission_Call added in v0.16.2

type TenantServiceClient_RequestAdmission_Call struct {
	*mock.Call
}

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

func (*TenantServiceClient_RequestAdmission_Call) Return added in v0.16.2

func (_c *TenantServiceClient_RequestAdmission_Call) Return(response *connect.Response[apiv1.TenantServiceRequestAdmissionResponse], err error) *TenantServiceClient_RequestAdmission_Call

func (*TenantServiceClient_RequestAdmission_Call) Run added in v0.16.2

func (_c *TenantServiceClient_RequestAdmission_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.TenantServiceRequestAdmissionRequest])) *TenantServiceClient_RequestAdmission_Call

func (*TenantServiceClient_RequestAdmission_Call) RunAndReturn added in v0.16.2

func (_c *TenantServiceClient_RequestAdmission_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.TenantServiceRequestAdmissionRequest]) (*connect.Response[apiv1.TenantServiceRequestAdmissionResponse], error)) *TenantServiceClient_RequestAdmission_Call

type TenantServiceClient_UpdateMember_Call added in v0.16.2

type TenantServiceClient_UpdateMember_Call struct {
	*mock.Call
}

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

func (*TenantServiceClient_UpdateMember_Call) Return added in v0.16.2

func (_c *TenantServiceClient_UpdateMember_Call) Return(response *connect.Response[apiv1.TenantServiceUpdateMemberResponse], err error) *TenantServiceClient_UpdateMember_Call

func (*TenantServiceClient_UpdateMember_Call) Run added in v0.16.2

func (_c *TenantServiceClient_UpdateMember_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.TenantServiceUpdateMemberRequest])) *TenantServiceClient_UpdateMember_Call

func (*TenantServiceClient_UpdateMember_Call) RunAndReturn added in v0.16.2

func (_c *TenantServiceClient_UpdateMember_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.TenantServiceUpdateMemberRequest]) (*connect.Response[apiv1.TenantServiceUpdateMemberResponse], error)) *TenantServiceClient_UpdateMember_Call

type TenantServiceClient_Update_Call added in v0.16.2

type TenantServiceClient_Update_Call struct {
	*mock.Call
}

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

func (*TenantServiceClient_Update_Call) Return added in v0.16.2

func (_c *TenantServiceClient_Update_Call) Return(response *connect.Response[apiv1.TenantServiceUpdateResponse], err error) *TenantServiceClient_Update_Call

func (*TenantServiceClient_Update_Call) Run added in v0.16.2

func (_c *TenantServiceClient_Update_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.TenantServiceUpdateRequest])) *TenantServiceClient_Update_Call

func (*TenantServiceClient_Update_Call) RunAndReturn added in v0.16.2

func (_c *TenantServiceClient_Update_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.TenantServiceUpdateRequest]) (*connect.Response[apiv1.TenantServiceUpdateResponse], error)) *TenantServiceClient_Update_Call

type TenantServiceHandler

type TenantServiceHandler struct {
	mock.Mock
}

TenantServiceHandler is an autogenerated mock type for the TenantServiceHandler type

func NewTenantServiceHandler

func NewTenantServiceHandler(t interface {
	mock.TestingT
	Cleanup(func())
}) *TenantServiceHandler

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

func (_mock *TenantServiceHandler) Create(context1 context.Context, request *connect.Request[apiv1.TenantServiceCreateRequest]) (*connect.Response[apiv1.TenantServiceCreateResponse], error)

Create provides a mock function for the type TenantServiceHandler

func (*TenantServiceHandler) Delete

func (_mock *TenantServiceHandler) Delete(context1 context.Context, request *connect.Request[apiv1.TenantServiceDeleteRequest]) (*connect.Response[apiv1.TenantServiceDeleteResponse], error)

Delete provides a mock function for the type TenantServiceHandler

func (*TenantServiceHandler) EXPECT added in v0.16.2

func (*TenantServiceHandler) Get

func (_mock *TenantServiceHandler) Get(context1 context.Context, request *connect.Request[apiv1.TenantServiceGetRequest]) (*connect.Response[apiv1.TenantServiceGetResponse], error)

Get provides a mock function for the type TenantServiceHandler

func (*TenantServiceHandler) Invite added in v0.9.1

func (_mock *TenantServiceHandler) Invite(context1 context.Context, request *connect.Request[apiv1.TenantServiceInviteRequest]) (*connect.Response[apiv1.TenantServiceInviteResponse], error)

Invite provides a mock function for the type TenantServiceHandler

func (*TenantServiceHandler) InviteAccept added in v0.9.1

func (_mock *TenantServiceHandler) InviteAccept(context1 context.Context, request *connect.Request[apiv1.TenantServiceInviteAcceptRequest]) (*connect.Response[apiv1.TenantServiceInviteAcceptResponse], error)

InviteAccept provides a mock function for the type TenantServiceHandler

func (*TenantServiceHandler) InviteDelete added in v0.9.1

func (_mock *TenantServiceHandler) InviteDelete(context1 context.Context, request *connect.Request[apiv1.TenantServiceInviteDeleteRequest]) (*connect.Response[apiv1.TenantServiceInviteDeleteResponse], error)

InviteDelete provides a mock function for the type TenantServiceHandler

func (*TenantServiceHandler) InviteGet added in v0.9.1

func (_mock *TenantServiceHandler) InviteGet(context1 context.Context, request *connect.Request[apiv1.TenantServiceInviteGetRequest]) (*connect.Response[apiv1.TenantServiceInviteGetResponse], error)

InviteGet provides a mock function for the type TenantServiceHandler

func (*TenantServiceHandler) InvitesList added in v0.9.1

func (_mock *TenantServiceHandler) InvitesList(context1 context.Context, request *connect.Request[apiv1.TenantServiceInvitesListRequest]) (*connect.Response[apiv1.TenantServiceInvitesListResponse], error)

InvitesList provides a mock function for the type TenantServiceHandler

func (*TenantServiceHandler) List added in v0.9.1

func (_mock *TenantServiceHandler) List(context1 context.Context, request *connect.Request[apiv1.TenantServiceListRequest]) (*connect.Response[apiv1.TenantServiceListResponse], error)

List provides a mock function for the type TenantServiceHandler

func (*TenantServiceHandler) RemoveMember added in v0.9.1

func (_mock *TenantServiceHandler) RemoveMember(context1 context.Context, request *connect.Request[apiv1.TenantServiceRemoveMemberRequest]) (*connect.Response[apiv1.TenantServiceRemoveMemberResponse], error)

RemoveMember provides a mock function for the type TenantServiceHandler

func (*TenantServiceHandler) RequestAdmission added in v0.15.0

func (_mock *TenantServiceHandler) RequestAdmission(context1 context.Context, request *connect.Request[apiv1.TenantServiceRequestAdmissionRequest]) (*connect.Response[apiv1.TenantServiceRequestAdmissionResponse], error)

RequestAdmission provides a mock function for the type TenantServiceHandler

func (*TenantServiceHandler) Update

func (_mock *TenantServiceHandler) Update(context1 context.Context, request *connect.Request[apiv1.TenantServiceUpdateRequest]) (*connect.Response[apiv1.TenantServiceUpdateResponse], error)

Update provides a mock function for the type TenantServiceHandler

func (*TenantServiceHandler) UpdateMember added in v0.9.1

func (_mock *TenantServiceHandler) UpdateMember(context1 context.Context, request *connect.Request[apiv1.TenantServiceUpdateMemberRequest]) (*connect.Response[apiv1.TenantServiceUpdateMemberResponse], error)

UpdateMember provides a mock function for the type TenantServiceHandler

type TenantServiceHandler_Create_Call added in v0.16.2

type TenantServiceHandler_Create_Call struct {
	*mock.Call
}

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

func (*TenantServiceHandler_Create_Call) Return added in v0.16.2

func (_c *TenantServiceHandler_Create_Call) Return(response *connect.Response[apiv1.TenantServiceCreateResponse], err error) *TenantServiceHandler_Create_Call

func (*TenantServiceHandler_Create_Call) Run added in v0.16.2

func (_c *TenantServiceHandler_Create_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.TenantServiceCreateRequest])) *TenantServiceHandler_Create_Call

func (*TenantServiceHandler_Create_Call) RunAndReturn added in v0.16.2

func (_c *TenantServiceHandler_Create_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.TenantServiceCreateRequest]) (*connect.Response[apiv1.TenantServiceCreateResponse], error)) *TenantServiceHandler_Create_Call

type TenantServiceHandler_Delete_Call added in v0.16.2

type TenantServiceHandler_Delete_Call struct {
	*mock.Call
}

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

func (*TenantServiceHandler_Delete_Call) Return added in v0.16.2

func (_c *TenantServiceHandler_Delete_Call) Return(response *connect.Response[apiv1.TenantServiceDeleteResponse], err error) *TenantServiceHandler_Delete_Call

func (*TenantServiceHandler_Delete_Call) Run added in v0.16.2

func (_c *TenantServiceHandler_Delete_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.TenantServiceDeleteRequest])) *TenantServiceHandler_Delete_Call

func (*TenantServiceHandler_Delete_Call) RunAndReturn added in v0.16.2

func (_c *TenantServiceHandler_Delete_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.TenantServiceDeleteRequest]) (*connect.Response[apiv1.TenantServiceDeleteResponse], error)) *TenantServiceHandler_Delete_Call

type TenantServiceHandler_Expecter added in v0.16.2

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

func (*TenantServiceHandler_Expecter) Create added in v0.16.2

func (_e *TenantServiceHandler_Expecter) Create(context1 interface{}, request interface{}) *TenantServiceHandler_Create_Call

Create is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.TenantServiceCreateRequest]

func (*TenantServiceHandler_Expecter) Delete added in v0.16.2

func (_e *TenantServiceHandler_Expecter) Delete(context1 interface{}, request interface{}) *TenantServiceHandler_Delete_Call

Delete is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.TenantServiceDeleteRequest]

func (*TenantServiceHandler_Expecter) Get added in v0.16.2

func (_e *TenantServiceHandler_Expecter) Get(context1 interface{}, request interface{}) *TenantServiceHandler_Get_Call

Get is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.TenantServiceGetRequest]

func (*TenantServiceHandler_Expecter) Invite added in v0.16.2

func (_e *TenantServiceHandler_Expecter) Invite(context1 interface{}, request interface{}) *TenantServiceHandler_Invite_Call

Invite is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.TenantServiceInviteRequest]

func (*TenantServiceHandler_Expecter) InviteAccept added in v0.16.2

func (_e *TenantServiceHandler_Expecter) InviteAccept(context1 interface{}, request interface{}) *TenantServiceHandler_InviteAccept_Call

InviteAccept is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.TenantServiceInviteAcceptRequest]

func (*TenantServiceHandler_Expecter) InviteDelete added in v0.16.2

func (_e *TenantServiceHandler_Expecter) InviteDelete(context1 interface{}, request interface{}) *TenantServiceHandler_InviteDelete_Call

InviteDelete is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.TenantServiceInviteDeleteRequest]

func (*TenantServiceHandler_Expecter) InviteGet added in v0.16.2

func (_e *TenantServiceHandler_Expecter) InviteGet(context1 interface{}, request interface{}) *TenantServiceHandler_InviteGet_Call

InviteGet is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.TenantServiceInviteGetRequest]

func (*TenantServiceHandler_Expecter) InvitesList added in v0.16.2

func (_e *TenantServiceHandler_Expecter) InvitesList(context1 interface{}, request interface{}) *TenantServiceHandler_InvitesList_Call

InvitesList is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.TenantServiceInvitesListRequest]

func (*TenantServiceHandler_Expecter) List added in v0.16.2

func (_e *TenantServiceHandler_Expecter) List(context1 interface{}, request interface{}) *TenantServiceHandler_List_Call

List is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.TenantServiceListRequest]

func (*TenantServiceHandler_Expecter) RemoveMember added in v0.16.2

func (_e *TenantServiceHandler_Expecter) RemoveMember(context1 interface{}, request interface{}) *TenantServiceHandler_RemoveMember_Call

RemoveMember is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.TenantServiceRemoveMemberRequest]

func (*TenantServiceHandler_Expecter) RequestAdmission added in v0.16.2

func (_e *TenantServiceHandler_Expecter) RequestAdmission(context1 interface{}, request interface{}) *TenantServiceHandler_RequestAdmission_Call

RequestAdmission is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.TenantServiceRequestAdmissionRequest]

func (*TenantServiceHandler_Expecter) Update added in v0.16.2

func (_e *TenantServiceHandler_Expecter) Update(context1 interface{}, request interface{}) *TenantServiceHandler_Update_Call

Update is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.TenantServiceUpdateRequest]

func (*TenantServiceHandler_Expecter) UpdateMember added in v0.16.2

func (_e *TenantServiceHandler_Expecter) UpdateMember(context1 interface{}, request interface{}) *TenantServiceHandler_UpdateMember_Call

UpdateMember is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.TenantServiceUpdateMemberRequest]

type TenantServiceHandler_Get_Call added in v0.16.2

type TenantServiceHandler_Get_Call struct {
	*mock.Call
}

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

func (*TenantServiceHandler_Get_Call) Return added in v0.16.2

func (_c *TenantServiceHandler_Get_Call) Return(response *connect.Response[apiv1.TenantServiceGetResponse], err error) *TenantServiceHandler_Get_Call

func (*TenantServiceHandler_Get_Call) Run added in v0.16.2

func (_c *TenantServiceHandler_Get_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.TenantServiceGetRequest])) *TenantServiceHandler_Get_Call

func (*TenantServiceHandler_Get_Call) RunAndReturn added in v0.16.2

func (_c *TenantServiceHandler_Get_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.TenantServiceGetRequest]) (*connect.Response[apiv1.TenantServiceGetResponse], error)) *TenantServiceHandler_Get_Call

type TenantServiceHandler_InviteAccept_Call added in v0.16.2

type TenantServiceHandler_InviteAccept_Call struct {
	*mock.Call
}

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

func (*TenantServiceHandler_InviteAccept_Call) Return added in v0.16.2

func (_c *TenantServiceHandler_InviteAccept_Call) Return(response *connect.Response[apiv1.TenantServiceInviteAcceptResponse], err error) *TenantServiceHandler_InviteAccept_Call

func (*TenantServiceHandler_InviteAccept_Call) Run added in v0.16.2

func (_c *TenantServiceHandler_InviteAccept_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.TenantServiceInviteAcceptRequest])) *TenantServiceHandler_InviteAccept_Call

func (*TenantServiceHandler_InviteAccept_Call) RunAndReturn added in v0.16.2

func (_c *TenantServiceHandler_InviteAccept_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.TenantServiceInviteAcceptRequest]) (*connect.Response[apiv1.TenantServiceInviteAcceptResponse], error)) *TenantServiceHandler_InviteAccept_Call

type TenantServiceHandler_InviteDelete_Call added in v0.16.2

type TenantServiceHandler_InviteDelete_Call struct {
	*mock.Call
}

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

func (*TenantServiceHandler_InviteDelete_Call) Return added in v0.16.2

func (_c *TenantServiceHandler_InviteDelete_Call) Return(response *connect.Response[apiv1.TenantServiceInviteDeleteResponse], err error) *TenantServiceHandler_InviteDelete_Call

func (*TenantServiceHandler_InviteDelete_Call) Run added in v0.16.2

func (_c *TenantServiceHandler_InviteDelete_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.TenantServiceInviteDeleteRequest])) *TenantServiceHandler_InviteDelete_Call

func (*TenantServiceHandler_InviteDelete_Call) RunAndReturn added in v0.16.2

func (_c *TenantServiceHandler_InviteDelete_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.TenantServiceInviteDeleteRequest]) (*connect.Response[apiv1.TenantServiceInviteDeleteResponse], error)) *TenantServiceHandler_InviteDelete_Call

type TenantServiceHandler_InviteGet_Call added in v0.16.2

type TenantServiceHandler_InviteGet_Call struct {
	*mock.Call
}

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

func (*TenantServiceHandler_InviteGet_Call) Return added in v0.16.2

func (_c *TenantServiceHandler_InviteGet_Call) Return(response *connect.Response[apiv1.TenantServiceInviteGetResponse], err error) *TenantServiceHandler_InviteGet_Call

func (*TenantServiceHandler_InviteGet_Call) Run added in v0.16.2

func (_c *TenantServiceHandler_InviteGet_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.TenantServiceInviteGetRequest])) *TenantServiceHandler_InviteGet_Call

func (*TenantServiceHandler_InviteGet_Call) RunAndReturn added in v0.16.2

func (_c *TenantServiceHandler_InviteGet_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.TenantServiceInviteGetRequest]) (*connect.Response[apiv1.TenantServiceInviteGetResponse], error)) *TenantServiceHandler_InviteGet_Call

type TenantServiceHandler_Invite_Call added in v0.16.2

type TenantServiceHandler_Invite_Call struct {
	*mock.Call
}

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

func (*TenantServiceHandler_Invite_Call) Return added in v0.16.2

func (_c *TenantServiceHandler_Invite_Call) Return(response *connect.Response[apiv1.TenantServiceInviteResponse], err error) *TenantServiceHandler_Invite_Call

func (*TenantServiceHandler_Invite_Call) Run added in v0.16.2

func (_c *TenantServiceHandler_Invite_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.TenantServiceInviteRequest])) *TenantServiceHandler_Invite_Call

func (*TenantServiceHandler_Invite_Call) RunAndReturn added in v0.16.2

func (_c *TenantServiceHandler_Invite_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.TenantServiceInviteRequest]) (*connect.Response[apiv1.TenantServiceInviteResponse], error)) *TenantServiceHandler_Invite_Call

type TenantServiceHandler_InvitesList_Call added in v0.16.2

type TenantServiceHandler_InvitesList_Call struct {
	*mock.Call
}

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

func (*TenantServiceHandler_InvitesList_Call) Return added in v0.16.2

func (_c *TenantServiceHandler_InvitesList_Call) Return(response *connect.Response[apiv1.TenantServiceInvitesListResponse], err error) *TenantServiceHandler_InvitesList_Call

func (*TenantServiceHandler_InvitesList_Call) Run added in v0.16.2

func (_c *TenantServiceHandler_InvitesList_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.TenantServiceInvitesListRequest])) *TenantServiceHandler_InvitesList_Call

func (*TenantServiceHandler_InvitesList_Call) RunAndReturn added in v0.16.2

func (_c *TenantServiceHandler_InvitesList_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.TenantServiceInvitesListRequest]) (*connect.Response[apiv1.TenantServiceInvitesListResponse], error)) *TenantServiceHandler_InvitesList_Call

type TenantServiceHandler_List_Call added in v0.16.2

type TenantServiceHandler_List_Call struct {
	*mock.Call
}

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

func (*TenantServiceHandler_List_Call) Return added in v0.16.2

func (_c *TenantServiceHandler_List_Call) Return(response *connect.Response[apiv1.TenantServiceListResponse], err error) *TenantServiceHandler_List_Call

func (*TenantServiceHandler_List_Call) Run added in v0.16.2

func (_c *TenantServiceHandler_List_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.TenantServiceListRequest])) *TenantServiceHandler_List_Call

func (*TenantServiceHandler_List_Call) RunAndReturn added in v0.16.2

func (_c *TenantServiceHandler_List_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.TenantServiceListRequest]) (*connect.Response[apiv1.TenantServiceListResponse], error)) *TenantServiceHandler_List_Call

type TenantServiceHandler_RemoveMember_Call added in v0.16.2

type TenantServiceHandler_RemoveMember_Call struct {
	*mock.Call
}

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

func (*TenantServiceHandler_RemoveMember_Call) Return added in v0.16.2

func (_c *TenantServiceHandler_RemoveMember_Call) Return(response *connect.Response[apiv1.TenantServiceRemoveMemberResponse], err error) *TenantServiceHandler_RemoveMember_Call

func (*TenantServiceHandler_RemoveMember_Call) Run added in v0.16.2

func (_c *TenantServiceHandler_RemoveMember_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.TenantServiceRemoveMemberRequest])) *TenantServiceHandler_RemoveMember_Call

func (*TenantServiceHandler_RemoveMember_Call) RunAndReturn added in v0.16.2

func (_c *TenantServiceHandler_RemoveMember_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.TenantServiceRemoveMemberRequest]) (*connect.Response[apiv1.TenantServiceRemoveMemberResponse], error)) *TenantServiceHandler_RemoveMember_Call

type TenantServiceHandler_RequestAdmission_Call added in v0.16.2

type TenantServiceHandler_RequestAdmission_Call struct {
	*mock.Call
}

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

func (*TenantServiceHandler_RequestAdmission_Call) Return added in v0.16.2

func (_c *TenantServiceHandler_RequestAdmission_Call) Return(response *connect.Response[apiv1.TenantServiceRequestAdmissionResponse], err error) *TenantServiceHandler_RequestAdmission_Call

func (*TenantServiceHandler_RequestAdmission_Call) Run added in v0.16.2

func (_c *TenantServiceHandler_RequestAdmission_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.TenantServiceRequestAdmissionRequest])) *TenantServiceHandler_RequestAdmission_Call

func (*TenantServiceHandler_RequestAdmission_Call) RunAndReturn added in v0.16.2

func (_c *TenantServiceHandler_RequestAdmission_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.TenantServiceRequestAdmissionRequest]) (*connect.Response[apiv1.TenantServiceRequestAdmissionResponse], error)) *TenantServiceHandler_RequestAdmission_Call

type TenantServiceHandler_UpdateMember_Call added in v0.16.2

type TenantServiceHandler_UpdateMember_Call struct {
	*mock.Call
}

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

func (*TenantServiceHandler_UpdateMember_Call) Return added in v0.16.2

func (_c *TenantServiceHandler_UpdateMember_Call) Return(response *connect.Response[apiv1.TenantServiceUpdateMemberResponse], err error) *TenantServiceHandler_UpdateMember_Call

func (*TenantServiceHandler_UpdateMember_Call) Run added in v0.16.2

func (_c *TenantServiceHandler_UpdateMember_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.TenantServiceUpdateMemberRequest])) *TenantServiceHandler_UpdateMember_Call

func (*TenantServiceHandler_UpdateMember_Call) RunAndReturn added in v0.16.2

func (_c *TenantServiceHandler_UpdateMember_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.TenantServiceUpdateMemberRequest]) (*connect.Response[apiv1.TenantServiceUpdateMemberResponse], error)) *TenantServiceHandler_UpdateMember_Call

type TenantServiceHandler_Update_Call added in v0.16.2

type TenantServiceHandler_Update_Call struct {
	*mock.Call
}

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

func (*TenantServiceHandler_Update_Call) Return added in v0.16.2

func (_c *TenantServiceHandler_Update_Call) Return(response *connect.Response[apiv1.TenantServiceUpdateResponse], err error) *TenantServiceHandler_Update_Call

func (*TenantServiceHandler_Update_Call) Run added in v0.16.2

func (_c *TenantServiceHandler_Update_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.TenantServiceUpdateRequest])) *TenantServiceHandler_Update_Call

func (*TenantServiceHandler_Update_Call) RunAndReturn added in v0.16.2

func (_c *TenantServiceHandler_Update_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.TenantServiceUpdateRequest]) (*connect.Response[apiv1.TenantServiceUpdateResponse], error)) *TenantServiceHandler_Update_Call

type TokenServiceClient

type TokenServiceClient struct {
	mock.Mock
}

TokenServiceClient is an autogenerated mock type for the TokenServiceClient type

func NewTokenServiceClient

func NewTokenServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *TokenServiceClient

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

func (_mock *TokenServiceClient) Create(context1 context.Context, request *connect.Request[apiv1.TokenServiceCreateRequest]) (*connect.Response[apiv1.TokenServiceCreateResponse], error)

Create provides a mock function for the type TokenServiceClient

func (*TokenServiceClient) EXPECT added in v0.16.2

func (*TokenServiceClient) Get added in v0.10.7

func (_mock *TokenServiceClient) Get(context1 context.Context, request *connect.Request[apiv1.TokenServiceGetRequest]) (*connect.Response[apiv1.TokenServiceGetResponse], error)

Get provides a mock function for the type TokenServiceClient

func (*TokenServiceClient) List

func (_mock *TokenServiceClient) List(context1 context.Context, request *connect.Request[apiv1.TokenServiceListRequest]) (*connect.Response[apiv1.TokenServiceListResponse], error)

List provides a mock function for the type TokenServiceClient

func (*TokenServiceClient) Revoke

func (_mock *TokenServiceClient) Revoke(context1 context.Context, request *connect.Request[apiv1.TokenServiceRevokeRequest]) (*connect.Response[apiv1.TokenServiceRevokeResponse], error)

Revoke provides a mock function for the type TokenServiceClient

func (*TokenServiceClient) Update added in v0.10.7

func (_mock *TokenServiceClient) Update(context1 context.Context, request *connect.Request[apiv1.TokenServiceUpdateRequest]) (*connect.Response[apiv1.TokenServiceUpdateResponse], error)

Update provides a mock function for the type TokenServiceClient

type TokenServiceClient_Create_Call added in v0.16.2

type TokenServiceClient_Create_Call struct {
	*mock.Call
}

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

func (*TokenServiceClient_Create_Call) Return added in v0.16.2

func (_c *TokenServiceClient_Create_Call) Return(response *connect.Response[apiv1.TokenServiceCreateResponse], err error) *TokenServiceClient_Create_Call

func (*TokenServiceClient_Create_Call) Run added in v0.16.2

func (_c *TokenServiceClient_Create_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.TokenServiceCreateRequest])) *TokenServiceClient_Create_Call

func (*TokenServiceClient_Create_Call) RunAndReturn added in v0.16.2

func (_c *TokenServiceClient_Create_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.TokenServiceCreateRequest]) (*connect.Response[apiv1.TokenServiceCreateResponse], error)) *TokenServiceClient_Create_Call

type TokenServiceClient_Expecter added in v0.16.2

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

func (*TokenServiceClient_Expecter) Create added in v0.16.2

func (_e *TokenServiceClient_Expecter) Create(context1 interface{}, request interface{}) *TokenServiceClient_Create_Call

Create is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.TokenServiceCreateRequest]

func (*TokenServiceClient_Expecter) Get added in v0.16.2

func (_e *TokenServiceClient_Expecter) Get(context1 interface{}, request interface{}) *TokenServiceClient_Get_Call

Get is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.TokenServiceGetRequest]

func (*TokenServiceClient_Expecter) List added in v0.16.2

func (_e *TokenServiceClient_Expecter) List(context1 interface{}, request interface{}) *TokenServiceClient_List_Call

List is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.TokenServiceListRequest]

func (*TokenServiceClient_Expecter) Revoke added in v0.16.2

func (_e *TokenServiceClient_Expecter) Revoke(context1 interface{}, request interface{}) *TokenServiceClient_Revoke_Call

Revoke is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.TokenServiceRevokeRequest]

func (*TokenServiceClient_Expecter) Update added in v0.16.2

func (_e *TokenServiceClient_Expecter) Update(context1 interface{}, request interface{}) *TokenServiceClient_Update_Call

Update is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.TokenServiceUpdateRequest]

type TokenServiceClient_Get_Call added in v0.16.2

type TokenServiceClient_Get_Call struct {
	*mock.Call
}

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

func (*TokenServiceClient_Get_Call) Return added in v0.16.2

func (_c *TokenServiceClient_Get_Call) Return(response *connect.Response[apiv1.TokenServiceGetResponse], err error) *TokenServiceClient_Get_Call

func (*TokenServiceClient_Get_Call) Run added in v0.16.2

func (_c *TokenServiceClient_Get_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.TokenServiceGetRequest])) *TokenServiceClient_Get_Call

func (*TokenServiceClient_Get_Call) RunAndReturn added in v0.16.2

func (_c *TokenServiceClient_Get_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.TokenServiceGetRequest]) (*connect.Response[apiv1.TokenServiceGetResponse], error)) *TokenServiceClient_Get_Call

type TokenServiceClient_List_Call added in v0.16.2

type TokenServiceClient_List_Call struct {
	*mock.Call
}

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

func (*TokenServiceClient_List_Call) Return added in v0.16.2

func (_c *TokenServiceClient_List_Call) Return(response *connect.Response[apiv1.TokenServiceListResponse], err error) *TokenServiceClient_List_Call

func (*TokenServiceClient_List_Call) Run added in v0.16.2

func (_c *TokenServiceClient_List_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.TokenServiceListRequest])) *TokenServiceClient_List_Call

func (*TokenServiceClient_List_Call) RunAndReturn added in v0.16.2

func (_c *TokenServiceClient_List_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.TokenServiceListRequest]) (*connect.Response[apiv1.TokenServiceListResponse], error)) *TokenServiceClient_List_Call

type TokenServiceClient_Revoke_Call added in v0.16.2

type TokenServiceClient_Revoke_Call struct {
	*mock.Call
}

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

func (*TokenServiceClient_Revoke_Call) Return added in v0.16.2

func (_c *TokenServiceClient_Revoke_Call) Return(response *connect.Response[apiv1.TokenServiceRevokeResponse], err error) *TokenServiceClient_Revoke_Call

func (*TokenServiceClient_Revoke_Call) Run added in v0.16.2

func (_c *TokenServiceClient_Revoke_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.TokenServiceRevokeRequest])) *TokenServiceClient_Revoke_Call

func (*TokenServiceClient_Revoke_Call) RunAndReturn added in v0.16.2

func (_c *TokenServiceClient_Revoke_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.TokenServiceRevokeRequest]) (*connect.Response[apiv1.TokenServiceRevokeResponse], error)) *TokenServiceClient_Revoke_Call

type TokenServiceClient_Update_Call added in v0.16.2

type TokenServiceClient_Update_Call struct {
	*mock.Call
}

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

func (*TokenServiceClient_Update_Call) Return added in v0.16.2

func (_c *TokenServiceClient_Update_Call) Return(response *connect.Response[apiv1.TokenServiceUpdateResponse], err error) *TokenServiceClient_Update_Call

func (*TokenServiceClient_Update_Call) Run added in v0.16.2

func (_c *TokenServiceClient_Update_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.TokenServiceUpdateRequest])) *TokenServiceClient_Update_Call

func (*TokenServiceClient_Update_Call) RunAndReturn added in v0.16.2

func (_c *TokenServiceClient_Update_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.TokenServiceUpdateRequest]) (*connect.Response[apiv1.TokenServiceUpdateResponse], error)) *TokenServiceClient_Update_Call

type TokenServiceHandler

type TokenServiceHandler struct {
	mock.Mock
}

TokenServiceHandler is an autogenerated mock type for the TokenServiceHandler type

func NewTokenServiceHandler

func NewTokenServiceHandler(t interface {
	mock.TestingT
	Cleanup(func())
}) *TokenServiceHandler

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

func (_mock *TokenServiceHandler) Create(context1 context.Context, request *connect.Request[apiv1.TokenServiceCreateRequest]) (*connect.Response[apiv1.TokenServiceCreateResponse], error)

Create provides a mock function for the type TokenServiceHandler

func (*TokenServiceHandler) EXPECT added in v0.16.2

func (*TokenServiceHandler) Get added in v0.10.7

func (_mock *TokenServiceHandler) Get(context1 context.Context, request *connect.Request[apiv1.TokenServiceGetRequest]) (*connect.Response[apiv1.TokenServiceGetResponse], error)

Get provides a mock function for the type TokenServiceHandler

func (*TokenServiceHandler) List

func (_mock *TokenServiceHandler) List(context1 context.Context, request *connect.Request[apiv1.TokenServiceListRequest]) (*connect.Response[apiv1.TokenServiceListResponse], error)

List provides a mock function for the type TokenServiceHandler

func (*TokenServiceHandler) Revoke

func (_mock *TokenServiceHandler) Revoke(context1 context.Context, request *connect.Request[apiv1.TokenServiceRevokeRequest]) (*connect.Response[apiv1.TokenServiceRevokeResponse], error)

Revoke provides a mock function for the type TokenServiceHandler

func (*TokenServiceHandler) Update added in v0.10.7

func (_mock *TokenServiceHandler) Update(context1 context.Context, request *connect.Request[apiv1.TokenServiceUpdateRequest]) (*connect.Response[apiv1.TokenServiceUpdateResponse], error)

Update provides a mock function for the type TokenServiceHandler

type TokenServiceHandler_Create_Call added in v0.16.2

type TokenServiceHandler_Create_Call struct {
	*mock.Call
}

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

func (*TokenServiceHandler_Create_Call) Return added in v0.16.2

func (_c *TokenServiceHandler_Create_Call) Return(response *connect.Response[apiv1.TokenServiceCreateResponse], err error) *TokenServiceHandler_Create_Call

func (*TokenServiceHandler_Create_Call) Run added in v0.16.2

func (_c *TokenServiceHandler_Create_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.TokenServiceCreateRequest])) *TokenServiceHandler_Create_Call

func (*TokenServiceHandler_Create_Call) RunAndReturn added in v0.16.2

func (_c *TokenServiceHandler_Create_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.TokenServiceCreateRequest]) (*connect.Response[apiv1.TokenServiceCreateResponse], error)) *TokenServiceHandler_Create_Call

type TokenServiceHandler_Expecter added in v0.16.2

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

func (*TokenServiceHandler_Expecter) Create added in v0.16.2

func (_e *TokenServiceHandler_Expecter) Create(context1 interface{}, request interface{}) *TokenServiceHandler_Create_Call

Create is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.TokenServiceCreateRequest]

func (*TokenServiceHandler_Expecter) Get added in v0.16.2

func (_e *TokenServiceHandler_Expecter) Get(context1 interface{}, request interface{}) *TokenServiceHandler_Get_Call

Get is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.TokenServiceGetRequest]

func (*TokenServiceHandler_Expecter) List added in v0.16.2

func (_e *TokenServiceHandler_Expecter) List(context1 interface{}, request interface{}) *TokenServiceHandler_List_Call

List is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.TokenServiceListRequest]

func (*TokenServiceHandler_Expecter) Revoke added in v0.16.2

func (_e *TokenServiceHandler_Expecter) Revoke(context1 interface{}, request interface{}) *TokenServiceHandler_Revoke_Call

Revoke is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.TokenServiceRevokeRequest]

func (*TokenServiceHandler_Expecter) Update added in v0.16.2

func (_e *TokenServiceHandler_Expecter) Update(context1 interface{}, request interface{}) *TokenServiceHandler_Update_Call

Update is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.TokenServiceUpdateRequest]

type TokenServiceHandler_Get_Call added in v0.16.2

type TokenServiceHandler_Get_Call struct {
	*mock.Call
}

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

func (*TokenServiceHandler_Get_Call) Return added in v0.16.2

func (_c *TokenServiceHandler_Get_Call) Return(response *connect.Response[apiv1.TokenServiceGetResponse], err error) *TokenServiceHandler_Get_Call

func (*TokenServiceHandler_Get_Call) Run added in v0.16.2

func (_c *TokenServiceHandler_Get_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.TokenServiceGetRequest])) *TokenServiceHandler_Get_Call

func (*TokenServiceHandler_Get_Call) RunAndReturn added in v0.16.2

func (_c *TokenServiceHandler_Get_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.TokenServiceGetRequest]) (*connect.Response[apiv1.TokenServiceGetResponse], error)) *TokenServiceHandler_Get_Call

type TokenServiceHandler_List_Call added in v0.16.2

type TokenServiceHandler_List_Call struct {
	*mock.Call
}

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

func (*TokenServiceHandler_List_Call) Return added in v0.16.2

func (_c *TokenServiceHandler_List_Call) Return(response *connect.Response[apiv1.TokenServiceListResponse], err error) *TokenServiceHandler_List_Call

func (*TokenServiceHandler_List_Call) Run added in v0.16.2

func (_c *TokenServiceHandler_List_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.TokenServiceListRequest])) *TokenServiceHandler_List_Call

func (*TokenServiceHandler_List_Call) RunAndReturn added in v0.16.2

func (_c *TokenServiceHandler_List_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.TokenServiceListRequest]) (*connect.Response[apiv1.TokenServiceListResponse], error)) *TokenServiceHandler_List_Call

type TokenServiceHandler_Revoke_Call added in v0.16.2

type TokenServiceHandler_Revoke_Call struct {
	*mock.Call
}

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

func (*TokenServiceHandler_Revoke_Call) Return added in v0.16.2

func (_c *TokenServiceHandler_Revoke_Call) Return(response *connect.Response[apiv1.TokenServiceRevokeResponse], err error) *TokenServiceHandler_Revoke_Call

func (*TokenServiceHandler_Revoke_Call) Run added in v0.16.2

func (_c *TokenServiceHandler_Revoke_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.TokenServiceRevokeRequest])) *TokenServiceHandler_Revoke_Call

func (*TokenServiceHandler_Revoke_Call) RunAndReturn added in v0.16.2

func (_c *TokenServiceHandler_Revoke_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.TokenServiceRevokeRequest]) (*connect.Response[apiv1.TokenServiceRevokeResponse], error)) *TokenServiceHandler_Revoke_Call

type TokenServiceHandler_Update_Call added in v0.16.2

type TokenServiceHandler_Update_Call struct {
	*mock.Call
}

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

func (*TokenServiceHandler_Update_Call) Return added in v0.16.2

func (_c *TokenServiceHandler_Update_Call) Return(response *connect.Response[apiv1.TokenServiceUpdateResponse], err error) *TokenServiceHandler_Update_Call

func (*TokenServiceHandler_Update_Call) Run added in v0.16.2

func (_c *TokenServiceHandler_Update_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.TokenServiceUpdateRequest])) *TokenServiceHandler_Update_Call

func (*TokenServiceHandler_Update_Call) RunAndReturn added in v0.16.2

func (_c *TokenServiceHandler_Update_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.TokenServiceUpdateRequest]) (*connect.Response[apiv1.TokenServiceUpdateResponse], error)) *TokenServiceHandler_Update_Call

type UserServiceClient added in v0.8.4

type UserServiceClient struct {
	mock.Mock
}

UserServiceClient is an autogenerated mock type for the UserServiceClient type

func NewUserServiceClient added in v0.8.4

func NewUserServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *UserServiceClient

NewUserServiceClient creates a new instance of UserServiceClient. 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 (*UserServiceClient) EXPECT added in v0.16.2

func (*UserServiceClient) Get added in v0.8.4

func (_mock *UserServiceClient) Get(context1 context.Context, request *connect.Request[apiv1.UserServiceGetRequest]) (*connect.Response[apiv1.UserServiceGetResponse], error)

Get provides a mock function for the type UserServiceClient

type UserServiceClient_Expecter added in v0.16.2

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

func (*UserServiceClient_Expecter) Get added in v0.16.2

func (_e *UserServiceClient_Expecter) Get(context1 interface{}, request interface{}) *UserServiceClient_Get_Call

Get is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.UserServiceGetRequest]

type UserServiceClient_Get_Call added in v0.16.2

type UserServiceClient_Get_Call struct {
	*mock.Call
}

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

func (*UserServiceClient_Get_Call) Return added in v0.16.2

func (_c *UserServiceClient_Get_Call) Return(response *connect.Response[apiv1.UserServiceGetResponse], err error) *UserServiceClient_Get_Call

func (*UserServiceClient_Get_Call) Run added in v0.16.2

func (_c *UserServiceClient_Get_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.UserServiceGetRequest])) *UserServiceClient_Get_Call

func (*UserServiceClient_Get_Call) RunAndReturn added in v0.16.2

func (_c *UserServiceClient_Get_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.UserServiceGetRequest]) (*connect.Response[apiv1.UserServiceGetResponse], error)) *UserServiceClient_Get_Call

type UserServiceHandler added in v0.8.4

type UserServiceHandler struct {
	mock.Mock
}

UserServiceHandler is an autogenerated mock type for the UserServiceHandler type

func NewUserServiceHandler added in v0.8.4

func NewUserServiceHandler(t interface {
	mock.TestingT
	Cleanup(func())
}) *UserServiceHandler

NewUserServiceHandler creates a new instance of UserServiceHandler. 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 (*UserServiceHandler) EXPECT added in v0.16.2

func (*UserServiceHandler) Get added in v0.8.4

func (_mock *UserServiceHandler) Get(context1 context.Context, request *connect.Request[apiv1.UserServiceGetRequest]) (*connect.Response[apiv1.UserServiceGetResponse], error)

Get provides a mock function for the type UserServiceHandler

type UserServiceHandler_Expecter added in v0.16.2

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

func (*UserServiceHandler_Expecter) Get added in v0.16.2

func (_e *UserServiceHandler_Expecter) Get(context1 interface{}, request interface{}) *UserServiceHandler_Get_Call

Get is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.UserServiceGetRequest]

type UserServiceHandler_Get_Call added in v0.16.2

type UserServiceHandler_Get_Call struct {
	*mock.Call
}

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

func (*UserServiceHandler_Get_Call) Return added in v0.16.2

func (_c *UserServiceHandler_Get_Call) Return(response *connect.Response[apiv1.UserServiceGetResponse], err error) *UserServiceHandler_Get_Call

func (*UserServiceHandler_Get_Call) Run added in v0.16.2

func (_c *UserServiceHandler_Get_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.UserServiceGetRequest])) *UserServiceHandler_Get_Call

func (*UserServiceHandler_Get_Call) RunAndReturn added in v0.16.2

func (_c *UserServiceHandler_Get_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.UserServiceGetRequest]) (*connect.Response[apiv1.UserServiceGetResponse], error)) *UserServiceHandler_Get_Call

type VersionServiceClient

type VersionServiceClient struct {
	mock.Mock
}

VersionServiceClient is an autogenerated mock type for the VersionServiceClient type

func NewVersionServiceClient

func NewVersionServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *VersionServiceClient

NewVersionServiceClient creates a new instance of VersionServiceClient. 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 (*VersionServiceClient) EXPECT added in v0.16.2

func (*VersionServiceClient) Get

func (_mock *VersionServiceClient) Get(context1 context.Context, request *connect.Request[apiv1.VersionServiceGetRequest]) (*connect.Response[apiv1.VersionServiceGetResponse], error)

Get provides a mock function for the type VersionServiceClient

type VersionServiceClient_Expecter added in v0.16.2

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

func (*VersionServiceClient_Expecter) Get added in v0.16.2

func (_e *VersionServiceClient_Expecter) Get(context1 interface{}, request interface{}) *VersionServiceClient_Get_Call

Get is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.VersionServiceGetRequest]

type VersionServiceClient_Get_Call added in v0.16.2

type VersionServiceClient_Get_Call struct {
	*mock.Call
}

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

func (*VersionServiceClient_Get_Call) Return added in v0.16.2

func (_c *VersionServiceClient_Get_Call) Return(response *connect.Response[apiv1.VersionServiceGetResponse], err error) *VersionServiceClient_Get_Call

func (*VersionServiceClient_Get_Call) Run added in v0.16.2

func (_c *VersionServiceClient_Get_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.VersionServiceGetRequest])) *VersionServiceClient_Get_Call

func (*VersionServiceClient_Get_Call) RunAndReturn added in v0.16.2

func (_c *VersionServiceClient_Get_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.VersionServiceGetRequest]) (*connect.Response[apiv1.VersionServiceGetResponse], error)) *VersionServiceClient_Get_Call

type VersionServiceHandler

type VersionServiceHandler struct {
	mock.Mock
}

VersionServiceHandler is an autogenerated mock type for the VersionServiceHandler type

func NewVersionServiceHandler

func NewVersionServiceHandler(t interface {
	mock.TestingT
	Cleanup(func())
}) *VersionServiceHandler

NewVersionServiceHandler creates a new instance of VersionServiceHandler. 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 (*VersionServiceHandler) EXPECT added in v0.16.2

func (*VersionServiceHandler) Get

func (_mock *VersionServiceHandler) Get(context1 context.Context, request *connect.Request[apiv1.VersionServiceGetRequest]) (*connect.Response[apiv1.VersionServiceGetResponse], error)

Get provides a mock function for the type VersionServiceHandler

type VersionServiceHandler_Expecter added in v0.16.2

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

func (*VersionServiceHandler_Expecter) Get added in v0.16.2

func (_e *VersionServiceHandler_Expecter) Get(context1 interface{}, request interface{}) *VersionServiceHandler_Get_Call

Get is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.VersionServiceGetRequest]

type VersionServiceHandler_Get_Call added in v0.16.2

type VersionServiceHandler_Get_Call struct {
	*mock.Call
}

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

func (*VersionServiceHandler_Get_Call) Return added in v0.16.2

func (_c *VersionServiceHandler_Get_Call) Return(response *connect.Response[apiv1.VersionServiceGetResponse], err error) *VersionServiceHandler_Get_Call

func (*VersionServiceHandler_Get_Call) Run added in v0.16.2

func (_c *VersionServiceHandler_Get_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.VersionServiceGetRequest])) *VersionServiceHandler_Get_Call

func (*VersionServiceHandler_Get_Call) RunAndReturn added in v0.16.2

func (_c *VersionServiceHandler_Get_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.VersionServiceGetRequest]) (*connect.Response[apiv1.VersionServiceGetResponse], error)) *VersionServiceHandler_Get_Call

type VolumeServiceClient

type VolumeServiceClient struct {
	mock.Mock
}

VolumeServiceClient is an autogenerated mock type for the VolumeServiceClient type

func NewVolumeServiceClient

func NewVolumeServiceClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *VolumeServiceClient

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

func (_mock *VolumeServiceClient) Delete(context1 context.Context, request *connect.Request[apiv1.VolumeServiceDeleteRequest]) (*connect.Response[apiv1.VolumeServiceDeleteResponse], error)

Delete provides a mock function for the type VolumeServiceClient

func (*VolumeServiceClient) EXPECT added in v0.16.2

func (*VolumeServiceClient) Get

func (_mock *VolumeServiceClient) Get(context1 context.Context, request *connect.Request[apiv1.VolumeServiceGetRequest]) (*connect.Response[apiv1.VolumeServiceGetResponse], error)

Get provides a mock function for the type VolumeServiceClient

func (*VolumeServiceClient) List

func (_mock *VolumeServiceClient) List(context1 context.Context, request *connect.Request[apiv1.VolumeServiceListRequest]) (*connect.Response[apiv1.VolumeServiceListResponse], error)

List provides a mock function for the type VolumeServiceClient

func (*VolumeServiceClient) Update added in v0.14.1

func (_mock *VolumeServiceClient) Update(context1 context.Context, request *connect.Request[apiv1.VolumeServiceUpdateRequest]) (*connect.Response[apiv1.VolumeServiceUpdateResponse], error)

Update provides a mock function for the type VolumeServiceClient

type VolumeServiceClient_Delete_Call added in v0.16.2

type VolumeServiceClient_Delete_Call struct {
	*mock.Call
}

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

func (*VolumeServiceClient_Delete_Call) Return added in v0.16.2

func (_c *VolumeServiceClient_Delete_Call) Return(response *connect.Response[apiv1.VolumeServiceDeleteResponse], err error) *VolumeServiceClient_Delete_Call

func (*VolumeServiceClient_Delete_Call) Run added in v0.16.2

func (_c *VolumeServiceClient_Delete_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.VolumeServiceDeleteRequest])) *VolumeServiceClient_Delete_Call

func (*VolumeServiceClient_Delete_Call) RunAndReturn added in v0.16.2

func (_c *VolumeServiceClient_Delete_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.VolumeServiceDeleteRequest]) (*connect.Response[apiv1.VolumeServiceDeleteResponse], error)) *VolumeServiceClient_Delete_Call

type VolumeServiceClient_Expecter added in v0.16.2

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

func (*VolumeServiceClient_Expecter) Delete added in v0.16.2

func (_e *VolumeServiceClient_Expecter) Delete(context1 interface{}, request interface{}) *VolumeServiceClient_Delete_Call

Delete is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.VolumeServiceDeleteRequest]

func (*VolumeServiceClient_Expecter) Get added in v0.16.2

func (_e *VolumeServiceClient_Expecter) Get(context1 interface{}, request interface{}) *VolumeServiceClient_Get_Call

Get is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.VolumeServiceGetRequest]

func (*VolumeServiceClient_Expecter) List added in v0.16.2

func (_e *VolumeServiceClient_Expecter) List(context1 interface{}, request interface{}) *VolumeServiceClient_List_Call

List is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.VolumeServiceListRequest]

func (*VolumeServiceClient_Expecter) Update added in v0.16.2

func (_e *VolumeServiceClient_Expecter) Update(context1 interface{}, request interface{}) *VolumeServiceClient_Update_Call

Update is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.VolumeServiceUpdateRequest]

type VolumeServiceClient_Get_Call added in v0.16.2

type VolumeServiceClient_Get_Call struct {
	*mock.Call
}

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

func (*VolumeServiceClient_Get_Call) Return added in v0.16.2

func (_c *VolumeServiceClient_Get_Call) Return(response *connect.Response[apiv1.VolumeServiceGetResponse], err error) *VolumeServiceClient_Get_Call

func (*VolumeServiceClient_Get_Call) Run added in v0.16.2

func (_c *VolumeServiceClient_Get_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.VolumeServiceGetRequest])) *VolumeServiceClient_Get_Call

func (*VolumeServiceClient_Get_Call) RunAndReturn added in v0.16.2

func (_c *VolumeServiceClient_Get_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.VolumeServiceGetRequest]) (*connect.Response[apiv1.VolumeServiceGetResponse], error)) *VolumeServiceClient_Get_Call

type VolumeServiceClient_List_Call added in v0.16.2

type VolumeServiceClient_List_Call struct {
	*mock.Call
}

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

func (*VolumeServiceClient_List_Call) Return added in v0.16.2

func (_c *VolumeServiceClient_List_Call) Return(response *connect.Response[apiv1.VolumeServiceListResponse], err error) *VolumeServiceClient_List_Call

func (*VolumeServiceClient_List_Call) Run added in v0.16.2

func (_c *VolumeServiceClient_List_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.VolumeServiceListRequest])) *VolumeServiceClient_List_Call

func (*VolumeServiceClient_List_Call) RunAndReturn added in v0.16.2

func (_c *VolumeServiceClient_List_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.VolumeServiceListRequest]) (*connect.Response[apiv1.VolumeServiceListResponse], error)) *VolumeServiceClient_List_Call

type VolumeServiceClient_Update_Call added in v0.16.2

type VolumeServiceClient_Update_Call struct {
	*mock.Call
}

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

func (*VolumeServiceClient_Update_Call) Return added in v0.16.2

func (_c *VolumeServiceClient_Update_Call) Return(response *connect.Response[apiv1.VolumeServiceUpdateResponse], err error) *VolumeServiceClient_Update_Call

func (*VolumeServiceClient_Update_Call) Run added in v0.16.2

func (_c *VolumeServiceClient_Update_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.VolumeServiceUpdateRequest])) *VolumeServiceClient_Update_Call

func (*VolumeServiceClient_Update_Call) RunAndReturn added in v0.16.2

func (_c *VolumeServiceClient_Update_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.VolumeServiceUpdateRequest]) (*connect.Response[apiv1.VolumeServiceUpdateResponse], error)) *VolumeServiceClient_Update_Call

type VolumeServiceHandler

type VolumeServiceHandler struct {
	mock.Mock
}

VolumeServiceHandler is an autogenerated mock type for the VolumeServiceHandler type

func NewVolumeServiceHandler

func NewVolumeServiceHandler(t interface {
	mock.TestingT
	Cleanup(func())
}) *VolumeServiceHandler

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

func (_mock *VolumeServiceHandler) Delete(context1 context.Context, request *connect.Request[apiv1.VolumeServiceDeleteRequest]) (*connect.Response[apiv1.VolumeServiceDeleteResponse], error)

Delete provides a mock function for the type VolumeServiceHandler

func (*VolumeServiceHandler) EXPECT added in v0.16.2

func (*VolumeServiceHandler) Get

func (_mock *VolumeServiceHandler) Get(context1 context.Context, request *connect.Request[apiv1.VolumeServiceGetRequest]) (*connect.Response[apiv1.VolumeServiceGetResponse], error)

Get provides a mock function for the type VolumeServiceHandler

func (*VolumeServiceHandler) List

func (_mock *VolumeServiceHandler) List(context1 context.Context, request *connect.Request[apiv1.VolumeServiceListRequest]) (*connect.Response[apiv1.VolumeServiceListResponse], error)

List provides a mock function for the type VolumeServiceHandler

func (*VolumeServiceHandler) Update added in v0.14.1

func (_mock *VolumeServiceHandler) Update(context1 context.Context, request *connect.Request[apiv1.VolumeServiceUpdateRequest]) (*connect.Response[apiv1.VolumeServiceUpdateResponse], error)

Update provides a mock function for the type VolumeServiceHandler

type VolumeServiceHandler_Delete_Call added in v0.16.2

type VolumeServiceHandler_Delete_Call struct {
	*mock.Call
}

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

func (*VolumeServiceHandler_Delete_Call) Return added in v0.16.2

func (_c *VolumeServiceHandler_Delete_Call) Return(response *connect.Response[apiv1.VolumeServiceDeleteResponse], err error) *VolumeServiceHandler_Delete_Call

func (*VolumeServiceHandler_Delete_Call) Run added in v0.16.2

func (_c *VolumeServiceHandler_Delete_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.VolumeServiceDeleteRequest])) *VolumeServiceHandler_Delete_Call

func (*VolumeServiceHandler_Delete_Call) RunAndReturn added in v0.16.2

func (_c *VolumeServiceHandler_Delete_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.VolumeServiceDeleteRequest]) (*connect.Response[apiv1.VolumeServiceDeleteResponse], error)) *VolumeServiceHandler_Delete_Call

type VolumeServiceHandler_Expecter added in v0.16.2

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

func (*VolumeServiceHandler_Expecter) Delete added in v0.16.2

func (_e *VolumeServiceHandler_Expecter) Delete(context1 interface{}, request interface{}) *VolumeServiceHandler_Delete_Call

Delete is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.VolumeServiceDeleteRequest]

func (*VolumeServiceHandler_Expecter) Get added in v0.16.2

func (_e *VolumeServiceHandler_Expecter) Get(context1 interface{}, request interface{}) *VolumeServiceHandler_Get_Call

Get is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.VolumeServiceGetRequest]

func (*VolumeServiceHandler_Expecter) List added in v0.16.2

func (_e *VolumeServiceHandler_Expecter) List(context1 interface{}, request interface{}) *VolumeServiceHandler_List_Call

List is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.VolumeServiceListRequest]

func (*VolumeServiceHandler_Expecter) Update added in v0.16.2

func (_e *VolumeServiceHandler_Expecter) Update(context1 interface{}, request interface{}) *VolumeServiceHandler_Update_Call

Update is a helper method to define mock.On call

  • context1 context.Context
  • request *connect.Request[apiv1.VolumeServiceUpdateRequest]

type VolumeServiceHandler_Get_Call added in v0.16.2

type VolumeServiceHandler_Get_Call struct {
	*mock.Call
}

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

func (*VolumeServiceHandler_Get_Call) Return added in v0.16.2

func (_c *VolumeServiceHandler_Get_Call) Return(response *connect.Response[apiv1.VolumeServiceGetResponse], err error) *VolumeServiceHandler_Get_Call

func (*VolumeServiceHandler_Get_Call) Run added in v0.16.2

func (_c *VolumeServiceHandler_Get_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.VolumeServiceGetRequest])) *VolumeServiceHandler_Get_Call

func (*VolumeServiceHandler_Get_Call) RunAndReturn added in v0.16.2

func (_c *VolumeServiceHandler_Get_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.VolumeServiceGetRequest]) (*connect.Response[apiv1.VolumeServiceGetResponse], error)) *VolumeServiceHandler_Get_Call

type VolumeServiceHandler_List_Call added in v0.16.2

type VolumeServiceHandler_List_Call struct {
	*mock.Call
}

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

func (*VolumeServiceHandler_List_Call) Return added in v0.16.2

func (_c *VolumeServiceHandler_List_Call) Return(response *connect.Response[apiv1.VolumeServiceListResponse], err error) *VolumeServiceHandler_List_Call

func (*VolumeServiceHandler_List_Call) Run added in v0.16.2

func (_c *VolumeServiceHandler_List_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.VolumeServiceListRequest])) *VolumeServiceHandler_List_Call

func (*VolumeServiceHandler_List_Call) RunAndReturn added in v0.16.2

func (_c *VolumeServiceHandler_List_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.VolumeServiceListRequest]) (*connect.Response[apiv1.VolumeServiceListResponse], error)) *VolumeServiceHandler_List_Call

type VolumeServiceHandler_Update_Call added in v0.16.2

type VolumeServiceHandler_Update_Call struct {
	*mock.Call
}

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

func (*VolumeServiceHandler_Update_Call) Return added in v0.16.2

func (_c *VolumeServiceHandler_Update_Call) Return(response *connect.Response[apiv1.VolumeServiceUpdateResponse], err error) *VolumeServiceHandler_Update_Call

func (*VolumeServiceHandler_Update_Call) Run added in v0.16.2

func (_c *VolumeServiceHandler_Update_Call) Run(run func(context1 context.Context, request *connect.Request[apiv1.VolumeServiceUpdateRequest])) *VolumeServiceHandler_Update_Call

func (*VolumeServiceHandler_Update_Call) RunAndReturn added in v0.16.2

func (_c *VolumeServiceHandler_Update_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[apiv1.VolumeServiceUpdateRequest]) (*connect.Response[apiv1.VolumeServiceUpdateResponse], error)) *VolumeServiceHandler_Update_Call

Jump to

Keyboard shortcuts

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