mocks

package
v0.9.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 31, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterServiceClient

type ClusterServiceClient struct {
	mock.Mock
}

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

Usage provides a mock function with given fields: ctx, in, opts

type ClusterServiceServer

type ClusterServiceServer struct {
	mock.Mock
}

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

Usage provides a mock function with given fields: _a0, _a1

type IPServiceClient

type IPServiceClient struct {
	mock.Mock
}

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

Usage provides a mock function with given fields: ctx, in, opts

type IPServiceServer

type IPServiceServer struct {
	mock.Mock
}

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) Added

func (_m *IPServiceServer) Added(_a0 context.Context, _a1 *v1.IPReport) (*v1.Empty, error)

Added provides a mock function with given fields: _a0, _a1

func (*IPServiceServer) Deleted

func (_m *IPServiceServer) Deleted(_a0 context.Context, _a1 *v1.IPReport) (*v1.Empty, error)

Deleted provides a mock function with given fields: _a0, _a1

func (*IPServiceServer) Modified

func (_m *IPServiceServer) Modified(_a0 context.Context, _a1 *v1.IPReport) (*v1.Empty, error)

Modified provides a mock function with given fields: _a0, _a1

func (*IPServiceServer) Usage

Usage provides a mock function with given fields: _a0, _a1

type InfoServiceClient

type InfoServiceClient struct {
	mock.Mock
}

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

Projects provides a mock function with given fields: ctx, in, opts

func (*InfoServiceClient) Tenants

Tenants provides a mock function with given fields: ctx, in, opts

type InfoServiceServer

type InfoServiceServer struct {
	mock.Mock
}

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

Projects provides a mock function with given fields: _a0, _a1

func (*InfoServiceServer) Tenants

Tenants provides a mock function with given fields: _a0, _a1

type MachineServiceClient added in v0.9.0

type MachineServiceClient struct {
	mock.Mock
}

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

Usage provides a mock function with given fields: ctx, in, opts

type MachineServiceServer added in v0.9.0

type MachineServiceServer struct {
	mock.Mock
}

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

Usage provides a mock function with given fields: _a0, _a1

type NetworkTrafficServiceClient

type NetworkTrafficServiceClient struct {
	mock.Mock
}

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

Modified provides a mock function with given fields: ctx, in, opts

func (*NetworkTrafficServiceClient) Usage

Usage provides a mock function with given fields: ctx, in, opts

type NetworkTrafficServiceServer

type NetworkTrafficServiceServer struct {
	mock.Mock
}

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

Modified provides a mock function with given fields: _a0, _a1

func (*NetworkTrafficServiceServer) Usage

Usage provides a mock function with given fields: _a0, _a1

type PodServiceClient

type PodServiceClient struct {
	mock.Mock
}

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

Usage provides a mock function with given fields: ctx, in, opts

type PodServiceServer

type PodServiceServer struct {
	mock.Mock
}

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) Added

func (_m *PodServiceServer) Added(_a0 context.Context, _a1 *v1.PodReport) (*v1.Empty, error)

Added provides a mock function with given fields: _a0, _a1

func (*PodServiceServer) Deleted

func (_m *PodServiceServer) Deleted(_a0 context.Context, _a1 *v1.PodReport) (*v1.Empty, error)

Deleted provides a mock function with given fields: _a0, _a1

func (*PodServiceServer) Modified

func (_m *PodServiceServer) Modified(_a0 context.Context, _a1 *v1.PodReport) (*v1.Empty, error)

Modified provides a mock function with given fields: _a0, _a1

func (*PodServiceServer) Usage

Usage provides a mock function with given fields: _a0, _a1

type PostgresServiceClient

type PostgresServiceClient struct {
	mock.Mock
}

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

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

Usage provides a mock function with given fields: ctx, in, opts

type PostgresServiceServer

type PostgresServiceServer struct {
	mock.Mock
}

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

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

Usage provides a mock function with given fields: _a0, _a1

type ProductOptionServiceClient added in v0.9.0

type ProductOptionServiceClient struct {
	mock.Mock
}

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

Modified provides a mock function with given fields: ctx, in, opts

func (*ProductOptionServiceClient) Usage added in v0.9.0

Usage provides a mock function with given fields: ctx, in, opts

type ProductOptionServiceServer added in v0.9.0

type ProductOptionServiceServer struct {
	mock.Mock
}

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

Modified provides a mock function with given fields: _a0, _a1

func (*ProductOptionServiceServer) Usage added in v0.9.0

Usage provides a mock function with given fields: _a0, _a1

type S3ServiceClient

type S3ServiceClient struct {
	mock.Mock
}

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

Usage provides a mock function with given fields: ctx, in, opts

type S3ServiceServer

type S3ServiceServer struct {
	mock.Mock
}

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

Usage provides a mock function with given fields: _a0, _a1

type UnsafeClusterServiceServer

type UnsafeClusterServiceServer struct {
	mock.Mock
}

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

type UnsafeIPServiceServer struct {
	mock.Mock
}

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

type UnsafeInfoServiceServer struct {
	mock.Mock
}

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 UnsafeMachineServiceServer added in v0.9.0

type UnsafeMachineServiceServer struct {
	mock.Mock
}

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

type UnsafeNetworkTrafficServiceServer struct {
	mock.Mock
}

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

type UnsafePodServiceServer struct {
	mock.Mock
}

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

type UnsafePostgresServiceServer struct {
	mock.Mock
}

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

type UnsafeProductOptionServiceServer struct {
	mock.Mock
}

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

type UnsafeS3ServiceServer struct {
	mock.Mock
}

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

type UnsafeVolumeServiceServer struct {
	mock.Mock
}

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

type VolumeServiceClient struct {
	mock.Mock
}

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

Usage provides a mock function with given fields: ctx, in, opts

type VolumeServiceServer

type VolumeServiceServer struct {
	mock.Mock
}

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

Usage provides a mock function with given fields: _a0, _a1

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL