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 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 S3ServiceClient
- type S3ServiceServer
- type UnsafeClusterServiceServer
- type UnsafeIPServiceServer
- type UnsafeInfoServiceServer
- type UnsafeNetworkTrafficServiceServer
- type UnsafePodServiceServer
- type UnsafePostgresServiceServer
- 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 mockConstructorTestingTNewClusterServiceClient) *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.
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 mockConstructorTestingTNewClusterServiceServer) *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.
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 mockConstructorTestingTNewIPServiceClient) *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.
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 mockConstructorTestingTNewIPServiceServer) *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.
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 mockConstructorTestingTNewInfoServiceClient) *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.
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 mockConstructorTestingTNewInfoServiceServer) *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.
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 NetworkTrafficServiceClient ¶
NetworkTrafficServiceClient is an autogenerated mock type for the NetworkTrafficServiceClient type
func NewNetworkTrafficServiceClient ¶
func NewNetworkTrafficServiceClient(t mockConstructorTestingTNewNetworkTrafficServiceClient) *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.
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 mockConstructorTestingTNewNetworkTrafficServiceServer) *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.
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 mockConstructorTestingTNewPodServiceClient) *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.
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 mockConstructorTestingTNewPodServiceServer) *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.
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 mockConstructorTestingTNewPostgresServiceClient) *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.
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 mockConstructorTestingTNewPostgresServiceServer) *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.
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 S3ServiceClient ¶
S3ServiceClient is an autogenerated mock type for the S3ServiceClient type
func NewS3ServiceClient ¶
func NewS3ServiceClient(t mockConstructorTestingTNewS3ServiceClient) *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.
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 mockConstructorTestingTNewS3ServiceServer) *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.
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 mockConstructorTestingTNewUnsafeClusterServiceServer) *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.
type UnsafeIPServiceServer ¶
UnsafeIPServiceServer is an autogenerated mock type for the UnsafeIPServiceServer type
func NewUnsafeIPServiceServer ¶
func NewUnsafeIPServiceServer(t mockConstructorTestingTNewUnsafeIPServiceServer) *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.
type UnsafeInfoServiceServer ¶
UnsafeInfoServiceServer is an autogenerated mock type for the UnsafeInfoServiceServer type
func NewUnsafeInfoServiceServer ¶
func NewUnsafeInfoServiceServer(t mockConstructorTestingTNewUnsafeInfoServiceServer) *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.
type UnsafeNetworkTrafficServiceServer ¶
UnsafeNetworkTrafficServiceServer is an autogenerated mock type for the UnsafeNetworkTrafficServiceServer type
func NewUnsafeNetworkTrafficServiceServer ¶
func NewUnsafeNetworkTrafficServiceServer(t mockConstructorTestingTNewUnsafeNetworkTrafficServiceServer) *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.
type UnsafePodServiceServer ¶
UnsafePodServiceServer is an autogenerated mock type for the UnsafePodServiceServer type
func NewUnsafePodServiceServer ¶
func NewUnsafePodServiceServer(t mockConstructorTestingTNewUnsafePodServiceServer) *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.
type UnsafePostgresServiceServer ¶
UnsafePostgresServiceServer is an autogenerated mock type for the UnsafePostgresServiceServer type
func NewUnsafePostgresServiceServer ¶
func NewUnsafePostgresServiceServer(t mockConstructorTestingTNewUnsafePostgresServiceServer) *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.
type UnsafeS3ServiceServer ¶
UnsafeS3ServiceServer is an autogenerated mock type for the UnsafeS3ServiceServer type
func NewUnsafeS3ServiceServer ¶
func NewUnsafeS3ServiceServer(t mockConstructorTestingTNewUnsafeS3ServiceServer) *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.
type UnsafeVolumeServiceServer ¶
UnsafeVolumeServiceServer is an autogenerated mock type for the UnsafeVolumeServiceServer type
func NewUnsafeVolumeServiceServer ¶
func NewUnsafeVolumeServiceServer(t mockConstructorTestingTNewUnsafeVolumeServiceServer) *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.
type VolumeServiceClient ¶
VolumeServiceClient is an autogenerated mock type for the VolumeServiceClient type
func NewVolumeServiceClient ¶
func NewVolumeServiceClient(t mockConstructorTestingTNewVolumeServiceClient) *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.
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 mockConstructorTestingTNewVolumeServiceServer) *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.
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
- NetworkTrafficServiceClient.go
- NetworkTrafficServiceServer.go
- PodServiceClient.go
- PodServiceServer.go
- PostgresServiceClient.go
- PostgresServiceServer.go
- S3ServiceClient.go
- S3ServiceServer.go
- UnsafeClusterServiceServer.go
- UnsafeIPServiceServer.go
- UnsafeInfoServiceServer.go
- UnsafeNetworkTrafficServiceServer.go
- UnsafePodServiceServer.go
- UnsafePostgresServiceServer.go
- UnsafeS3ServiceServer.go
- UnsafeVolumeServiceServer.go
- VolumeServiceClient.go
- VolumeServiceServer.go