Documentation
¶
Index ¶
- type AuditServiceClient
- func (_m *AuditServiceClient) EXPECT() *AuditServiceClient_Expecter
- func (_mock *AuditServiceClient) Get(context1 context.Context, ...) (*connect.Response[adminv1.AuditServiceGetResponse], error)
- func (_mock *AuditServiceClient) List(context1 context.Context, ...) (*connect.Response[adminv1.AuditServiceListResponse], error)
- type AuditServiceClient_Expecter
- type AuditServiceClient_Get_Call
- func (_c *AuditServiceClient_Get_Call) Return(response *connect.Response[adminv1.AuditServiceGetResponse], err error) *AuditServiceClient_Get_Call
- func (_c *AuditServiceClient_Get_Call) Run(run func(context1 context.Context, ...)) *AuditServiceClient_Get_Call
- func (_c *AuditServiceClient_Get_Call) RunAndReturn(...) *AuditServiceClient_Get_Call
- type AuditServiceClient_List_Call
- func (_c *AuditServiceClient_List_Call) Return(response *connect.Response[adminv1.AuditServiceListResponse], err error) *AuditServiceClient_List_Call
- func (_c *AuditServiceClient_List_Call) Run(run func(context1 context.Context, ...)) *AuditServiceClient_List_Call
- func (_c *AuditServiceClient_List_Call) RunAndReturn(...) *AuditServiceClient_List_Call
- type AuditServiceHandler
- func (_m *AuditServiceHandler) EXPECT() *AuditServiceHandler_Expecter
- func (_mock *AuditServiceHandler) Get(context1 context.Context, ...) (*connect.Response[adminv1.AuditServiceGetResponse], error)
- func (_mock *AuditServiceHandler) List(context1 context.Context, ...) (*connect.Response[adminv1.AuditServiceListResponse], error)
- type AuditServiceHandler_Expecter
- type AuditServiceHandler_Get_Call
- func (_c *AuditServiceHandler_Get_Call) Return(response *connect.Response[adminv1.AuditServiceGetResponse], err error) *AuditServiceHandler_Get_Call
- func (_c *AuditServiceHandler_Get_Call) Run(run func(context1 context.Context, ...)) *AuditServiceHandler_Get_Call
- func (_c *AuditServiceHandler_Get_Call) RunAndReturn(...) *AuditServiceHandler_Get_Call
- type AuditServiceHandler_List_Call
- func (_c *AuditServiceHandler_List_Call) Return(response *connect.Response[adminv1.AuditServiceListResponse], err error) *AuditServiceHandler_List_Call
- func (_c *AuditServiceHandler_List_Call) Run(run func(context1 context.Context, ...)) *AuditServiceHandler_List_Call
- func (_c *AuditServiceHandler_List_Call) RunAndReturn(...) *AuditServiceHandler_List_Call
- type ClusterServiceClient
- func (_mock *ClusterServiceClient) Credentials(context1 context.Context, ...) (*connect.Response[adminv1.ClusterServiceCredentialsResponse], error)
- func (_m *ClusterServiceClient) EXPECT() *ClusterServiceClient_Expecter
- func (_mock *ClusterServiceClient) Get(context1 context.Context, ...) (*connect.Response[adminv1.ClusterServiceGetResponse], error)
- func (_mock *ClusterServiceClient) List(context1 context.Context, ...) (*connect.Response[adminv1.ClusterServiceListResponse], error)
- type ClusterServiceClient_Credentials_Call
- func (_c *ClusterServiceClient_Credentials_Call) Return(response *connect.Response[adminv1.ClusterServiceCredentialsResponse], ...) *ClusterServiceClient_Credentials_Call
- func (_c *ClusterServiceClient_Credentials_Call) Run(run func(context1 context.Context, ...)) *ClusterServiceClient_Credentials_Call
- func (_c *ClusterServiceClient_Credentials_Call) RunAndReturn(...) *ClusterServiceClient_Credentials_Call
- type ClusterServiceClient_Expecter
- func (_e *ClusterServiceClient_Expecter) Credentials(context1 interface{}, request interface{}) *ClusterServiceClient_Credentials_Call
- func (_e *ClusterServiceClient_Expecter) Get(context1 interface{}, request interface{}) *ClusterServiceClient_Get_Call
- func (_e *ClusterServiceClient_Expecter) List(context1 interface{}, request interface{}) *ClusterServiceClient_List_Call
- type ClusterServiceClient_Get_Call
- func (_c *ClusterServiceClient_Get_Call) Return(response *connect.Response[adminv1.ClusterServiceGetResponse], err error) *ClusterServiceClient_Get_Call
- func (_c *ClusterServiceClient_Get_Call) Run(run func(context1 context.Context, ...)) *ClusterServiceClient_Get_Call
- func (_c *ClusterServiceClient_Get_Call) RunAndReturn(...) *ClusterServiceClient_Get_Call
- type ClusterServiceClient_List_Call
- func (_c *ClusterServiceClient_List_Call) Return(response *connect.Response[adminv1.ClusterServiceListResponse], err error) *ClusterServiceClient_List_Call
- func (_c *ClusterServiceClient_List_Call) Run(run func(context1 context.Context, ...)) *ClusterServiceClient_List_Call
- func (_c *ClusterServiceClient_List_Call) RunAndReturn(...) *ClusterServiceClient_List_Call
- type ClusterServiceHandler
- func (_mock *ClusterServiceHandler) Credentials(context1 context.Context, ...) (*connect.Response[adminv1.ClusterServiceCredentialsResponse], error)
- func (_m *ClusterServiceHandler) EXPECT() *ClusterServiceHandler_Expecter
- func (_mock *ClusterServiceHandler) Get(context1 context.Context, ...) (*connect.Response[adminv1.ClusterServiceGetResponse], error)
- func (_mock *ClusterServiceHandler) List(context1 context.Context, ...) (*connect.Response[adminv1.ClusterServiceListResponse], error)
- type ClusterServiceHandler_Credentials_Call
- func (_c *ClusterServiceHandler_Credentials_Call) Return(response *connect.Response[adminv1.ClusterServiceCredentialsResponse], ...) *ClusterServiceHandler_Credentials_Call
- func (_c *ClusterServiceHandler_Credentials_Call) Run(run func(context1 context.Context, ...)) *ClusterServiceHandler_Credentials_Call
- func (_c *ClusterServiceHandler_Credentials_Call) RunAndReturn(...) *ClusterServiceHandler_Credentials_Call
- type ClusterServiceHandler_Expecter
- func (_e *ClusterServiceHandler_Expecter) Credentials(context1 interface{}, request interface{}) *ClusterServiceHandler_Credentials_Call
- func (_e *ClusterServiceHandler_Expecter) Get(context1 interface{}, request interface{}) *ClusterServiceHandler_Get_Call
- func (_e *ClusterServiceHandler_Expecter) List(context1 interface{}, request interface{}) *ClusterServiceHandler_List_Call
- type ClusterServiceHandler_Get_Call
- func (_c *ClusterServiceHandler_Get_Call) Return(response *connect.Response[adminv1.ClusterServiceGetResponse], err error) *ClusterServiceHandler_Get_Call
- func (_c *ClusterServiceHandler_Get_Call) Run(run func(context1 context.Context, ...)) *ClusterServiceHandler_Get_Call
- func (_c *ClusterServiceHandler_Get_Call) RunAndReturn(...) *ClusterServiceHandler_Get_Call
- type ClusterServiceHandler_List_Call
- func (_c *ClusterServiceHandler_List_Call) Return(response *connect.Response[adminv1.ClusterServiceListResponse], err error) *ClusterServiceHandler_List_Call
- func (_c *ClusterServiceHandler_List_Call) Run(run func(context1 context.Context, ...)) *ClusterServiceHandler_List_Call
- func (_c *ClusterServiceHandler_List_Call) RunAndReturn(...) *ClusterServiceHandler_List_Call
- type PaymentServiceClient
- type PaymentServiceClient_AddBalanceToCustomer_Call
- func (_c *PaymentServiceClient_AddBalanceToCustomer_Call) Return(response *connect.Response[adminv1.PaymentServiceAddBalanceToCustomerResponse], ...) *PaymentServiceClient_AddBalanceToCustomer_Call
- func (_c *PaymentServiceClient_AddBalanceToCustomer_Call) Run(run func(context1 context.Context, ...)) *PaymentServiceClient_AddBalanceToCustomer_Call
- func (_c *PaymentServiceClient_AddBalanceToCustomer_Call) RunAndReturn(...) *PaymentServiceClient_AddBalanceToCustomer_Call
- type PaymentServiceClient_Expecter
- type PaymentServiceHandler
- type PaymentServiceHandler_AddBalanceToCustomer_Call
- func (_c *PaymentServiceHandler_AddBalanceToCustomer_Call) Return(response *connect.Response[adminv1.PaymentServiceAddBalanceToCustomerResponse], ...) *PaymentServiceHandler_AddBalanceToCustomer_Call
- func (_c *PaymentServiceHandler_AddBalanceToCustomer_Call) Run(run func(context1 context.Context, ...)) *PaymentServiceHandler_AddBalanceToCustomer_Call
- func (_c *PaymentServiceHandler_AddBalanceToCustomer_Call) RunAndReturn(...) *PaymentServiceHandler_AddBalanceToCustomer_Call
- type PaymentServiceHandler_Expecter
- type ProjectServiceClient
- type ProjectServiceClient_Expecter
- type ProjectServiceClient_List_Call
- func (_c *ProjectServiceClient_List_Call) Return(response *connect.Response[adminv1.ProjectServiceListResponse], err error) *ProjectServiceClient_List_Call
- func (_c *ProjectServiceClient_List_Call) Run(run func(context1 context.Context, ...)) *ProjectServiceClient_List_Call
- func (_c *ProjectServiceClient_List_Call) RunAndReturn(...) *ProjectServiceClient_List_Call
- type ProjectServiceHandler
- type ProjectServiceHandler_Expecter
- type ProjectServiceHandler_List_Call
- func (_c *ProjectServiceHandler_List_Call) Return(response *connect.Response[adminv1.ProjectServiceListResponse], err error) *ProjectServiceHandler_List_Call
- func (_c *ProjectServiceHandler_List_Call) Run(run func(context1 context.Context, ...)) *ProjectServiceHandler_List_Call
- func (_c *ProjectServiceHandler_List_Call) RunAndReturn(...) *ProjectServiceHandler_List_Call
- type StorageServiceClient
- func (_mock *StorageServiceClient) ClusterInfo(context1 context.Context, ...) (*connect.Response[adminv1.StorageServiceClusterInfoResponse], error)
- func (_m *StorageServiceClient) EXPECT() *StorageServiceClient_Expecter
- func (_mock *StorageServiceClient) ListSnapshots(context1 context.Context, ...) (*connect.Response[adminv1.StorageServiceListSnapshotsResponse], error)
- func (_mock *StorageServiceClient) ListVolumes(context1 context.Context, ...) (*connect.Response[adminv1.StorageServiceListVolumesResponse], error)
- type StorageServiceClient_ClusterInfo_Call
- func (_c *StorageServiceClient_ClusterInfo_Call) Return(response *connect.Response[adminv1.StorageServiceClusterInfoResponse], ...) *StorageServiceClient_ClusterInfo_Call
- func (_c *StorageServiceClient_ClusterInfo_Call) Run(run func(context1 context.Context, ...)) *StorageServiceClient_ClusterInfo_Call
- func (_c *StorageServiceClient_ClusterInfo_Call) RunAndReturn(...) *StorageServiceClient_ClusterInfo_Call
- type StorageServiceClient_Expecter
- func (_e *StorageServiceClient_Expecter) ClusterInfo(context1 interface{}, request interface{}) *StorageServiceClient_ClusterInfo_Call
- func (_e *StorageServiceClient_Expecter) ListSnapshots(context1 interface{}, request interface{}) *StorageServiceClient_ListSnapshots_Call
- func (_e *StorageServiceClient_Expecter) ListVolumes(context1 interface{}, request interface{}) *StorageServiceClient_ListVolumes_Call
- type StorageServiceClient_ListSnapshots_Call
- func (_c *StorageServiceClient_ListSnapshots_Call) Return(response *connect.Response[adminv1.StorageServiceListSnapshotsResponse], ...) *StorageServiceClient_ListSnapshots_Call
- func (_c *StorageServiceClient_ListSnapshots_Call) Run(run func(context1 context.Context, ...)) *StorageServiceClient_ListSnapshots_Call
- func (_c *StorageServiceClient_ListSnapshots_Call) RunAndReturn(...) *StorageServiceClient_ListSnapshots_Call
- type StorageServiceClient_ListVolumes_Call
- func (_c *StorageServiceClient_ListVolumes_Call) Return(response *connect.Response[adminv1.StorageServiceListVolumesResponse], ...) *StorageServiceClient_ListVolumes_Call
- func (_c *StorageServiceClient_ListVolumes_Call) Run(run func(context1 context.Context, ...)) *StorageServiceClient_ListVolumes_Call
- func (_c *StorageServiceClient_ListVolumes_Call) RunAndReturn(...) *StorageServiceClient_ListVolumes_Call
- type StorageServiceHandler
- func (_mock *StorageServiceHandler) ClusterInfo(context1 context.Context, ...) (*connect.Response[adminv1.StorageServiceClusterInfoResponse], error)
- func (_m *StorageServiceHandler) EXPECT() *StorageServiceHandler_Expecter
- func (_mock *StorageServiceHandler) ListSnapshots(context1 context.Context, ...) (*connect.Response[adminv1.StorageServiceListSnapshotsResponse], error)
- func (_mock *StorageServiceHandler) ListVolumes(context1 context.Context, ...) (*connect.Response[adminv1.StorageServiceListVolumesResponse], error)
- type StorageServiceHandler_ClusterInfo_Call
- func (_c *StorageServiceHandler_ClusterInfo_Call) Return(response *connect.Response[adminv1.StorageServiceClusterInfoResponse], ...) *StorageServiceHandler_ClusterInfo_Call
- func (_c *StorageServiceHandler_ClusterInfo_Call) Run(run func(context1 context.Context, ...)) *StorageServiceHandler_ClusterInfo_Call
- func (_c *StorageServiceHandler_ClusterInfo_Call) RunAndReturn(...) *StorageServiceHandler_ClusterInfo_Call
- type StorageServiceHandler_Expecter
- func (_e *StorageServiceHandler_Expecter) ClusterInfo(context1 interface{}, request interface{}) *StorageServiceHandler_ClusterInfo_Call
- func (_e *StorageServiceHandler_Expecter) ListSnapshots(context1 interface{}, request interface{}) *StorageServiceHandler_ListSnapshots_Call
- func (_e *StorageServiceHandler_Expecter) ListVolumes(context1 interface{}, request interface{}) *StorageServiceHandler_ListVolumes_Call
- type StorageServiceHandler_ListSnapshots_Call
- func (_c *StorageServiceHandler_ListSnapshots_Call) Return(response *connect.Response[adminv1.StorageServiceListSnapshotsResponse], ...) *StorageServiceHandler_ListSnapshots_Call
- func (_c *StorageServiceHandler_ListSnapshots_Call) Run(run func(context1 context.Context, ...)) *StorageServiceHandler_ListSnapshots_Call
- func (_c *StorageServiceHandler_ListSnapshots_Call) RunAndReturn(...) *StorageServiceHandler_ListSnapshots_Call
- type StorageServiceHandler_ListVolumes_Call
- func (_c *StorageServiceHandler_ListVolumes_Call) Return(response *connect.Response[adminv1.StorageServiceListVolumesResponse], ...) *StorageServiceHandler_ListVolumes_Call
- func (_c *StorageServiceHandler_ListVolumes_Call) Run(run func(context1 context.Context, ...)) *StorageServiceHandler_ListVolumes_Call
- func (_c *StorageServiceHandler_ListVolumes_Call) RunAndReturn(...) *StorageServiceHandler_ListVolumes_Call
- type TenantServiceClient
- func (_mock *TenantServiceClient) AddMember(context1 context.Context, ...) (*connect.Response[adminv1.TenantServiceAddMemberResponse], error)
- func (_mock *TenantServiceClient) Admit(context1 context.Context, ...) (*connect.Response[adminv1.TenantServiceAdmitResponse], error)
- func (_m *TenantServiceClient) EXPECT() *TenantServiceClient_Expecter
- func (_mock *TenantServiceClient) List(context1 context.Context, ...) (*connect.Response[adminv1.TenantServiceListResponse], error)
- func (_mock *TenantServiceClient) Revoke(context1 context.Context, ...) (*connect.Response[adminv1.TenantServiceRevokeResponse], error)
- type TenantServiceClient_AddMember_Call
- func (_c *TenantServiceClient_AddMember_Call) Return(response *connect.Response[adminv1.TenantServiceAddMemberResponse], err error) *TenantServiceClient_AddMember_Call
- func (_c *TenantServiceClient_AddMember_Call) Run(run func(context1 context.Context, ...)) *TenantServiceClient_AddMember_Call
- func (_c *TenantServiceClient_AddMember_Call) RunAndReturn(...) *TenantServiceClient_AddMember_Call
- type TenantServiceClient_Admit_Call
- func (_c *TenantServiceClient_Admit_Call) Return(response *connect.Response[adminv1.TenantServiceAdmitResponse], err error) *TenantServiceClient_Admit_Call
- func (_c *TenantServiceClient_Admit_Call) Run(run func(context1 context.Context, ...)) *TenantServiceClient_Admit_Call
- func (_c *TenantServiceClient_Admit_Call) RunAndReturn(...) *TenantServiceClient_Admit_Call
- type TenantServiceClient_Expecter
- func (_e *TenantServiceClient_Expecter) AddMember(context1 interface{}, request interface{}) *TenantServiceClient_AddMember_Call
- func (_e *TenantServiceClient_Expecter) Admit(context1 interface{}, request interface{}) *TenantServiceClient_Admit_Call
- func (_e *TenantServiceClient_Expecter) List(context1 interface{}, request interface{}) *TenantServiceClient_List_Call
- func (_e *TenantServiceClient_Expecter) Revoke(context1 interface{}, request interface{}) *TenantServiceClient_Revoke_Call
- type TenantServiceClient_List_Call
- func (_c *TenantServiceClient_List_Call) Return(response *connect.Response[adminv1.TenantServiceListResponse], err error) *TenantServiceClient_List_Call
- func (_c *TenantServiceClient_List_Call) Run(run func(context1 context.Context, ...)) *TenantServiceClient_List_Call
- func (_c *TenantServiceClient_List_Call) RunAndReturn(...) *TenantServiceClient_List_Call
- type TenantServiceClient_Revoke_Call
- func (_c *TenantServiceClient_Revoke_Call) Return(response *connect.Response[adminv1.TenantServiceRevokeResponse], err error) *TenantServiceClient_Revoke_Call
- func (_c *TenantServiceClient_Revoke_Call) Run(run func(context1 context.Context, ...)) *TenantServiceClient_Revoke_Call
- func (_c *TenantServiceClient_Revoke_Call) RunAndReturn(...) *TenantServiceClient_Revoke_Call
- type TenantServiceHandler
- func (_mock *TenantServiceHandler) AddMember(context1 context.Context, ...) (*connect.Response[adminv1.TenantServiceAddMemberResponse], error)
- func (_mock *TenantServiceHandler) Admit(context1 context.Context, ...) (*connect.Response[adminv1.TenantServiceAdmitResponse], error)
- func (_m *TenantServiceHandler) EXPECT() *TenantServiceHandler_Expecter
- func (_mock *TenantServiceHandler) List(context1 context.Context, ...) (*connect.Response[adminv1.TenantServiceListResponse], error)
- func (_mock *TenantServiceHandler) Revoke(context1 context.Context, ...) (*connect.Response[adminv1.TenantServiceRevokeResponse], error)
- type TenantServiceHandler_AddMember_Call
- func (_c *TenantServiceHandler_AddMember_Call) Return(response *connect.Response[adminv1.TenantServiceAddMemberResponse], err error) *TenantServiceHandler_AddMember_Call
- func (_c *TenantServiceHandler_AddMember_Call) Run(run func(context1 context.Context, ...)) *TenantServiceHandler_AddMember_Call
- func (_c *TenantServiceHandler_AddMember_Call) RunAndReturn(...) *TenantServiceHandler_AddMember_Call
- type TenantServiceHandler_Admit_Call
- func (_c *TenantServiceHandler_Admit_Call) Return(response *connect.Response[adminv1.TenantServiceAdmitResponse], err error) *TenantServiceHandler_Admit_Call
- func (_c *TenantServiceHandler_Admit_Call) Run(run func(context1 context.Context, ...)) *TenantServiceHandler_Admit_Call
- func (_c *TenantServiceHandler_Admit_Call) RunAndReturn(...) *TenantServiceHandler_Admit_Call
- type TenantServiceHandler_Expecter
- func (_e *TenantServiceHandler_Expecter) AddMember(context1 interface{}, request interface{}) *TenantServiceHandler_AddMember_Call
- func (_e *TenantServiceHandler_Expecter) Admit(context1 interface{}, request interface{}) *TenantServiceHandler_Admit_Call
- func (_e *TenantServiceHandler_Expecter) List(context1 interface{}, request interface{}) *TenantServiceHandler_List_Call
- func (_e *TenantServiceHandler_Expecter) Revoke(context1 interface{}, request interface{}) *TenantServiceHandler_Revoke_Call
- type TenantServiceHandler_List_Call
- func (_c *TenantServiceHandler_List_Call) Return(response *connect.Response[adminv1.TenantServiceListResponse], err error) *TenantServiceHandler_List_Call
- func (_c *TenantServiceHandler_List_Call) Run(run func(context1 context.Context, ...)) *TenantServiceHandler_List_Call
- func (_c *TenantServiceHandler_List_Call) RunAndReturn(...) *TenantServiceHandler_List_Call
- type TenantServiceHandler_Revoke_Call
- func (_c *TenantServiceHandler_Revoke_Call) Return(response *connect.Response[adminv1.TenantServiceRevokeResponse], err error) *TenantServiceHandler_Revoke_Call
- func (_c *TenantServiceHandler_Revoke_Call) Run(run func(context1 context.Context, ...)) *TenantServiceHandler_Revoke_Call
- func (_c *TenantServiceHandler_Revoke_Call) RunAndReturn(...) *TenantServiceHandler_Revoke_Call
- type TokenServiceClient
- func (_m *TokenServiceClient) EXPECT() *TokenServiceClient_Expecter
- func (_mock *TokenServiceClient) List(context1 context.Context, ...) (*connect.Response[adminv1.TokenServiceListResponse], error)
- func (_mock *TokenServiceClient) Revoke(context1 context.Context, ...) (*connect.Response[adminv1.TokenServiceRevokeResponse], error)
- type TokenServiceClient_Expecter
- type TokenServiceClient_List_Call
- func (_c *TokenServiceClient_List_Call) Return(response *connect.Response[adminv1.TokenServiceListResponse], err error) *TokenServiceClient_List_Call
- func (_c *TokenServiceClient_List_Call) Run(run func(context1 context.Context, ...)) *TokenServiceClient_List_Call
- func (_c *TokenServiceClient_List_Call) RunAndReturn(...) *TokenServiceClient_List_Call
- type TokenServiceClient_Revoke_Call
- func (_c *TokenServiceClient_Revoke_Call) Return(response *connect.Response[adminv1.TokenServiceRevokeResponse], err error) *TokenServiceClient_Revoke_Call
- func (_c *TokenServiceClient_Revoke_Call) Run(run func(context1 context.Context, ...)) *TokenServiceClient_Revoke_Call
- func (_c *TokenServiceClient_Revoke_Call) RunAndReturn(...) *TokenServiceClient_Revoke_Call
- type TokenServiceHandler
- func (_m *TokenServiceHandler) EXPECT() *TokenServiceHandler_Expecter
- func (_mock *TokenServiceHandler) List(context1 context.Context, ...) (*connect.Response[adminv1.TokenServiceListResponse], error)
- func (_mock *TokenServiceHandler) Revoke(context1 context.Context, ...) (*connect.Response[adminv1.TokenServiceRevokeResponse], error)
- type TokenServiceHandler_Expecter
- type TokenServiceHandler_List_Call
- func (_c *TokenServiceHandler_List_Call) Return(response *connect.Response[adminv1.TokenServiceListResponse], err error) *TokenServiceHandler_List_Call
- func (_c *TokenServiceHandler_List_Call) Run(run func(context1 context.Context, ...)) *TokenServiceHandler_List_Call
- func (_c *TokenServiceHandler_List_Call) RunAndReturn(...) *TokenServiceHandler_List_Call
- type TokenServiceHandler_Revoke_Call
- func (_c *TokenServiceHandler_Revoke_Call) Return(response *connect.Response[adminv1.TokenServiceRevokeResponse], err error) *TokenServiceHandler_Revoke_Call
- func (_c *TokenServiceHandler_Revoke_Call) Run(run func(context1 context.Context, ...)) *TokenServiceHandler_Revoke_Call
- func (_c *TokenServiceHandler_Revoke_Call) RunAndReturn(...) *TokenServiceHandler_Revoke_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuditServiceClient ¶ added in v0.15.3
AuditServiceClient is an autogenerated mock type for the AuditServiceClient type
func NewAuditServiceClient ¶ added in v0.15.3
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 (_m *AuditServiceClient) EXPECT() *AuditServiceClient_Expecter
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[adminv1.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[adminv1.AuditServiceListRequest]
type AuditServiceClient_Get_Call ¶ added in v0.16.2
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[adminv1.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[adminv1.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[adminv1.AuditServiceGetRequest]) (*connect.Response[adminv1.AuditServiceGetResponse], error)) *AuditServiceClient_Get_Call
type AuditServiceClient_List_Call ¶ added in v0.16.2
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[adminv1.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[adminv1.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[adminv1.AuditServiceListRequest]) (*connect.Response[adminv1.AuditServiceListResponse], error)) *AuditServiceClient_List_Call
type AuditServiceHandler ¶ added in v0.15.3
AuditServiceHandler is an autogenerated mock type for the AuditServiceHandler type
func NewAuditServiceHandler ¶ added in v0.15.3
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 (_m *AuditServiceHandler) EXPECT() *AuditServiceHandler_Expecter
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[adminv1.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[adminv1.AuditServiceListRequest]
type AuditServiceHandler_Get_Call ¶ added in v0.16.2
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[adminv1.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[adminv1.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[adminv1.AuditServiceGetRequest]) (*connect.Response[adminv1.AuditServiceGetResponse], error)) *AuditServiceHandler_Get_Call
type AuditServiceHandler_List_Call ¶ added in v0.16.2
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[adminv1.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[adminv1.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[adminv1.AuditServiceListRequest]) (*connect.Response[adminv1.AuditServiceListResponse], error)) *AuditServiceHandler_List_Call
type ClusterServiceClient ¶
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) Credentials ¶
func (_mock *ClusterServiceClient) Credentials(context1 context.Context, request *connect.Request[adminv1.ClusterServiceCredentialsRequest]) (*connect.Response[adminv1.ClusterServiceCredentialsResponse], error)
Credentials provides a mock function for the type ClusterServiceClient
func (*ClusterServiceClient) EXPECT ¶ added in v0.16.2
func (_m *ClusterServiceClient) EXPECT() *ClusterServiceClient_Expecter
type ClusterServiceClient_Credentials_Call ¶ added in v0.16.2
ClusterServiceClient_Credentials_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Credentials'
func (*ClusterServiceClient_Credentials_Call) Return ¶ added in v0.16.2
func (_c *ClusterServiceClient_Credentials_Call) Return(response *connect.Response[adminv1.ClusterServiceCredentialsResponse], err error) *ClusterServiceClient_Credentials_Call
func (*ClusterServiceClient_Credentials_Call) Run ¶ added in v0.16.2
func (_c *ClusterServiceClient_Credentials_Call) Run(run func(context1 context.Context, request *connect.Request[adminv1.ClusterServiceCredentialsRequest])) *ClusterServiceClient_Credentials_Call
func (*ClusterServiceClient_Credentials_Call) RunAndReturn ¶ added in v0.16.2
func (_c *ClusterServiceClient_Credentials_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[adminv1.ClusterServiceCredentialsRequest]) (*connect.Response[adminv1.ClusterServiceCredentialsResponse], error)) *ClusterServiceClient_Credentials_Call
type ClusterServiceClient_Expecter ¶ added in v0.16.2
type ClusterServiceClient_Expecter struct {
// contains filtered or unexported fields
}
func (*ClusterServiceClient_Expecter) Credentials ¶ added in v0.16.2
func (_e *ClusterServiceClient_Expecter) Credentials(context1 interface{}, request interface{}) *ClusterServiceClient_Credentials_Call
Credentials is a helper method to define mock.On call
- context1 context.Context
- request *connect.Request[adminv1.ClusterServiceCredentialsRequest]
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[adminv1.ClusterServiceGetRequest]
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[adminv1.ClusterServiceListRequest]
type ClusterServiceClient_Get_Call ¶ added in v0.16.2
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[adminv1.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[adminv1.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[adminv1.ClusterServiceGetRequest]) (*connect.Response[adminv1.ClusterServiceGetResponse], error)) *ClusterServiceClient_Get_Call
type ClusterServiceClient_List_Call ¶ added in v0.16.2
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[adminv1.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[adminv1.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[adminv1.ClusterServiceListRequest]) (*connect.Response[adminv1.ClusterServiceListResponse], error)) *ClusterServiceClient_List_Call
type ClusterServiceHandler ¶
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) Credentials ¶
func (_mock *ClusterServiceHandler) Credentials(context1 context.Context, request *connect.Request[adminv1.ClusterServiceCredentialsRequest]) (*connect.Response[adminv1.ClusterServiceCredentialsResponse], error)
Credentials provides a mock function for the type ClusterServiceHandler
func (*ClusterServiceHandler) EXPECT ¶ added in v0.16.2
func (_m *ClusterServiceHandler) EXPECT() *ClusterServiceHandler_Expecter
type ClusterServiceHandler_Credentials_Call ¶ added in v0.16.2
ClusterServiceHandler_Credentials_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Credentials'
func (*ClusterServiceHandler_Credentials_Call) Return ¶ added in v0.16.2
func (_c *ClusterServiceHandler_Credentials_Call) Return(response *connect.Response[adminv1.ClusterServiceCredentialsResponse], err error) *ClusterServiceHandler_Credentials_Call
func (*ClusterServiceHandler_Credentials_Call) Run ¶ added in v0.16.2
func (_c *ClusterServiceHandler_Credentials_Call) Run(run func(context1 context.Context, request *connect.Request[adminv1.ClusterServiceCredentialsRequest])) *ClusterServiceHandler_Credentials_Call
func (*ClusterServiceHandler_Credentials_Call) RunAndReturn ¶ added in v0.16.2
func (_c *ClusterServiceHandler_Credentials_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[adminv1.ClusterServiceCredentialsRequest]) (*connect.Response[adminv1.ClusterServiceCredentialsResponse], error)) *ClusterServiceHandler_Credentials_Call
type ClusterServiceHandler_Expecter ¶ added in v0.16.2
type ClusterServiceHandler_Expecter struct {
// contains filtered or unexported fields
}
func (*ClusterServiceHandler_Expecter) Credentials ¶ added in v0.16.2
func (_e *ClusterServiceHandler_Expecter) Credentials(context1 interface{}, request interface{}) *ClusterServiceHandler_Credentials_Call
Credentials is a helper method to define mock.On call
- context1 context.Context
- request *connect.Request[adminv1.ClusterServiceCredentialsRequest]
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[adminv1.ClusterServiceGetRequest]
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[adminv1.ClusterServiceListRequest]
type ClusterServiceHandler_Get_Call ¶ added in v0.16.2
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[adminv1.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[adminv1.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[adminv1.ClusterServiceGetRequest]) (*connect.Response[adminv1.ClusterServiceGetResponse], error)) *ClusterServiceHandler_Get_Call
type ClusterServiceHandler_List_Call ¶ added in v0.16.2
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[adminv1.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[adminv1.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[adminv1.ClusterServiceListRequest]) (*connect.Response[adminv1.ClusterServiceListResponse], error)) *ClusterServiceHandler_List_Call
type PaymentServiceClient ¶
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) AddBalanceToCustomer ¶
func (_mock *PaymentServiceClient) AddBalanceToCustomer(context1 context.Context, request *connect.Request[adminv1.PaymentServiceAddBalanceToCustomerRequest]) (*connect.Response[adminv1.PaymentServiceAddBalanceToCustomerResponse], error)
AddBalanceToCustomer provides a mock function for the type PaymentServiceClient
func (*PaymentServiceClient) EXPECT ¶ added in v0.16.2
func (_m *PaymentServiceClient) EXPECT() *PaymentServiceClient_Expecter
type PaymentServiceClient_AddBalanceToCustomer_Call ¶ added in v0.16.2
PaymentServiceClient_AddBalanceToCustomer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddBalanceToCustomer'
func (*PaymentServiceClient_AddBalanceToCustomer_Call) Return ¶ added in v0.16.2
func (_c *PaymentServiceClient_AddBalanceToCustomer_Call) Return(response *connect.Response[adminv1.PaymentServiceAddBalanceToCustomerResponse], err error) *PaymentServiceClient_AddBalanceToCustomer_Call
func (*PaymentServiceClient_AddBalanceToCustomer_Call) Run ¶ added in v0.16.2
func (_c *PaymentServiceClient_AddBalanceToCustomer_Call) Run(run func(context1 context.Context, request *connect.Request[adminv1.PaymentServiceAddBalanceToCustomerRequest])) *PaymentServiceClient_AddBalanceToCustomer_Call
func (*PaymentServiceClient_AddBalanceToCustomer_Call) RunAndReturn ¶ added in v0.16.2
func (_c *PaymentServiceClient_AddBalanceToCustomer_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[adminv1.PaymentServiceAddBalanceToCustomerRequest]) (*connect.Response[adminv1.PaymentServiceAddBalanceToCustomerResponse], error)) *PaymentServiceClient_AddBalanceToCustomer_Call
type PaymentServiceClient_Expecter ¶ added in v0.16.2
type PaymentServiceClient_Expecter struct {
// contains filtered or unexported fields
}
func (*PaymentServiceClient_Expecter) AddBalanceToCustomer ¶ added in v0.16.2
func (_e *PaymentServiceClient_Expecter) AddBalanceToCustomer(context1 interface{}, request interface{}) *PaymentServiceClient_AddBalanceToCustomer_Call
AddBalanceToCustomer is a helper method to define mock.On call
- context1 context.Context
- request *connect.Request[adminv1.PaymentServiceAddBalanceToCustomerRequest]
type PaymentServiceHandler ¶
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) AddBalanceToCustomer ¶
func (_mock *PaymentServiceHandler) AddBalanceToCustomer(context1 context.Context, request *connect.Request[adminv1.PaymentServiceAddBalanceToCustomerRequest]) (*connect.Response[adminv1.PaymentServiceAddBalanceToCustomerResponse], error)
AddBalanceToCustomer provides a mock function for the type PaymentServiceHandler
func (*PaymentServiceHandler) EXPECT ¶ added in v0.16.2
func (_m *PaymentServiceHandler) EXPECT() *PaymentServiceHandler_Expecter
type PaymentServiceHandler_AddBalanceToCustomer_Call ¶ added in v0.16.2
PaymentServiceHandler_AddBalanceToCustomer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddBalanceToCustomer'
func (*PaymentServiceHandler_AddBalanceToCustomer_Call) Return ¶ added in v0.16.2
func (_c *PaymentServiceHandler_AddBalanceToCustomer_Call) Return(response *connect.Response[adminv1.PaymentServiceAddBalanceToCustomerResponse], err error) *PaymentServiceHandler_AddBalanceToCustomer_Call
func (*PaymentServiceHandler_AddBalanceToCustomer_Call) Run ¶ added in v0.16.2
func (_c *PaymentServiceHandler_AddBalanceToCustomer_Call) Run(run func(context1 context.Context, request *connect.Request[adminv1.PaymentServiceAddBalanceToCustomerRequest])) *PaymentServiceHandler_AddBalanceToCustomer_Call
func (*PaymentServiceHandler_AddBalanceToCustomer_Call) RunAndReturn ¶ added in v0.16.2
func (_c *PaymentServiceHandler_AddBalanceToCustomer_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[adminv1.PaymentServiceAddBalanceToCustomerRequest]) (*connect.Response[adminv1.PaymentServiceAddBalanceToCustomerResponse], error)) *PaymentServiceHandler_AddBalanceToCustomer_Call
type PaymentServiceHandler_Expecter ¶ added in v0.16.2
type PaymentServiceHandler_Expecter struct {
// contains filtered or unexported fields
}
func (*PaymentServiceHandler_Expecter) AddBalanceToCustomer ¶ added in v0.16.2
func (_e *PaymentServiceHandler_Expecter) AddBalanceToCustomer(context1 interface{}, request interface{}) *PaymentServiceHandler_AddBalanceToCustomer_Call
AddBalanceToCustomer is a helper method to define mock.On call
- context1 context.Context
- request *connect.Request[adminv1.PaymentServiceAddBalanceToCustomerRequest]
type ProjectServiceClient ¶ added in v0.9.6
ProjectServiceClient is an autogenerated mock type for the ProjectServiceClient type
func NewProjectServiceClient ¶ added in v0.9.6
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) EXPECT ¶ added in v0.16.2
func (_m *ProjectServiceClient) EXPECT() *ProjectServiceClient_Expecter
func (*ProjectServiceClient) List ¶ added in v0.9.6
func (_mock *ProjectServiceClient) List(context1 context.Context, request *connect.Request[adminv1.ProjectServiceListRequest]) (*connect.Response[adminv1.ProjectServiceListResponse], error)
List provides a mock function for the type ProjectServiceClient
type ProjectServiceClient_Expecter ¶ added in v0.16.2
type ProjectServiceClient_Expecter struct {
// contains filtered or unexported fields
}
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[adminv1.ProjectServiceListRequest]
type ProjectServiceClient_List_Call ¶ added in v0.16.2
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[adminv1.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[adminv1.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[adminv1.ProjectServiceListRequest]) (*connect.Response[adminv1.ProjectServiceListResponse], error)) *ProjectServiceClient_List_Call
type ProjectServiceHandler ¶ added in v0.9.6
ProjectServiceHandler is an autogenerated mock type for the ProjectServiceHandler type
func NewProjectServiceHandler ¶ added in v0.9.6
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) EXPECT ¶ added in v0.16.2
func (_m *ProjectServiceHandler) EXPECT() *ProjectServiceHandler_Expecter
func (*ProjectServiceHandler) List ¶ added in v0.9.6
func (_mock *ProjectServiceHandler) List(context1 context.Context, request *connect.Request[adminv1.ProjectServiceListRequest]) (*connect.Response[adminv1.ProjectServiceListResponse], error)
List provides a mock function for the type ProjectServiceHandler
type ProjectServiceHandler_Expecter ¶ added in v0.16.2
type ProjectServiceHandler_Expecter struct {
// contains filtered or unexported fields
}
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[adminv1.ProjectServiceListRequest]
type ProjectServiceHandler_List_Call ¶ added in v0.16.2
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[adminv1.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[adminv1.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[adminv1.ProjectServiceListRequest]) (*connect.Response[adminv1.ProjectServiceListResponse], error)) *ProjectServiceHandler_List_Call
type StorageServiceClient ¶
StorageServiceClient is an autogenerated mock type for the StorageServiceClient type
func NewStorageServiceClient ¶
func NewStorageServiceClient(t interface {
mock.TestingT
Cleanup(func())
}) *StorageServiceClient
NewStorageServiceClient creates a new instance of StorageServiceClient. 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 (*StorageServiceClient) ClusterInfo ¶
func (_mock *StorageServiceClient) ClusterInfo(context1 context.Context, request *connect.Request[adminv1.StorageServiceClusterInfoRequest]) (*connect.Response[adminv1.StorageServiceClusterInfoResponse], error)
ClusterInfo provides a mock function for the type StorageServiceClient
func (*StorageServiceClient) EXPECT ¶ added in v0.16.2
func (_m *StorageServiceClient) EXPECT() *StorageServiceClient_Expecter
func (*StorageServiceClient) ListSnapshots ¶
func (_mock *StorageServiceClient) ListSnapshots(context1 context.Context, request *connect.Request[adminv1.StorageServiceListSnapshotsRequest]) (*connect.Response[adminv1.StorageServiceListSnapshotsResponse], error)
ListSnapshots provides a mock function for the type StorageServiceClient
func (*StorageServiceClient) ListVolumes ¶
func (_mock *StorageServiceClient) ListVolumes(context1 context.Context, request *connect.Request[adminv1.StorageServiceListVolumesRequest]) (*connect.Response[adminv1.StorageServiceListVolumesResponse], error)
ListVolumes provides a mock function for the type StorageServiceClient
type StorageServiceClient_ClusterInfo_Call ¶ added in v0.16.2
StorageServiceClient_ClusterInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ClusterInfo'
func (*StorageServiceClient_ClusterInfo_Call) Return ¶ added in v0.16.2
func (_c *StorageServiceClient_ClusterInfo_Call) Return(response *connect.Response[adminv1.StorageServiceClusterInfoResponse], err error) *StorageServiceClient_ClusterInfo_Call
func (*StorageServiceClient_ClusterInfo_Call) Run ¶ added in v0.16.2
func (_c *StorageServiceClient_ClusterInfo_Call) Run(run func(context1 context.Context, request *connect.Request[adminv1.StorageServiceClusterInfoRequest])) *StorageServiceClient_ClusterInfo_Call
func (*StorageServiceClient_ClusterInfo_Call) RunAndReturn ¶ added in v0.16.2
func (_c *StorageServiceClient_ClusterInfo_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[adminv1.StorageServiceClusterInfoRequest]) (*connect.Response[adminv1.StorageServiceClusterInfoResponse], error)) *StorageServiceClient_ClusterInfo_Call
type StorageServiceClient_Expecter ¶ added in v0.16.2
type StorageServiceClient_Expecter struct {
// contains filtered or unexported fields
}
func (*StorageServiceClient_Expecter) ClusterInfo ¶ added in v0.16.2
func (_e *StorageServiceClient_Expecter) ClusterInfo(context1 interface{}, request interface{}) *StorageServiceClient_ClusterInfo_Call
ClusterInfo is a helper method to define mock.On call
- context1 context.Context
- request *connect.Request[adminv1.StorageServiceClusterInfoRequest]
func (*StorageServiceClient_Expecter) ListSnapshots ¶ added in v0.16.2
func (_e *StorageServiceClient_Expecter) ListSnapshots(context1 interface{}, request interface{}) *StorageServiceClient_ListSnapshots_Call
ListSnapshots is a helper method to define mock.On call
- context1 context.Context
- request *connect.Request[adminv1.StorageServiceListSnapshotsRequest]
func (*StorageServiceClient_Expecter) ListVolumes ¶ added in v0.16.2
func (_e *StorageServiceClient_Expecter) ListVolumes(context1 interface{}, request interface{}) *StorageServiceClient_ListVolumes_Call
ListVolumes is a helper method to define mock.On call
- context1 context.Context
- request *connect.Request[adminv1.StorageServiceListVolumesRequest]
type StorageServiceClient_ListSnapshots_Call ¶ added in v0.16.2
StorageServiceClient_ListSnapshots_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListSnapshots'
func (*StorageServiceClient_ListSnapshots_Call) Return ¶ added in v0.16.2
func (_c *StorageServiceClient_ListSnapshots_Call) Return(response *connect.Response[adminv1.StorageServiceListSnapshotsResponse], err error) *StorageServiceClient_ListSnapshots_Call
func (*StorageServiceClient_ListSnapshots_Call) Run ¶ added in v0.16.2
func (_c *StorageServiceClient_ListSnapshots_Call) Run(run func(context1 context.Context, request *connect.Request[adminv1.StorageServiceListSnapshotsRequest])) *StorageServiceClient_ListSnapshots_Call
func (*StorageServiceClient_ListSnapshots_Call) RunAndReturn ¶ added in v0.16.2
func (_c *StorageServiceClient_ListSnapshots_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[adminv1.StorageServiceListSnapshotsRequest]) (*connect.Response[adminv1.StorageServiceListSnapshotsResponse], error)) *StorageServiceClient_ListSnapshots_Call
type StorageServiceClient_ListVolumes_Call ¶ added in v0.16.2
StorageServiceClient_ListVolumes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListVolumes'
func (*StorageServiceClient_ListVolumes_Call) Return ¶ added in v0.16.2
func (_c *StorageServiceClient_ListVolumes_Call) Return(response *connect.Response[adminv1.StorageServiceListVolumesResponse], err error) *StorageServiceClient_ListVolumes_Call
func (*StorageServiceClient_ListVolumes_Call) Run ¶ added in v0.16.2
func (_c *StorageServiceClient_ListVolumes_Call) Run(run func(context1 context.Context, request *connect.Request[adminv1.StorageServiceListVolumesRequest])) *StorageServiceClient_ListVolumes_Call
func (*StorageServiceClient_ListVolumes_Call) RunAndReturn ¶ added in v0.16.2
func (_c *StorageServiceClient_ListVolumes_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[adminv1.StorageServiceListVolumesRequest]) (*connect.Response[adminv1.StorageServiceListVolumesResponse], error)) *StorageServiceClient_ListVolumes_Call
type StorageServiceHandler ¶
StorageServiceHandler is an autogenerated mock type for the StorageServiceHandler type
func NewStorageServiceHandler ¶
func NewStorageServiceHandler(t interface {
mock.TestingT
Cleanup(func())
}) *StorageServiceHandler
NewStorageServiceHandler creates a new instance of StorageServiceHandler. 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 (*StorageServiceHandler) ClusterInfo ¶
func (_mock *StorageServiceHandler) ClusterInfo(context1 context.Context, request *connect.Request[adminv1.StorageServiceClusterInfoRequest]) (*connect.Response[adminv1.StorageServiceClusterInfoResponse], error)
ClusterInfo provides a mock function for the type StorageServiceHandler
func (*StorageServiceHandler) EXPECT ¶ added in v0.16.2
func (_m *StorageServiceHandler) EXPECT() *StorageServiceHandler_Expecter
func (*StorageServiceHandler) ListSnapshots ¶
func (_mock *StorageServiceHandler) ListSnapshots(context1 context.Context, request *connect.Request[adminv1.StorageServiceListSnapshotsRequest]) (*connect.Response[adminv1.StorageServiceListSnapshotsResponse], error)
ListSnapshots provides a mock function for the type StorageServiceHandler
func (*StorageServiceHandler) ListVolumes ¶
func (_mock *StorageServiceHandler) ListVolumes(context1 context.Context, request *connect.Request[adminv1.StorageServiceListVolumesRequest]) (*connect.Response[adminv1.StorageServiceListVolumesResponse], error)
ListVolumes provides a mock function for the type StorageServiceHandler
type StorageServiceHandler_ClusterInfo_Call ¶ added in v0.16.2
StorageServiceHandler_ClusterInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ClusterInfo'
func (*StorageServiceHandler_ClusterInfo_Call) Return ¶ added in v0.16.2
func (_c *StorageServiceHandler_ClusterInfo_Call) Return(response *connect.Response[adminv1.StorageServiceClusterInfoResponse], err error) *StorageServiceHandler_ClusterInfo_Call
func (*StorageServiceHandler_ClusterInfo_Call) Run ¶ added in v0.16.2
func (_c *StorageServiceHandler_ClusterInfo_Call) Run(run func(context1 context.Context, request *connect.Request[adminv1.StorageServiceClusterInfoRequest])) *StorageServiceHandler_ClusterInfo_Call
func (*StorageServiceHandler_ClusterInfo_Call) RunAndReturn ¶ added in v0.16.2
func (_c *StorageServiceHandler_ClusterInfo_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[adminv1.StorageServiceClusterInfoRequest]) (*connect.Response[adminv1.StorageServiceClusterInfoResponse], error)) *StorageServiceHandler_ClusterInfo_Call
type StorageServiceHandler_Expecter ¶ added in v0.16.2
type StorageServiceHandler_Expecter struct {
// contains filtered or unexported fields
}
func (*StorageServiceHandler_Expecter) ClusterInfo ¶ added in v0.16.2
func (_e *StorageServiceHandler_Expecter) ClusterInfo(context1 interface{}, request interface{}) *StorageServiceHandler_ClusterInfo_Call
ClusterInfo is a helper method to define mock.On call
- context1 context.Context
- request *connect.Request[adminv1.StorageServiceClusterInfoRequest]
func (*StorageServiceHandler_Expecter) ListSnapshots ¶ added in v0.16.2
func (_e *StorageServiceHandler_Expecter) ListSnapshots(context1 interface{}, request interface{}) *StorageServiceHandler_ListSnapshots_Call
ListSnapshots is a helper method to define mock.On call
- context1 context.Context
- request *connect.Request[adminv1.StorageServiceListSnapshotsRequest]
func (*StorageServiceHandler_Expecter) ListVolumes ¶ added in v0.16.2
func (_e *StorageServiceHandler_Expecter) ListVolumes(context1 interface{}, request interface{}) *StorageServiceHandler_ListVolumes_Call
ListVolumes is a helper method to define mock.On call
- context1 context.Context
- request *connect.Request[adminv1.StorageServiceListVolumesRequest]
type StorageServiceHandler_ListSnapshots_Call ¶ added in v0.16.2
StorageServiceHandler_ListSnapshots_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListSnapshots'
func (*StorageServiceHandler_ListSnapshots_Call) Return ¶ added in v0.16.2
func (_c *StorageServiceHandler_ListSnapshots_Call) Return(response *connect.Response[adminv1.StorageServiceListSnapshotsResponse], err error) *StorageServiceHandler_ListSnapshots_Call
func (*StorageServiceHandler_ListSnapshots_Call) Run ¶ added in v0.16.2
func (_c *StorageServiceHandler_ListSnapshots_Call) Run(run func(context1 context.Context, request *connect.Request[adminv1.StorageServiceListSnapshotsRequest])) *StorageServiceHandler_ListSnapshots_Call
func (*StorageServiceHandler_ListSnapshots_Call) RunAndReturn ¶ added in v0.16.2
func (_c *StorageServiceHandler_ListSnapshots_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[adminv1.StorageServiceListSnapshotsRequest]) (*connect.Response[adminv1.StorageServiceListSnapshotsResponse], error)) *StorageServiceHandler_ListSnapshots_Call
type StorageServiceHandler_ListVolumes_Call ¶ added in v0.16.2
StorageServiceHandler_ListVolumes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListVolumes'
func (*StorageServiceHandler_ListVolumes_Call) Return ¶ added in v0.16.2
func (_c *StorageServiceHandler_ListVolumes_Call) Return(response *connect.Response[adminv1.StorageServiceListVolumesResponse], err error) *StorageServiceHandler_ListVolumes_Call
func (*StorageServiceHandler_ListVolumes_Call) Run ¶ added in v0.16.2
func (_c *StorageServiceHandler_ListVolumes_Call) Run(run func(context1 context.Context, request *connect.Request[adminv1.StorageServiceListVolumesRequest])) *StorageServiceHandler_ListVolumes_Call
func (*StorageServiceHandler_ListVolumes_Call) RunAndReturn ¶ added in v0.16.2
func (_c *StorageServiceHandler_ListVolumes_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[adminv1.StorageServiceListVolumesRequest]) (*connect.Response[adminv1.StorageServiceListVolumesResponse], error)) *StorageServiceHandler_ListVolumes_Call
type TenantServiceClient ¶
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) AddMember ¶ added in v0.9.6
func (_mock *TenantServiceClient) AddMember(context1 context.Context, request *connect.Request[adminv1.TenantServiceAddMemberRequest]) (*connect.Response[adminv1.TenantServiceAddMemberResponse], error)
AddMember provides a mock function for the type TenantServiceClient
func (*TenantServiceClient) Admit ¶
func (_mock *TenantServiceClient) Admit(context1 context.Context, request *connect.Request[adminv1.TenantServiceAdmitRequest]) (*connect.Response[adminv1.TenantServiceAdmitResponse], error)
Admit provides a mock function for the type TenantServiceClient
func (*TenantServiceClient) EXPECT ¶ added in v0.16.2
func (_m *TenantServiceClient) EXPECT() *TenantServiceClient_Expecter
type TenantServiceClient_AddMember_Call ¶ added in v0.16.2
TenantServiceClient_AddMember_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddMember'
func (*TenantServiceClient_AddMember_Call) Return ¶ added in v0.16.2
func (_c *TenantServiceClient_AddMember_Call) Return(response *connect.Response[adminv1.TenantServiceAddMemberResponse], err error) *TenantServiceClient_AddMember_Call
func (*TenantServiceClient_AddMember_Call) Run ¶ added in v0.16.2
func (_c *TenantServiceClient_AddMember_Call) Run(run func(context1 context.Context, request *connect.Request[adminv1.TenantServiceAddMemberRequest])) *TenantServiceClient_AddMember_Call
func (*TenantServiceClient_AddMember_Call) RunAndReturn ¶ added in v0.16.2
func (_c *TenantServiceClient_AddMember_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[adminv1.TenantServiceAddMemberRequest]) (*connect.Response[adminv1.TenantServiceAddMemberResponse], error)) *TenantServiceClient_AddMember_Call
type TenantServiceClient_Admit_Call ¶ added in v0.16.2
TenantServiceClient_Admit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Admit'
func (*TenantServiceClient_Admit_Call) Return ¶ added in v0.16.2
func (_c *TenantServiceClient_Admit_Call) Return(response *connect.Response[adminv1.TenantServiceAdmitResponse], err error) *TenantServiceClient_Admit_Call
func (*TenantServiceClient_Admit_Call) Run ¶ added in v0.16.2
func (_c *TenantServiceClient_Admit_Call) Run(run func(context1 context.Context, request *connect.Request[adminv1.TenantServiceAdmitRequest])) *TenantServiceClient_Admit_Call
func (*TenantServiceClient_Admit_Call) RunAndReturn ¶ added in v0.16.2
func (_c *TenantServiceClient_Admit_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[adminv1.TenantServiceAdmitRequest]) (*connect.Response[adminv1.TenantServiceAdmitResponse], error)) *TenantServiceClient_Admit_Call
type TenantServiceClient_Expecter ¶ added in v0.16.2
type TenantServiceClient_Expecter struct {
// contains filtered or unexported fields
}
func (*TenantServiceClient_Expecter) AddMember ¶ added in v0.16.2
func (_e *TenantServiceClient_Expecter) AddMember(context1 interface{}, request interface{}) *TenantServiceClient_AddMember_Call
AddMember is a helper method to define mock.On call
- context1 context.Context
- request *connect.Request[adminv1.TenantServiceAddMemberRequest]
func (*TenantServiceClient_Expecter) Admit ¶ added in v0.16.2
func (_e *TenantServiceClient_Expecter) Admit(context1 interface{}, request interface{}) *TenantServiceClient_Admit_Call
Admit is a helper method to define mock.On call
- context1 context.Context
- request *connect.Request[adminv1.TenantServiceAdmitRequest]
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[adminv1.TenantServiceListRequest]
func (*TenantServiceClient_Expecter) Revoke ¶ added in v0.16.2
func (_e *TenantServiceClient_Expecter) Revoke(context1 interface{}, request interface{}) *TenantServiceClient_Revoke_Call
Revoke is a helper method to define mock.On call
- context1 context.Context
- request *connect.Request[adminv1.TenantServiceRevokeRequest]
type TenantServiceClient_List_Call ¶ added in v0.16.2
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[adminv1.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[adminv1.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[adminv1.TenantServiceListRequest]) (*connect.Response[adminv1.TenantServiceListResponse], error)) *TenantServiceClient_List_Call
type TenantServiceClient_Revoke_Call ¶ added in v0.16.2
TenantServiceClient_Revoke_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Revoke'
func (*TenantServiceClient_Revoke_Call) Return ¶ added in v0.16.2
func (_c *TenantServiceClient_Revoke_Call) Return(response *connect.Response[adminv1.TenantServiceRevokeResponse], err error) *TenantServiceClient_Revoke_Call
func (*TenantServiceClient_Revoke_Call) Run ¶ added in v0.16.2
func (_c *TenantServiceClient_Revoke_Call) Run(run func(context1 context.Context, request *connect.Request[adminv1.TenantServiceRevokeRequest])) *TenantServiceClient_Revoke_Call
func (*TenantServiceClient_Revoke_Call) RunAndReturn ¶ added in v0.16.2
func (_c *TenantServiceClient_Revoke_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[adminv1.TenantServiceRevokeRequest]) (*connect.Response[adminv1.TenantServiceRevokeResponse], error)) *TenantServiceClient_Revoke_Call
type TenantServiceHandler ¶
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) AddMember ¶ added in v0.9.6
func (_mock *TenantServiceHandler) AddMember(context1 context.Context, request *connect.Request[adminv1.TenantServiceAddMemberRequest]) (*connect.Response[adminv1.TenantServiceAddMemberResponse], error)
AddMember provides a mock function for the type TenantServiceHandler
func (*TenantServiceHandler) Admit ¶
func (_mock *TenantServiceHandler) Admit(context1 context.Context, request *connect.Request[adminv1.TenantServiceAdmitRequest]) (*connect.Response[adminv1.TenantServiceAdmitResponse], error)
Admit provides a mock function for the type TenantServiceHandler
func (*TenantServiceHandler) EXPECT ¶ added in v0.16.2
func (_m *TenantServiceHandler) EXPECT() *TenantServiceHandler_Expecter
type TenantServiceHandler_AddMember_Call ¶ added in v0.16.2
TenantServiceHandler_AddMember_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddMember'
func (*TenantServiceHandler_AddMember_Call) Return ¶ added in v0.16.2
func (_c *TenantServiceHandler_AddMember_Call) Return(response *connect.Response[adminv1.TenantServiceAddMemberResponse], err error) *TenantServiceHandler_AddMember_Call
func (*TenantServiceHandler_AddMember_Call) Run ¶ added in v0.16.2
func (_c *TenantServiceHandler_AddMember_Call) Run(run func(context1 context.Context, request *connect.Request[adminv1.TenantServiceAddMemberRequest])) *TenantServiceHandler_AddMember_Call
func (*TenantServiceHandler_AddMember_Call) RunAndReturn ¶ added in v0.16.2
func (_c *TenantServiceHandler_AddMember_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[adminv1.TenantServiceAddMemberRequest]) (*connect.Response[adminv1.TenantServiceAddMemberResponse], error)) *TenantServiceHandler_AddMember_Call
type TenantServiceHandler_Admit_Call ¶ added in v0.16.2
TenantServiceHandler_Admit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Admit'
func (*TenantServiceHandler_Admit_Call) Return ¶ added in v0.16.2
func (_c *TenantServiceHandler_Admit_Call) Return(response *connect.Response[adminv1.TenantServiceAdmitResponse], err error) *TenantServiceHandler_Admit_Call
func (*TenantServiceHandler_Admit_Call) Run ¶ added in v0.16.2
func (_c *TenantServiceHandler_Admit_Call) Run(run func(context1 context.Context, request *connect.Request[adminv1.TenantServiceAdmitRequest])) *TenantServiceHandler_Admit_Call
func (*TenantServiceHandler_Admit_Call) RunAndReturn ¶ added in v0.16.2
func (_c *TenantServiceHandler_Admit_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[adminv1.TenantServiceAdmitRequest]) (*connect.Response[adminv1.TenantServiceAdmitResponse], error)) *TenantServiceHandler_Admit_Call
type TenantServiceHandler_Expecter ¶ added in v0.16.2
type TenantServiceHandler_Expecter struct {
// contains filtered or unexported fields
}
func (*TenantServiceHandler_Expecter) AddMember ¶ added in v0.16.2
func (_e *TenantServiceHandler_Expecter) AddMember(context1 interface{}, request interface{}) *TenantServiceHandler_AddMember_Call
AddMember is a helper method to define mock.On call
- context1 context.Context
- request *connect.Request[adminv1.TenantServiceAddMemberRequest]
func (*TenantServiceHandler_Expecter) Admit ¶ added in v0.16.2
func (_e *TenantServiceHandler_Expecter) Admit(context1 interface{}, request interface{}) *TenantServiceHandler_Admit_Call
Admit is a helper method to define mock.On call
- context1 context.Context
- request *connect.Request[adminv1.TenantServiceAdmitRequest]
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[adminv1.TenantServiceListRequest]
func (*TenantServiceHandler_Expecter) Revoke ¶ added in v0.16.2
func (_e *TenantServiceHandler_Expecter) Revoke(context1 interface{}, request interface{}) *TenantServiceHandler_Revoke_Call
Revoke is a helper method to define mock.On call
- context1 context.Context
- request *connect.Request[adminv1.TenantServiceRevokeRequest]
type TenantServiceHandler_List_Call ¶ added in v0.16.2
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[adminv1.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[adminv1.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[adminv1.TenantServiceListRequest]) (*connect.Response[adminv1.TenantServiceListResponse], error)) *TenantServiceHandler_List_Call
type TenantServiceHandler_Revoke_Call ¶ added in v0.16.2
TenantServiceHandler_Revoke_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Revoke'
func (*TenantServiceHandler_Revoke_Call) Return ¶ added in v0.16.2
func (_c *TenantServiceHandler_Revoke_Call) Return(response *connect.Response[adminv1.TenantServiceRevokeResponse], err error) *TenantServiceHandler_Revoke_Call
func (*TenantServiceHandler_Revoke_Call) Run ¶ added in v0.16.2
func (_c *TenantServiceHandler_Revoke_Call) Run(run func(context1 context.Context, request *connect.Request[adminv1.TenantServiceRevokeRequest])) *TenantServiceHandler_Revoke_Call
func (*TenantServiceHandler_Revoke_Call) RunAndReturn ¶ added in v0.16.2
func (_c *TenantServiceHandler_Revoke_Call) RunAndReturn(run func(context1 context.Context, request *connect.Request[adminv1.TenantServiceRevokeRequest]) (*connect.Response[adminv1.TenantServiceRevokeResponse], error)) *TenantServiceHandler_Revoke_Call
type TokenServiceClient ¶
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) EXPECT ¶ added in v0.16.2
func (_m *TokenServiceClient) EXPECT() *TokenServiceClient_Expecter
type TokenServiceClient_Expecter ¶ added in v0.16.2
type TokenServiceClient_Expecter struct {
// contains filtered or unexported fields
}
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[adminv1.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[adminv1.TokenServiceRevokeRequest]
type TokenServiceClient_List_Call ¶ added in v0.16.2
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[adminv1.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[adminv1.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[adminv1.TokenServiceListRequest]) (*connect.Response[adminv1.TokenServiceListResponse], error)) *TokenServiceClient_List_Call
type TokenServiceClient_Revoke_Call ¶ added in v0.16.2
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[adminv1.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[adminv1.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[adminv1.TokenServiceRevokeRequest]) (*connect.Response[adminv1.TokenServiceRevokeResponse], error)) *TokenServiceClient_Revoke_Call
type TokenServiceHandler ¶
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) EXPECT ¶ added in v0.16.2
func (_m *TokenServiceHandler) EXPECT() *TokenServiceHandler_Expecter
type TokenServiceHandler_Expecter ¶ added in v0.16.2
type TokenServiceHandler_Expecter struct {
// contains filtered or unexported fields
}
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[adminv1.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[adminv1.TokenServiceRevokeRequest]
type TokenServiceHandler_List_Call ¶ added in v0.16.2
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[adminv1.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[adminv1.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[adminv1.TokenServiceListRequest]) (*connect.Response[adminv1.TokenServiceListResponse], error)) *TokenServiceHandler_List_Call
type TokenServiceHandler_Revoke_Call ¶ added in v0.16.2
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[adminv1.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[adminv1.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[adminv1.TokenServiceRevokeRequest]) (*connect.Response[adminv1.TokenServiceRevokeResponse], error)) *TokenServiceHandler_Revoke_Call
Source Files
¶
- AuditServiceClient.go
- AuditServiceHandler.go
- ClusterServiceClient.go
- ClusterServiceHandler.go
- PaymentServiceClient.go
- PaymentServiceHandler.go
- ProjectServiceClient.go
- ProjectServiceHandler.go
- StorageServiceClient.go
- StorageServiceHandler.go
- TenantServiceClient.go
- TenantServiceHandler.go
- TokenServiceClient.go
- TokenServiceHandler.go