Documentation
¶
Index ¶
- 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
- func (_m *PaymentServiceClient) AddBalanceToCustomer(_a0 context.Context, ...) (*connect.Response[adminv1.PaymentServiceAddBalanceToCustomerResponse], error)
- func (_m *PaymentServiceClient) AddCouponToCustomer(_a0 context.Context, ...) (*connect.Response[adminv1.PaymentServiceAddCouponToCustomerResponse], error)
- func (_m *PaymentServiceClient) ListCoupons(_a0 context.Context, ...) (*connect.Response[adminv1.PaymentServiceListCouponsResponse], error)
- type PaymentServiceHandler
- func (_m *PaymentServiceHandler) AddBalanceToCustomer(_a0 context.Context, ...) (*connect.Response[adminv1.PaymentServiceAddBalanceToCustomerResponse], error)
- func (_m *PaymentServiceHandler) AddCouponToCustomer(_a0 context.Context, ...) (*connect.Response[adminv1.PaymentServiceAddCouponToCustomerResponse], error)
- func (_m *PaymentServiceHandler) ListCoupons(_a0 context.Context, ...) (*connect.Response[adminv1.PaymentServiceListCouponsResponse], error)
- 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) 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) 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 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) AddCouponToCustomer ¶
func (_m *PaymentServiceClient) AddCouponToCustomer(_a0 context.Context, _a1 *connect.Request[adminv1.PaymentServiceAddCouponToCustomerRequest]) (*connect.Response[adminv1.PaymentServiceAddCouponToCustomerResponse], error)
AddCouponToCustomer 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) AddCouponToCustomer ¶
func (_m *PaymentServiceHandler) AddCouponToCustomer(_a0 context.Context, _a1 *connect.Request[adminv1.PaymentServiceAddCouponToCustomerRequest]) (*connect.Response[adminv1.PaymentServiceAddCouponToCustomerResponse], error)
AddCouponToCustomer 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 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) 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) 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