Documentation ¶
Index ¶
- type ClusterServiceClient
- func (_m *ClusterServiceClient) Added(ctx context.Context, in *v1.ClusterReport, opts ...grpc.CallOption) (*v1.Empty, error)
- func (_m *ClusterServiceClient) Deleted(ctx context.Context, in *v1.ClusterReport, opts ...grpc.CallOption) (*v1.Empty, error)
- func (_m *ClusterServiceClient) Modified(ctx context.Context, in *v1.ClusterReport, opts ...grpc.CallOption) (*v1.Empty, error)
- func (_m *ClusterServiceClient) Usage(ctx context.Context, in *v1.ClusterUsageRequest, opts ...grpc.CallOption) (*v1.ClusterUsageResponse, error)
- type ClusterServiceServer
- func (_m *ClusterServiceServer) Added(_a0 context.Context, _a1 *v1.ClusterReport) (*v1.Empty, error)
- func (_m *ClusterServiceServer) Deleted(_a0 context.Context, _a1 *v1.ClusterReport) (*v1.Empty, error)
- func (_m *ClusterServiceServer) Modified(_a0 context.Context, _a1 *v1.ClusterReport) (*v1.Empty, error)
- func (_m *ClusterServiceServer) Usage(_a0 context.Context, _a1 *v1.ClusterUsageRequest) (*v1.ClusterUsageResponse, error)
- type IPServiceClient
- func (_m *IPServiceClient) Added(ctx context.Context, in *v1.IPReport, opts ...grpc.CallOption) (*v1.Empty, error)
- func (_m *IPServiceClient) Deleted(ctx context.Context, in *v1.IPReport, opts ...grpc.CallOption) (*v1.Empty, error)
- func (_m *IPServiceClient) Modified(ctx context.Context, in *v1.IPReport, opts ...grpc.CallOption) (*v1.Empty, error)
- func (_m *IPServiceClient) Usage(ctx context.Context, in *v1.IPUsageRequest, opts ...grpc.CallOption) (*v1.IPUsageResponse, error)
- type IPServiceServer
- func (_m *IPServiceServer) Added(_a0 context.Context, _a1 *v1.IPReport) (*v1.Empty, error)
- func (_m *IPServiceServer) Deleted(_a0 context.Context, _a1 *v1.IPReport) (*v1.Empty, error)
- func (_m *IPServiceServer) Modified(_a0 context.Context, _a1 *v1.IPReport) (*v1.Empty, error)
- func (_m *IPServiceServer) Usage(_a0 context.Context, _a1 *v1.IPUsageRequest) (*v1.IPUsageResponse, error)
- type InfoServiceClient
- type InfoServiceServer
- type MachineReservationServiceClient
- func (_m *MachineReservationServiceClient) Added(ctx context.Context, in *v1.MachineReservationReport, opts ...grpc.CallOption) (*v1.Empty, error)
- func (_m *MachineReservationServiceClient) Deleted(ctx context.Context, in *v1.MachineReservationReport, opts ...grpc.CallOption) (*v1.Empty, error)
- func (_m *MachineReservationServiceClient) Modified(ctx context.Context, in *v1.MachineReservationReport, opts ...grpc.CallOption) (*v1.Empty, error)
- func (_m *MachineReservationServiceClient) Usage(ctx context.Context, in *v1.MachineReservationUsageRequest, ...) (*v1.MachineReservationUsageResponse, error)
- type MachineReservationServiceServer
- func (_m *MachineReservationServiceServer) Added(_a0 context.Context, _a1 *v1.MachineReservationReport) (*v1.Empty, error)
- func (_m *MachineReservationServiceServer) Deleted(_a0 context.Context, _a1 *v1.MachineReservationReport) (*v1.Empty, error)
- func (_m *MachineReservationServiceServer) Modified(_a0 context.Context, _a1 *v1.MachineReservationReport) (*v1.Empty, error)
- func (_m *MachineReservationServiceServer) Usage(_a0 context.Context, _a1 *v1.MachineReservationUsageRequest) (*v1.MachineReservationUsageResponse, error)
- type MachineServiceClient
- func (_m *MachineServiceClient) Added(ctx context.Context, in *v1.MachineReport, opts ...grpc.CallOption) (*v1.Empty, error)
- func (_m *MachineServiceClient) Deleted(ctx context.Context, in *v1.MachineReport, opts ...grpc.CallOption) (*v1.Empty, error)
- func (_m *MachineServiceClient) Modified(ctx context.Context, in *v1.MachineReport, opts ...grpc.CallOption) (*v1.Empty, error)
- func (_m *MachineServiceClient) Usage(ctx context.Context, in *v1.MachineUsageRequest, opts ...grpc.CallOption) (*v1.MachineUsageResponse, error)
- type MachineServiceServer
- func (_m *MachineServiceServer) Added(_a0 context.Context, _a1 *v1.MachineReport) (*v1.Empty, error)
- func (_m *MachineServiceServer) Deleted(_a0 context.Context, _a1 *v1.MachineReport) (*v1.Empty, error)
- func (_m *MachineServiceServer) Modified(_a0 context.Context, _a1 *v1.MachineReport) (*v1.Empty, error)
- func (_m *MachineServiceServer) Usage(_a0 context.Context, _a1 *v1.MachineUsageRequest) (*v1.MachineUsageResponse, error)
- type NetworkTrafficServiceClient
- type NetworkTrafficServiceServer
- type PodServiceClient
- func (_m *PodServiceClient) Added(ctx context.Context, in *v1.PodReport, opts ...grpc.CallOption) (*v1.Empty, error)
- func (_m *PodServiceClient) Deleted(ctx context.Context, in *v1.PodReport, opts ...grpc.CallOption) (*v1.Empty, error)
- func (_m *PodServiceClient) Modified(ctx context.Context, in *v1.PodReport, opts ...grpc.CallOption) (*v1.Empty, error)
- func (_m *PodServiceClient) Usage(ctx context.Context, in *v1.ContainerUsageRequest, opts ...grpc.CallOption) (*v1.ContainerUsageResponse, error)
- type PodServiceServer
- func (_m *PodServiceServer) Added(_a0 context.Context, _a1 *v1.PodReport) (*v1.Empty, error)
- func (_m *PodServiceServer) Deleted(_a0 context.Context, _a1 *v1.PodReport) (*v1.Empty, error)
- func (_m *PodServiceServer) Modified(_a0 context.Context, _a1 *v1.PodReport) (*v1.Empty, error)
- func (_m *PodServiceServer) Usage(_a0 context.Context, _a1 *v1.ContainerUsageRequest) (*v1.ContainerUsageResponse, error)
- type PostgresServiceClient
- func (_m *PostgresServiceClient) Added(ctx context.Context, in *v1.PostgresReport, opts ...grpc.CallOption) (*v1.Empty, error)
- func (_m *PostgresServiceClient) Deleted(ctx context.Context, in *v1.PostgresReport, opts ...grpc.CallOption) (*v1.Empty, error)
- func (_m *PostgresServiceClient) Modified(ctx context.Context, in *v1.PostgresReport, opts ...grpc.CallOption) (*v1.Empty, error)
- func (_m *PostgresServiceClient) Usage(ctx context.Context, in *v1.PostgresUsageRequest, opts ...grpc.CallOption) (*v1.PostgresUsageResponse, error)
- type PostgresServiceServer
- func (_m *PostgresServiceServer) Added(_a0 context.Context, _a1 *v1.PostgresReport) (*v1.Empty, error)
- func (_m *PostgresServiceServer) Deleted(_a0 context.Context, _a1 *v1.PostgresReport) (*v1.Empty, error)
- func (_m *PostgresServiceServer) Modified(_a0 context.Context, _a1 *v1.PostgresReport) (*v1.Empty, error)
- func (_m *PostgresServiceServer) Usage(_a0 context.Context, _a1 *v1.PostgresUsageRequest) (*v1.PostgresUsageResponse, error)
- type ProductOptionServiceClient
- func (_m *ProductOptionServiceClient) Modified(ctx context.Context, in *v1.ProductOptionReport, opts ...grpc.CallOption) (*v1.Empty, error)
- func (_m *ProductOptionServiceClient) Usage(ctx context.Context, in *v1.ProductOptionUsageRequest, opts ...grpc.CallOption) (*v1.ProductOptionUsageResponse, error)
- type ProductOptionServiceServer
- type S3ServiceClient
- type S3ServiceServer
- type UnsafeClusterServiceServer
- type UnsafeIPServiceServer
- type UnsafeInfoServiceServer
- type UnsafeMachineReservationServiceServer
- type UnsafeMachineServiceServer
- type UnsafeNetworkTrafficServiceServer
- type UnsafePodServiceServer
- type UnsafePostgresServiceServer
- type UnsafeProductOptionServiceServer
- type UnsafeS3ServiceServer
- type UnsafeVolumeServiceServer
- type VolumeServiceClient
- func (_m *VolumeServiceClient) Added(ctx context.Context, in *v1.VolumeReport, opts ...grpc.CallOption) (*v1.Empty, error)
- func (_m *VolumeServiceClient) Deleted(ctx context.Context, in *v1.VolumeReport, opts ...grpc.CallOption) (*v1.Empty, error)
- func (_m *VolumeServiceClient) Modified(ctx context.Context, in *v1.VolumeReport, opts ...grpc.CallOption) (*v1.Empty, error)
- func (_m *VolumeServiceClient) Usage(ctx context.Context, in *v1.VolumeUsageRequest, opts ...grpc.CallOption) (*v1.VolumeUsageResponse, error)
- type VolumeServiceServer
- func (_m *VolumeServiceServer) Added(_a0 context.Context, _a1 *v1.VolumeReport) (*v1.Empty, error)
- func (_m *VolumeServiceServer) Deleted(_a0 context.Context, _a1 *v1.VolumeReport) (*v1.Empty, error)
- func (_m *VolumeServiceServer) Modified(_a0 context.Context, _a1 *v1.VolumeReport) (*v1.Empty, error)
- func (_m *VolumeServiceServer) Usage(_a0 context.Context, _a1 *v1.VolumeUsageRequest) (*v1.VolumeUsageResponse, 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) Added ¶
func (_m *ClusterServiceClient) Added(ctx context.Context, in *v1.ClusterReport, opts ...grpc.CallOption) (*v1.Empty, error)
Added provides a mock function with given fields: ctx, in, opts
func (*ClusterServiceClient) Deleted ¶
func (_m *ClusterServiceClient) Deleted(ctx context.Context, in *v1.ClusterReport, opts ...grpc.CallOption) (*v1.Empty, error)
Deleted provides a mock function with given fields: ctx, in, opts
func (*ClusterServiceClient) Modified ¶
func (_m *ClusterServiceClient) Modified(ctx context.Context, in *v1.ClusterReport, opts ...grpc.CallOption) (*v1.Empty, error)
Modified provides a mock function with given fields: ctx, in, opts
func (*ClusterServiceClient) Usage ¶
func (_m *ClusterServiceClient) Usage(ctx context.Context, in *v1.ClusterUsageRequest, opts ...grpc.CallOption) (*v1.ClusterUsageResponse, error)
Usage provides a mock function with given fields: ctx, in, opts
type ClusterServiceServer ¶
ClusterServiceServer is an autogenerated mock type for the ClusterServiceServer type
func NewClusterServiceServer ¶
func NewClusterServiceServer(t interface { mock.TestingT Cleanup(func()) }) *ClusterServiceServer
NewClusterServiceServer creates a new instance of ClusterServiceServer. 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 (*ClusterServiceServer) Added ¶
func (_m *ClusterServiceServer) Added(_a0 context.Context, _a1 *v1.ClusterReport) (*v1.Empty, error)
Added provides a mock function with given fields: _a0, _a1
func (*ClusterServiceServer) Deleted ¶
func (_m *ClusterServiceServer) Deleted(_a0 context.Context, _a1 *v1.ClusterReport) (*v1.Empty, error)
Deleted provides a mock function with given fields: _a0, _a1
func (*ClusterServiceServer) Modified ¶
func (_m *ClusterServiceServer) Modified(_a0 context.Context, _a1 *v1.ClusterReport) (*v1.Empty, error)
Modified provides a mock function with given fields: _a0, _a1
func (*ClusterServiceServer) Usage ¶
func (_m *ClusterServiceServer) Usage(_a0 context.Context, _a1 *v1.ClusterUsageRequest) (*v1.ClusterUsageResponse, error)
Usage provides a mock function with given fields: _a0, _a1
type IPServiceClient ¶
IPServiceClient is an autogenerated mock type for the IPServiceClient type
func NewIPServiceClient ¶
func NewIPServiceClient(t interface { mock.TestingT Cleanup(func()) }) *IPServiceClient
NewIPServiceClient creates a new instance of IPServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*IPServiceClient) Added ¶
func (_m *IPServiceClient) Added(ctx context.Context, in *v1.IPReport, opts ...grpc.CallOption) (*v1.Empty, error)
Added provides a mock function with given fields: ctx, in, opts
func (*IPServiceClient) Deleted ¶
func (_m *IPServiceClient) Deleted(ctx context.Context, in *v1.IPReport, opts ...grpc.CallOption) (*v1.Empty, error)
Deleted provides a mock function with given fields: ctx, in, opts
func (*IPServiceClient) Modified ¶
func (_m *IPServiceClient) Modified(ctx context.Context, in *v1.IPReport, opts ...grpc.CallOption) (*v1.Empty, error)
Modified provides a mock function with given fields: ctx, in, opts
func (*IPServiceClient) Usage ¶
func (_m *IPServiceClient) Usage(ctx context.Context, in *v1.IPUsageRequest, opts ...grpc.CallOption) (*v1.IPUsageResponse, error)
Usage provides a mock function with given fields: ctx, in, opts
type IPServiceServer ¶
IPServiceServer is an autogenerated mock type for the IPServiceServer type
func NewIPServiceServer ¶
func NewIPServiceServer(t interface { mock.TestingT Cleanup(func()) }) *IPServiceServer
NewIPServiceServer creates a new instance of IPServiceServer. 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 (*IPServiceServer) Usage ¶
func (_m *IPServiceServer) Usage(_a0 context.Context, _a1 *v1.IPUsageRequest) (*v1.IPUsageResponse, error)
Usage provides a mock function with given fields: _a0, _a1
type InfoServiceClient ¶
InfoServiceClient is an autogenerated mock type for the InfoServiceClient type
func NewInfoServiceClient ¶
func NewInfoServiceClient(t interface { mock.TestingT Cleanup(func()) }) *InfoServiceClient
NewInfoServiceClient creates a new instance of InfoServiceClient. 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 (*InfoServiceClient) Projects ¶
func (_m *InfoServiceClient) Projects(ctx context.Context, in *v1.ProjectInfoRequest, opts ...grpc.CallOption) (*v1.ProjectInfoResponse, error)
Projects provides a mock function with given fields: ctx, in, opts
func (*InfoServiceClient) Tenants ¶
func (_m *InfoServiceClient) Tenants(ctx context.Context, in *v1.TenantInfoRequest, opts ...grpc.CallOption) (*v1.TenantInfoResponse, error)
Tenants provides a mock function with given fields: ctx, in, opts
type InfoServiceServer ¶
InfoServiceServer is an autogenerated mock type for the InfoServiceServer type
func NewInfoServiceServer ¶
func NewInfoServiceServer(t interface { mock.TestingT Cleanup(func()) }) *InfoServiceServer
NewInfoServiceServer creates a new instance of InfoServiceServer. 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 (*InfoServiceServer) Projects ¶
func (_m *InfoServiceServer) Projects(_a0 context.Context, _a1 *v1.ProjectInfoRequest) (*v1.ProjectInfoResponse, error)
Projects provides a mock function with given fields: _a0, _a1
func (*InfoServiceServer) Tenants ¶
func (_m *InfoServiceServer) Tenants(_a0 context.Context, _a1 *v1.TenantInfoRequest) (*v1.TenantInfoResponse, error)
Tenants provides a mock function with given fields: _a0, _a1
type MachineReservationServiceClient ¶ added in v0.11.0
MachineReservationServiceClient is an autogenerated mock type for the MachineReservationServiceClient type
func NewMachineReservationServiceClient ¶ added in v0.11.0
func NewMachineReservationServiceClient(t interface { mock.TestingT Cleanup(func()) }) *MachineReservationServiceClient
NewMachineReservationServiceClient creates a new instance of MachineReservationServiceClient. 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 (*MachineReservationServiceClient) Added ¶ added in v0.11.0
func (_m *MachineReservationServiceClient) Added(ctx context.Context, in *v1.MachineReservationReport, opts ...grpc.CallOption) (*v1.Empty, error)
Added provides a mock function with given fields: ctx, in, opts
func (*MachineReservationServiceClient) Deleted ¶ added in v0.11.0
func (_m *MachineReservationServiceClient) Deleted(ctx context.Context, in *v1.MachineReservationReport, opts ...grpc.CallOption) (*v1.Empty, error)
Deleted provides a mock function with given fields: ctx, in, opts
func (*MachineReservationServiceClient) Modified ¶ added in v0.11.0
func (_m *MachineReservationServiceClient) Modified(ctx context.Context, in *v1.MachineReservationReport, opts ...grpc.CallOption) (*v1.Empty, error)
Modified provides a mock function with given fields: ctx, in, opts
func (*MachineReservationServiceClient) Usage ¶ added in v0.11.0
func (_m *MachineReservationServiceClient) Usage(ctx context.Context, in *v1.MachineReservationUsageRequest, opts ...grpc.CallOption) (*v1.MachineReservationUsageResponse, error)
Usage provides a mock function with given fields: ctx, in, opts
type MachineReservationServiceServer ¶ added in v0.11.0
MachineReservationServiceServer is an autogenerated mock type for the MachineReservationServiceServer type
func NewMachineReservationServiceServer ¶ added in v0.11.0
func NewMachineReservationServiceServer(t interface { mock.TestingT Cleanup(func()) }) *MachineReservationServiceServer
NewMachineReservationServiceServer creates a new instance of MachineReservationServiceServer. 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 (*MachineReservationServiceServer) Added ¶ added in v0.11.0
func (_m *MachineReservationServiceServer) Added(_a0 context.Context, _a1 *v1.MachineReservationReport) (*v1.Empty, error)
Added provides a mock function with given fields: _a0, _a1
func (*MachineReservationServiceServer) Deleted ¶ added in v0.11.0
func (_m *MachineReservationServiceServer) Deleted(_a0 context.Context, _a1 *v1.MachineReservationReport) (*v1.Empty, error)
Deleted provides a mock function with given fields: _a0, _a1
func (*MachineReservationServiceServer) Modified ¶ added in v0.11.0
func (_m *MachineReservationServiceServer) Modified(_a0 context.Context, _a1 *v1.MachineReservationReport) (*v1.Empty, error)
Modified provides a mock function with given fields: _a0, _a1
func (*MachineReservationServiceServer) Usage ¶ added in v0.11.0
func (_m *MachineReservationServiceServer) Usage(_a0 context.Context, _a1 *v1.MachineReservationUsageRequest) (*v1.MachineReservationUsageResponse, error)
Usage provides a mock function with given fields: _a0, _a1
type MachineServiceClient ¶ added in v0.9.0
MachineServiceClient is an autogenerated mock type for the MachineServiceClient type
func NewMachineServiceClient ¶ added in v0.9.0
func NewMachineServiceClient(t interface { mock.TestingT Cleanup(func()) }) *MachineServiceClient
NewMachineServiceClient creates a new instance of MachineServiceClient. 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 (*MachineServiceClient) Added ¶ added in v0.9.0
func (_m *MachineServiceClient) Added(ctx context.Context, in *v1.MachineReport, opts ...grpc.CallOption) (*v1.Empty, error)
Added provides a mock function with given fields: ctx, in, opts
func (*MachineServiceClient) Deleted ¶ added in v0.9.0
func (_m *MachineServiceClient) Deleted(ctx context.Context, in *v1.MachineReport, opts ...grpc.CallOption) (*v1.Empty, error)
Deleted provides a mock function with given fields: ctx, in, opts
func (*MachineServiceClient) Modified ¶ added in v0.9.0
func (_m *MachineServiceClient) Modified(ctx context.Context, in *v1.MachineReport, opts ...grpc.CallOption) (*v1.Empty, error)
Modified provides a mock function with given fields: ctx, in, opts
func (*MachineServiceClient) Usage ¶ added in v0.9.0
func (_m *MachineServiceClient) Usage(ctx context.Context, in *v1.MachineUsageRequest, opts ...grpc.CallOption) (*v1.MachineUsageResponse, error)
Usage provides a mock function with given fields: ctx, in, opts
type MachineServiceServer ¶ added in v0.9.0
MachineServiceServer is an autogenerated mock type for the MachineServiceServer type
func NewMachineServiceServer ¶ added in v0.9.0
func NewMachineServiceServer(t interface { mock.TestingT Cleanup(func()) }) *MachineServiceServer
NewMachineServiceServer creates a new instance of MachineServiceServer. 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 (*MachineServiceServer) Added ¶ added in v0.9.0
func (_m *MachineServiceServer) Added(_a0 context.Context, _a1 *v1.MachineReport) (*v1.Empty, error)
Added provides a mock function with given fields: _a0, _a1
func (*MachineServiceServer) Deleted ¶ added in v0.9.0
func (_m *MachineServiceServer) Deleted(_a0 context.Context, _a1 *v1.MachineReport) (*v1.Empty, error)
Deleted provides a mock function with given fields: _a0, _a1
func (*MachineServiceServer) Modified ¶ added in v0.9.0
func (_m *MachineServiceServer) Modified(_a0 context.Context, _a1 *v1.MachineReport) (*v1.Empty, error)
Modified provides a mock function with given fields: _a0, _a1
func (*MachineServiceServer) Usage ¶ added in v0.9.0
func (_m *MachineServiceServer) Usage(_a0 context.Context, _a1 *v1.MachineUsageRequest) (*v1.MachineUsageResponse, error)
Usage provides a mock function with given fields: _a0, _a1
type NetworkTrafficServiceClient ¶
NetworkTrafficServiceClient is an autogenerated mock type for the NetworkTrafficServiceClient type
func NewNetworkTrafficServiceClient ¶
func NewNetworkTrafficServiceClient(t interface { mock.TestingT Cleanup(func()) }) *NetworkTrafficServiceClient
NewNetworkTrafficServiceClient creates a new instance of NetworkTrafficServiceClient. 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 (*NetworkTrafficServiceClient) Modified ¶
func (_m *NetworkTrafficServiceClient) Modified(ctx context.Context, in *v1.NetworkTrafficReport, opts ...grpc.CallOption) (*v1.Empty, error)
Modified provides a mock function with given fields: ctx, in, opts
func (*NetworkTrafficServiceClient) Usage ¶
func (_m *NetworkTrafficServiceClient) Usage(ctx context.Context, in *v1.NetworkUsageRequest, opts ...grpc.CallOption) (*v1.NetworkUsageResponse, error)
Usage provides a mock function with given fields: ctx, in, opts
type NetworkTrafficServiceServer ¶
NetworkTrafficServiceServer is an autogenerated mock type for the NetworkTrafficServiceServer type
func NewNetworkTrafficServiceServer ¶
func NewNetworkTrafficServiceServer(t interface { mock.TestingT Cleanup(func()) }) *NetworkTrafficServiceServer
NewNetworkTrafficServiceServer creates a new instance of NetworkTrafficServiceServer. 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 (*NetworkTrafficServiceServer) Modified ¶
func (_m *NetworkTrafficServiceServer) Modified(_a0 context.Context, _a1 *v1.NetworkTrafficReport) (*v1.Empty, error)
Modified provides a mock function with given fields: _a0, _a1
func (*NetworkTrafficServiceServer) Usage ¶
func (_m *NetworkTrafficServiceServer) Usage(_a0 context.Context, _a1 *v1.NetworkUsageRequest) (*v1.NetworkUsageResponse, error)
Usage provides a mock function with given fields: _a0, _a1
type PodServiceClient ¶
PodServiceClient is an autogenerated mock type for the PodServiceClient type
func NewPodServiceClient ¶
func NewPodServiceClient(t interface { mock.TestingT Cleanup(func()) }) *PodServiceClient
NewPodServiceClient creates a new instance of PodServiceClient. 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 (*PodServiceClient) Added ¶
func (_m *PodServiceClient) Added(ctx context.Context, in *v1.PodReport, opts ...grpc.CallOption) (*v1.Empty, error)
Added provides a mock function with given fields: ctx, in, opts
func (*PodServiceClient) Deleted ¶
func (_m *PodServiceClient) Deleted(ctx context.Context, in *v1.PodReport, opts ...grpc.CallOption) (*v1.Empty, error)
Deleted provides a mock function with given fields: ctx, in, opts
func (*PodServiceClient) Modified ¶
func (_m *PodServiceClient) Modified(ctx context.Context, in *v1.PodReport, opts ...grpc.CallOption) (*v1.Empty, error)
Modified provides a mock function with given fields: ctx, in, opts
func (*PodServiceClient) Usage ¶
func (_m *PodServiceClient) Usage(ctx context.Context, in *v1.ContainerUsageRequest, opts ...grpc.CallOption) (*v1.ContainerUsageResponse, error)
Usage provides a mock function with given fields: ctx, in, opts
type PodServiceServer ¶
PodServiceServer is an autogenerated mock type for the PodServiceServer type
func NewPodServiceServer ¶
func NewPodServiceServer(t interface { mock.TestingT Cleanup(func()) }) *PodServiceServer
NewPodServiceServer creates a new instance of PodServiceServer. 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 (*PodServiceServer) Usage ¶
func (_m *PodServiceServer) Usage(_a0 context.Context, _a1 *v1.ContainerUsageRequest) (*v1.ContainerUsageResponse, error)
Usage provides a mock function with given fields: _a0, _a1
type PostgresServiceClient ¶
PostgresServiceClient is an autogenerated mock type for the PostgresServiceClient type
func NewPostgresServiceClient ¶
func NewPostgresServiceClient(t interface { mock.TestingT Cleanup(func()) }) *PostgresServiceClient
NewPostgresServiceClient creates a new instance of PostgresServiceClient. 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 (*PostgresServiceClient) Added ¶
func (_m *PostgresServiceClient) Added(ctx context.Context, in *v1.PostgresReport, opts ...grpc.CallOption) (*v1.Empty, error)
Added provides a mock function with given fields: ctx, in, opts
func (*PostgresServiceClient) Deleted ¶
func (_m *PostgresServiceClient) Deleted(ctx context.Context, in *v1.PostgresReport, opts ...grpc.CallOption) (*v1.Empty, error)
Deleted provides a mock function with given fields: ctx, in, opts
func (*PostgresServiceClient) Modified ¶
func (_m *PostgresServiceClient) Modified(ctx context.Context, in *v1.PostgresReport, opts ...grpc.CallOption) (*v1.Empty, error)
Modified provides a mock function with given fields: ctx, in, opts
func (*PostgresServiceClient) Usage ¶
func (_m *PostgresServiceClient) Usage(ctx context.Context, in *v1.PostgresUsageRequest, opts ...grpc.CallOption) (*v1.PostgresUsageResponse, error)
Usage provides a mock function with given fields: ctx, in, opts
type PostgresServiceServer ¶
PostgresServiceServer is an autogenerated mock type for the PostgresServiceServer type
func NewPostgresServiceServer ¶
func NewPostgresServiceServer(t interface { mock.TestingT Cleanup(func()) }) *PostgresServiceServer
NewPostgresServiceServer creates a new instance of PostgresServiceServer. 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 (*PostgresServiceServer) Added ¶
func (_m *PostgresServiceServer) Added(_a0 context.Context, _a1 *v1.PostgresReport) (*v1.Empty, error)
Added provides a mock function with given fields: _a0, _a1
func (*PostgresServiceServer) Deleted ¶
func (_m *PostgresServiceServer) Deleted(_a0 context.Context, _a1 *v1.PostgresReport) (*v1.Empty, error)
Deleted provides a mock function with given fields: _a0, _a1
func (*PostgresServiceServer) Modified ¶
func (_m *PostgresServiceServer) Modified(_a0 context.Context, _a1 *v1.PostgresReport) (*v1.Empty, error)
Modified provides a mock function with given fields: _a0, _a1
func (*PostgresServiceServer) Usage ¶
func (_m *PostgresServiceServer) Usage(_a0 context.Context, _a1 *v1.PostgresUsageRequest) (*v1.PostgresUsageResponse, error)
Usage provides a mock function with given fields: _a0, _a1
type ProductOptionServiceClient ¶ added in v0.9.0
ProductOptionServiceClient is an autogenerated mock type for the ProductOptionServiceClient type
func NewProductOptionServiceClient ¶ added in v0.9.0
func NewProductOptionServiceClient(t interface { mock.TestingT Cleanup(func()) }) *ProductOptionServiceClient
NewProductOptionServiceClient creates a new instance of ProductOptionServiceClient. 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 (*ProductOptionServiceClient) Modified ¶ added in v0.9.0
func (_m *ProductOptionServiceClient) Modified(ctx context.Context, in *v1.ProductOptionReport, opts ...grpc.CallOption) (*v1.Empty, error)
Modified provides a mock function with given fields: ctx, in, opts
func (*ProductOptionServiceClient) Usage ¶ added in v0.9.0
func (_m *ProductOptionServiceClient) Usage(ctx context.Context, in *v1.ProductOptionUsageRequest, opts ...grpc.CallOption) (*v1.ProductOptionUsageResponse, error)
Usage provides a mock function with given fields: ctx, in, opts
type ProductOptionServiceServer ¶ added in v0.9.0
ProductOptionServiceServer is an autogenerated mock type for the ProductOptionServiceServer type
func NewProductOptionServiceServer ¶ added in v0.9.0
func NewProductOptionServiceServer(t interface { mock.TestingT Cleanup(func()) }) *ProductOptionServiceServer
NewProductOptionServiceServer creates a new instance of ProductOptionServiceServer. 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 (*ProductOptionServiceServer) Modified ¶ added in v0.9.0
func (_m *ProductOptionServiceServer) Modified(_a0 context.Context, _a1 *v1.ProductOptionReport) (*v1.Empty, error)
Modified provides a mock function with given fields: _a0, _a1
func (*ProductOptionServiceServer) Usage ¶ added in v0.9.0
func (_m *ProductOptionServiceServer) Usage(_a0 context.Context, _a1 *v1.ProductOptionUsageRequest) (*v1.ProductOptionUsageResponse, error)
Usage provides a mock function with given fields: _a0, _a1
type S3ServiceClient ¶
S3ServiceClient is an autogenerated mock type for the S3ServiceClient type
func NewS3ServiceClient ¶
func NewS3ServiceClient(t interface { mock.TestingT Cleanup(func()) }) *S3ServiceClient
NewS3ServiceClient creates a new instance of S3ServiceClient. 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 (*S3ServiceClient) BucketStats ¶
func (_m *S3ServiceClient) BucketStats(ctx context.Context, in *v1.S3BucketReport, opts ...grpc.CallOption) (*v1.Empty, error)
BucketStats provides a mock function with given fields: ctx, in, opts
func (*S3ServiceClient) Usage ¶
func (_m *S3ServiceClient) Usage(ctx context.Context, in *v1.S3UsageRequest, opts ...grpc.CallOption) (*v1.S3UsageResponse, error)
Usage provides a mock function with given fields: ctx, in, opts
type S3ServiceServer ¶
S3ServiceServer is an autogenerated mock type for the S3ServiceServer type
func NewS3ServiceServer ¶
func NewS3ServiceServer(t interface { mock.TestingT Cleanup(func()) }) *S3ServiceServer
NewS3ServiceServer creates a new instance of S3ServiceServer. 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 (*S3ServiceServer) BucketStats ¶
func (_m *S3ServiceServer) BucketStats(_a0 context.Context, _a1 *v1.S3BucketReport) (*v1.Empty, error)
BucketStats provides a mock function with given fields: _a0, _a1
func (*S3ServiceServer) Usage ¶
func (_m *S3ServiceServer) Usage(_a0 context.Context, _a1 *v1.S3UsageRequest) (*v1.S3UsageResponse, error)
Usage provides a mock function with given fields: _a0, _a1
type UnsafeClusterServiceServer ¶
UnsafeClusterServiceServer is an autogenerated mock type for the UnsafeClusterServiceServer type
func NewUnsafeClusterServiceServer ¶
func NewUnsafeClusterServiceServer(t interface { mock.TestingT Cleanup(func()) }) *UnsafeClusterServiceServer
NewUnsafeClusterServiceServer creates a new instance of UnsafeClusterServiceServer. 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.
type UnsafeIPServiceServer ¶
UnsafeIPServiceServer is an autogenerated mock type for the UnsafeIPServiceServer type
func NewUnsafeIPServiceServer ¶
func NewUnsafeIPServiceServer(t interface { mock.TestingT Cleanup(func()) }) *UnsafeIPServiceServer
NewUnsafeIPServiceServer creates a new instance of UnsafeIPServiceServer. 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.
type UnsafeInfoServiceServer ¶
UnsafeInfoServiceServer is an autogenerated mock type for the UnsafeInfoServiceServer type
func NewUnsafeInfoServiceServer ¶
func NewUnsafeInfoServiceServer(t interface { mock.TestingT Cleanup(func()) }) *UnsafeInfoServiceServer
NewUnsafeInfoServiceServer creates a new instance of UnsafeInfoServiceServer. 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.
type UnsafeMachineReservationServiceServer ¶ added in v0.11.0
UnsafeMachineReservationServiceServer is an autogenerated mock type for the UnsafeMachineReservationServiceServer type
func NewUnsafeMachineReservationServiceServer ¶ added in v0.11.0
func NewUnsafeMachineReservationServiceServer(t interface { mock.TestingT Cleanup(func()) }) *UnsafeMachineReservationServiceServer
NewUnsafeMachineReservationServiceServer creates a new instance of UnsafeMachineReservationServiceServer. 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.
type UnsafeMachineServiceServer ¶ added in v0.9.0
UnsafeMachineServiceServer is an autogenerated mock type for the UnsafeMachineServiceServer type
func NewUnsafeMachineServiceServer ¶ added in v0.9.0
func NewUnsafeMachineServiceServer(t interface { mock.TestingT Cleanup(func()) }) *UnsafeMachineServiceServer
NewUnsafeMachineServiceServer creates a new instance of UnsafeMachineServiceServer. 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.
type UnsafeNetworkTrafficServiceServer ¶
UnsafeNetworkTrafficServiceServer is an autogenerated mock type for the UnsafeNetworkTrafficServiceServer type
func NewUnsafeNetworkTrafficServiceServer ¶
func NewUnsafeNetworkTrafficServiceServer(t interface { mock.TestingT Cleanup(func()) }) *UnsafeNetworkTrafficServiceServer
NewUnsafeNetworkTrafficServiceServer creates a new instance of UnsafeNetworkTrafficServiceServer. 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.
type UnsafePodServiceServer ¶
UnsafePodServiceServer is an autogenerated mock type for the UnsafePodServiceServer type
func NewUnsafePodServiceServer ¶
func NewUnsafePodServiceServer(t interface { mock.TestingT Cleanup(func()) }) *UnsafePodServiceServer
NewUnsafePodServiceServer creates a new instance of UnsafePodServiceServer. 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.
type UnsafePostgresServiceServer ¶
UnsafePostgresServiceServer is an autogenerated mock type for the UnsafePostgresServiceServer type
func NewUnsafePostgresServiceServer ¶
func NewUnsafePostgresServiceServer(t interface { mock.TestingT Cleanup(func()) }) *UnsafePostgresServiceServer
NewUnsafePostgresServiceServer creates a new instance of UnsafePostgresServiceServer. 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.
type UnsafeProductOptionServiceServer ¶ added in v0.9.0
UnsafeProductOptionServiceServer is an autogenerated mock type for the UnsafeProductOptionServiceServer type
func NewUnsafeProductOptionServiceServer ¶ added in v0.9.0
func NewUnsafeProductOptionServiceServer(t interface { mock.TestingT Cleanup(func()) }) *UnsafeProductOptionServiceServer
NewUnsafeProductOptionServiceServer creates a new instance of UnsafeProductOptionServiceServer. 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.
type UnsafeS3ServiceServer ¶
UnsafeS3ServiceServer is an autogenerated mock type for the UnsafeS3ServiceServer type
func NewUnsafeS3ServiceServer ¶
func NewUnsafeS3ServiceServer(t interface { mock.TestingT Cleanup(func()) }) *UnsafeS3ServiceServer
NewUnsafeS3ServiceServer creates a new instance of UnsafeS3ServiceServer. 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.
type UnsafeVolumeServiceServer ¶
UnsafeVolumeServiceServer is an autogenerated mock type for the UnsafeVolumeServiceServer type
func NewUnsafeVolumeServiceServer ¶
func NewUnsafeVolumeServiceServer(t interface { mock.TestingT Cleanup(func()) }) *UnsafeVolumeServiceServer
NewUnsafeVolumeServiceServer creates a new instance of UnsafeVolumeServiceServer. 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.
type VolumeServiceClient ¶
VolumeServiceClient is an autogenerated mock type for the VolumeServiceClient type
func NewVolumeServiceClient ¶
func NewVolumeServiceClient(t interface { mock.TestingT Cleanup(func()) }) *VolumeServiceClient
NewVolumeServiceClient creates a new instance of VolumeServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*VolumeServiceClient) Added ¶
func (_m *VolumeServiceClient) Added(ctx context.Context, in *v1.VolumeReport, opts ...grpc.CallOption) (*v1.Empty, error)
Added provides a mock function with given fields: ctx, in, opts
func (*VolumeServiceClient) Deleted ¶
func (_m *VolumeServiceClient) Deleted(ctx context.Context, in *v1.VolumeReport, opts ...grpc.CallOption) (*v1.Empty, error)
Deleted provides a mock function with given fields: ctx, in, opts
func (*VolumeServiceClient) Modified ¶
func (_m *VolumeServiceClient) Modified(ctx context.Context, in *v1.VolumeReport, opts ...grpc.CallOption) (*v1.Empty, error)
Modified provides a mock function with given fields: ctx, in, opts
func (*VolumeServiceClient) Usage ¶
func (_m *VolumeServiceClient) Usage(ctx context.Context, in *v1.VolumeUsageRequest, opts ...grpc.CallOption) (*v1.VolumeUsageResponse, error)
Usage provides a mock function with given fields: ctx, in, opts
type VolumeServiceServer ¶
VolumeServiceServer is an autogenerated mock type for the VolumeServiceServer type
func NewVolumeServiceServer ¶
func NewVolumeServiceServer(t interface { mock.TestingT Cleanup(func()) }) *VolumeServiceServer
NewVolumeServiceServer creates a new instance of VolumeServiceServer. 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 (*VolumeServiceServer) Added ¶
func (_m *VolumeServiceServer) Added(_a0 context.Context, _a1 *v1.VolumeReport) (*v1.Empty, error)
Added provides a mock function with given fields: _a0, _a1
func (*VolumeServiceServer) Deleted ¶
func (_m *VolumeServiceServer) Deleted(_a0 context.Context, _a1 *v1.VolumeReport) (*v1.Empty, error)
Deleted provides a mock function with given fields: _a0, _a1
func (*VolumeServiceServer) Modified ¶
func (_m *VolumeServiceServer) Modified(_a0 context.Context, _a1 *v1.VolumeReport) (*v1.Empty, error)
Modified provides a mock function with given fields: _a0, _a1
func (*VolumeServiceServer) Usage ¶
func (_m *VolumeServiceServer) Usage(_a0 context.Context, _a1 *v1.VolumeUsageRequest) (*v1.VolumeUsageResponse, error)
Usage provides a mock function with given fields: _a0, _a1
Source Files ¶
- ClusterServiceClient.go
- ClusterServiceServer.go
- IPServiceClient.go
- IPServiceServer.go
- InfoServiceClient.go
- InfoServiceServer.go
- MachineReservationServiceClient.go
- MachineReservationServiceServer.go
- MachineServiceClient.go
- MachineServiceServer.go
- NetworkTrafficServiceClient.go
- NetworkTrafficServiceServer.go
- PodServiceClient.go
- PodServiceServer.go
- PostgresServiceClient.go
- PostgresServiceServer.go
- ProductOptionServiceClient.go
- ProductOptionServiceServer.go
- S3ServiceClient.go
- S3ServiceServer.go
- UnsafeClusterServiceServer.go
- UnsafeIPServiceServer.go
- UnsafeInfoServiceServer.go
- UnsafeMachineReservationServiceServer.go
- UnsafeMachineServiceServer.go
- UnsafeNetworkTrafficServiceServer.go
- UnsafePodServiceServer.go
- UnsafePostgresServiceServer.go
- UnsafeProductOptionServiceServer.go
- UnsafeS3ServiceServer.go
- UnsafeVolumeServiceServer.go
- VolumeServiceClient.go
- VolumeServiceServer.go