Documentation
¶
Index ¶
- type AuditServiceClient
- func (_m *AuditServiceClient) Get(_a0 context.Context, _a1 *connect.Request[adminv1.AuditServiceGetRequest]) (*connect.Response[adminv1.AuditServiceGetResponse], error)
- func (_m *AuditServiceClient) List(_a0 context.Context, _a1 *connect.Request[adminv1.AuditServiceListRequest]) (*connect.Response[adminv1.AuditServiceListResponse], error)
- type AuditServiceHandler
- func (_m *AuditServiceHandler) Get(_a0 context.Context, _a1 *connect.Request[adminv1.AuditServiceGetRequest]) (*connect.Response[adminv1.AuditServiceGetResponse], error)
- func (_m *AuditServiceHandler) List(_a0 context.Context, _a1 *connect.Request[adminv1.AuditServiceListRequest]) (*connect.Response[adminv1.AuditServiceListResponse], error)
- type ClusterServiceClient
- func (_m *ClusterServiceClient) Credentials(_a0 context.Context, ...) (*connect.Response[adminv1.ClusterServiceCredentialsResponse], error)
- func (_m *ClusterServiceClient) Get(_a0 context.Context, _a1 *connect.Request[adminv1.ClusterServiceGetRequest]) (*connect.Response[adminv1.ClusterServiceGetResponse], error)
- func (_m *ClusterServiceClient) List(_a0 context.Context, _a1 *connect.Request[adminv1.ClusterServiceListRequest]) (*connect.Response[adminv1.ClusterServiceListResponse], error)
- type ClusterServiceHandler
- func (_m *ClusterServiceHandler) Credentials(_a0 context.Context, ...) (*connect.Response[adminv1.ClusterServiceCredentialsResponse], error)
- func (_m *ClusterServiceHandler) Get(_a0 context.Context, _a1 *connect.Request[adminv1.ClusterServiceGetRequest]) (*connect.Response[adminv1.ClusterServiceGetResponse], error)
- func (_m *ClusterServiceHandler) List(_a0 context.Context, _a1 *connect.Request[adminv1.ClusterServiceListRequest]) (*connect.Response[adminv1.ClusterServiceListResponse], error)
- type PaymentServiceClient
- type PaymentServiceHandler
- type ProjectServiceClient
- type ProjectServiceHandler
- type StorageServiceClient
- func (_m *StorageServiceClient) ClusterInfo(_a0 context.Context, ...) (*connect.Response[adminv1.StorageServiceClusterInfoResponse], error)
- func (_m *StorageServiceClient) ListSnapshots(_a0 context.Context, ...) (*connect.Response[adminv1.StorageServiceListSnapshotsResponse], error)
- func (_m *StorageServiceClient) ListVolumes(_a0 context.Context, ...) (*connect.Response[adminv1.StorageServiceListVolumesResponse], error)
- type StorageServiceHandler
- func (_m *StorageServiceHandler) ClusterInfo(_a0 context.Context, ...) (*connect.Response[adminv1.StorageServiceClusterInfoResponse], error)
- func (_m *StorageServiceHandler) ListSnapshots(_a0 context.Context, ...) (*connect.Response[adminv1.StorageServiceListSnapshotsResponse], error)
- func (_m *StorageServiceHandler) ListVolumes(_a0 context.Context, ...) (*connect.Response[adminv1.StorageServiceListVolumesResponse], error)
- type TenantServiceClient
- func (_m *TenantServiceClient) AddMember(_a0 context.Context, ...) (*connect.Response[adminv1.TenantServiceAddMemberResponse], error)
- func (_m *TenantServiceClient) Admit(_a0 context.Context, _a1 *connect.Request[adminv1.TenantServiceAdmitRequest]) (*connect.Response[adminv1.TenantServiceAdmitResponse], error)
- func (_m *TenantServiceClient) List(_a0 context.Context, _a1 *connect.Request[adminv1.TenantServiceListRequest]) (*connect.Response[adminv1.TenantServiceListResponse], error)
- func (_m *TenantServiceClient) Revoke(_a0 context.Context, _a1 *connect.Request[adminv1.TenantServiceRevokeRequest]) (*connect.Response[adminv1.TenantServiceRevokeResponse], error)
- type TenantServiceHandler
- func (_m *TenantServiceHandler) AddMember(_a0 context.Context, ...) (*connect.Response[adminv1.TenantServiceAddMemberResponse], error)
- func (_m *TenantServiceHandler) Admit(_a0 context.Context, _a1 *connect.Request[adminv1.TenantServiceAdmitRequest]) (*connect.Response[adminv1.TenantServiceAdmitResponse], error)
- func (_m *TenantServiceHandler) List(_a0 context.Context, _a1 *connect.Request[adminv1.TenantServiceListRequest]) (*connect.Response[adminv1.TenantServiceListResponse], error)
- func (_m *TenantServiceHandler) Revoke(_a0 context.Context, _a1 *connect.Request[adminv1.TenantServiceRevokeRequest]) (*connect.Response[adminv1.TenantServiceRevokeResponse], error)
- type TokenServiceClient
- func (_m *TokenServiceClient) List(_a0 context.Context, _a1 *connect.Request[adminv1.TokenServiceListRequest]) (*connect.Response[adminv1.TokenServiceListResponse], error)
- func (_m *TokenServiceClient) Revoke(_a0 context.Context, _a1 *connect.Request[adminv1.TokenServiceRevokeRequest]) (*connect.Response[adminv1.TokenServiceRevokeResponse], error)
- type TokenServiceHandler
- func (_m *TokenServiceHandler) List(_a0 context.Context, _a1 *connect.Request[adminv1.TokenServiceListRequest]) (*connect.Response[adminv1.TokenServiceListResponse], error)
- func (_m *TokenServiceHandler) Revoke(_a0 context.Context, _a1 *connect.Request[adminv1.TokenServiceRevokeRequest]) (*connect.Response[adminv1.TokenServiceRevokeResponse], error)
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) Get ¶ added in v0.15.4
func (_m *AuditServiceClient) Get(_a0 context.Context, _a1 *connect.Request[adminv1.AuditServiceGetRequest]) (*connect.Response[adminv1.AuditServiceGetResponse], error)
Get provides a mock function with given fields: _a0, _a1
func (*AuditServiceClient) List ¶ added in v0.15.3
func (_m *AuditServiceClient) List(_a0 context.Context, _a1 *connect.Request[adminv1.AuditServiceListRequest]) (*connect.Response[adminv1.AuditServiceListResponse], error)
List provides a mock function with given fields: _a0, _a1
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) Get ¶ added in v0.15.4
func (_m *AuditServiceHandler) Get(_a0 context.Context, _a1 *connect.Request[adminv1.AuditServiceGetRequest]) (*connect.Response[adminv1.AuditServiceGetResponse], error)
Get provides a mock function with given fields: _a0, _a1
func (*AuditServiceHandler) List ¶ added in v0.15.3
func (_m *AuditServiceHandler) List(_a0 context.Context, _a1 *connect.Request[adminv1.AuditServiceListRequest]) (*connect.Response[adminv1.AuditServiceListResponse], error)
List provides a mock function with given fields: _a0, _a1
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 (_m *ClusterServiceClient) Credentials(_a0 context.Context, _a1 *connect.Request[adminv1.ClusterServiceCredentialsRequest]) (*connect.Response[adminv1.ClusterServiceCredentialsResponse], error)
Credentials provides a mock function with given fields: _a0, _a1
func (*ClusterServiceClient) Get ¶
func (_m *ClusterServiceClient) Get(_a0 context.Context, _a1 *connect.Request[adminv1.ClusterServiceGetRequest]) (*connect.Response[adminv1.ClusterServiceGetResponse], error)
Get provides a mock function with given fields: _a0, _a1
func (*ClusterServiceClient) List ¶
func (_m *ClusterServiceClient) List(_a0 context.Context, _a1 *connect.Request[adminv1.ClusterServiceListRequest]) (*connect.Response[adminv1.ClusterServiceListResponse], error)
List provides a mock function with given fields: _a0, _a1
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 (_m *ClusterServiceHandler) Credentials(_a0 context.Context, _a1 *connect.Request[adminv1.ClusterServiceCredentialsRequest]) (*connect.Response[adminv1.ClusterServiceCredentialsResponse], error)
Credentials provides a mock function with given fields: _a0, _a1
func (*ClusterServiceHandler) Get ¶
func (_m *ClusterServiceHandler) Get(_a0 context.Context, _a1 *connect.Request[adminv1.ClusterServiceGetRequest]) (*connect.Response[adminv1.ClusterServiceGetResponse], error)
Get provides a mock function with given fields: _a0, _a1
func (*ClusterServiceHandler) List ¶
func (_m *ClusterServiceHandler) List(_a0 context.Context, _a1 *connect.Request[adminv1.ClusterServiceListRequest]) (*connect.Response[adminv1.ClusterServiceListResponse], error)
List provides a mock function with given fields: _a0, _a1
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 (_m *PaymentServiceClient) AddBalanceToCustomer(_a0 context.Context, _a1 *connect.Request[adminv1.PaymentServiceAddBalanceToCustomerRequest]) (*connect.Response[adminv1.PaymentServiceAddBalanceToCustomerResponse], error)
AddBalanceToCustomer provides a mock function with given fields: _a0, _a1
func (*PaymentServiceClient) ListCoupons ¶
func (_m *PaymentServiceClient) ListCoupons(_a0 context.Context, _a1 *connect.Request[adminv1.PaymentServiceListCouponsRequest]) (*connect.Response[adminv1.PaymentServiceListCouponsResponse], error)
ListCoupons provides a mock function with given fields: _a0, _a1
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 (_m *PaymentServiceHandler) AddBalanceToCustomer(_a0 context.Context, _a1 *connect.Request[adminv1.PaymentServiceAddBalanceToCustomerRequest]) (*connect.Response[adminv1.PaymentServiceAddBalanceToCustomerResponse], error)
AddBalanceToCustomer provides a mock function with given fields: _a0, _a1
func (*PaymentServiceHandler) ListCoupons ¶
func (_m *PaymentServiceHandler) ListCoupons(_a0 context.Context, _a1 *connect.Request[adminv1.PaymentServiceListCouponsRequest]) (*connect.Response[adminv1.PaymentServiceListCouponsResponse], error)
ListCoupons provides a mock function with given fields: _a0, _a1
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) List ¶ added in v0.9.6
func (_m *ProjectServiceClient) List(_a0 context.Context, _a1 *connect.Request[adminv1.ProjectServiceListRequest]) (*connect.Response[adminv1.ProjectServiceListResponse], error)
List provides a mock function with given fields: _a0, _a1
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) List ¶ added in v0.9.6
func (_m *ProjectServiceHandler) List(_a0 context.Context, _a1 *connect.Request[adminv1.ProjectServiceListRequest]) (*connect.Response[adminv1.ProjectServiceListResponse], error)
List provides a mock function with given fields: _a0, _a1
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 (_m *StorageServiceClient) ClusterInfo(_a0 context.Context, _a1 *connect.Request[adminv1.StorageServiceClusterInfoRequest]) (*connect.Response[adminv1.StorageServiceClusterInfoResponse], error)
ClusterInfo provides a mock function with given fields: _a0, _a1
func (*StorageServiceClient) ListSnapshots ¶
func (_m *StorageServiceClient) ListSnapshots(_a0 context.Context, _a1 *connect.Request[adminv1.StorageServiceListSnapshotsRequest]) (*connect.Response[adminv1.StorageServiceListSnapshotsResponse], error)
ListSnapshots provides a mock function with given fields: _a0, _a1
func (*StorageServiceClient) ListVolumes ¶
func (_m *StorageServiceClient) ListVolumes(_a0 context.Context, _a1 *connect.Request[adminv1.StorageServiceListVolumesRequest]) (*connect.Response[adminv1.StorageServiceListVolumesResponse], error)
ListVolumes provides a mock function with given fields: _a0, _a1
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 (_m *StorageServiceHandler) ClusterInfo(_a0 context.Context, _a1 *connect.Request[adminv1.StorageServiceClusterInfoRequest]) (*connect.Response[adminv1.StorageServiceClusterInfoResponse], error)
ClusterInfo provides a mock function with given fields: _a0, _a1
func (*StorageServiceHandler) ListSnapshots ¶
func (_m *StorageServiceHandler) ListSnapshots(_a0 context.Context, _a1 *connect.Request[adminv1.StorageServiceListSnapshotsRequest]) (*connect.Response[adminv1.StorageServiceListSnapshotsResponse], error)
ListSnapshots provides a mock function with given fields: _a0, _a1
func (*StorageServiceHandler) ListVolumes ¶
func (_m *StorageServiceHandler) ListVolumes(_a0 context.Context, _a1 *connect.Request[adminv1.StorageServiceListVolumesRequest]) (*connect.Response[adminv1.StorageServiceListVolumesResponse], error)
ListVolumes provides a mock function with given fields: _a0, _a1
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 (_m *TenantServiceClient) AddMember(_a0 context.Context, _a1 *connect.Request[adminv1.TenantServiceAddMemberRequest]) (*connect.Response[adminv1.TenantServiceAddMemberResponse], error)
AddMember provides a mock function with given fields: _a0, _a1
func (*TenantServiceClient) Admit ¶
func (_m *TenantServiceClient) Admit(_a0 context.Context, _a1 *connect.Request[adminv1.TenantServiceAdmitRequest]) (*connect.Response[adminv1.TenantServiceAdmitResponse], error)
Admit provides a mock function with given fields: _a0, _a1
func (*TenantServiceClient) List ¶
func (_m *TenantServiceClient) List(_a0 context.Context, _a1 *connect.Request[adminv1.TenantServiceListRequest]) (*connect.Response[adminv1.TenantServiceListResponse], error)
List provides a mock function with given fields: _a0, _a1
func (*TenantServiceClient) Revoke ¶
func (_m *TenantServiceClient) Revoke(_a0 context.Context, _a1 *connect.Request[adminv1.TenantServiceRevokeRequest]) (*connect.Response[adminv1.TenantServiceRevokeResponse], error)
Revoke provides a mock function with given fields: _a0, _a1
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 (_m *TenantServiceHandler) AddMember(_a0 context.Context, _a1 *connect.Request[adminv1.TenantServiceAddMemberRequest]) (*connect.Response[adminv1.TenantServiceAddMemberResponse], error)
AddMember provides a mock function with given fields: _a0, _a1
func (*TenantServiceHandler) Admit ¶
func (_m *TenantServiceHandler) Admit(_a0 context.Context, _a1 *connect.Request[adminv1.TenantServiceAdmitRequest]) (*connect.Response[adminv1.TenantServiceAdmitResponse], error)
Admit provides a mock function with given fields: _a0, _a1
func (*TenantServiceHandler) List ¶
func (_m *TenantServiceHandler) List(_a0 context.Context, _a1 *connect.Request[adminv1.TenantServiceListRequest]) (*connect.Response[adminv1.TenantServiceListResponse], error)
List provides a mock function with given fields: _a0, _a1
func (*TenantServiceHandler) Revoke ¶
func (_m *TenantServiceHandler) Revoke(_a0 context.Context, _a1 *connect.Request[adminv1.TenantServiceRevokeRequest]) (*connect.Response[adminv1.TenantServiceRevokeResponse], error)
Revoke provides a mock function with given fields: _a0, _a1
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) List ¶
func (_m *TokenServiceClient) List(_a0 context.Context, _a1 *connect.Request[adminv1.TokenServiceListRequest]) (*connect.Response[adminv1.TokenServiceListResponse], error)
List provides a mock function with given fields: _a0, _a1
func (*TokenServiceClient) Revoke ¶
func (_m *TokenServiceClient) Revoke(_a0 context.Context, _a1 *connect.Request[adminv1.TokenServiceRevokeRequest]) (*connect.Response[adminv1.TokenServiceRevokeResponse], error)
Revoke provides a mock function with given fields: _a0, _a1
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) List ¶
func (_m *TokenServiceHandler) List(_a0 context.Context, _a1 *connect.Request[adminv1.TokenServiceListRequest]) (*connect.Response[adminv1.TokenServiceListResponse], error)
List provides a mock function with given fields: _a0, _a1
func (*TokenServiceHandler) Revoke ¶
func (_m *TokenServiceHandler) Revoke(_a0 context.Context, _a1 *connect.Request[adminv1.TokenServiceRevokeRequest]) (*connect.Response[adminv1.TokenServiceRevokeResponse], error)
Revoke provides a mock function with given fields: _a0, _a1
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