Apache Mesos
|
#include <mock_csi_plugin.hpp>
Public Member Functions | |
MockCSIPlugin () | |
MOCK_METHOD3 (GetPluginInfo, grpc::Status(grpc::ServerContext *, const csi::v0::GetPluginInfoRequest *, csi::v0::GetPluginInfoResponse *)) | |
MOCK_METHOD3 (GetPluginCapabilities, grpc::Status(grpc::ServerContext *, const csi::v0::GetPluginCapabilitiesRequest *, csi::v0::GetPluginCapabilitiesResponse *)) | |
MOCK_METHOD3 (Probe, grpc::Status(grpc::ServerContext *, const csi::v0::ProbeRequest *, csi::v0::ProbeResponse *)) | |
MOCK_METHOD3 (CreateVolume, grpc::Status(grpc::ServerContext *, const csi::v0::CreateVolumeRequest *, csi::v0::CreateVolumeResponse *)) | |
MOCK_METHOD3 (DeleteVolume, grpc::Status(grpc::ServerContext *, const csi::v0::DeleteVolumeRequest *, csi::v0::DeleteVolumeResponse *)) | |
MOCK_METHOD3 (ControllerPublishVolume, grpc::Status(grpc::ServerContext *, const csi::v0::ControllerPublishVolumeRequest *, csi::v0::ControllerPublishVolumeResponse *)) | |
MOCK_METHOD3 (ControllerUnpublishVolume, grpc::Status(grpc::ServerContext *, const csi::v0::ControllerUnpublishVolumeRequest *, csi::v0::ControllerUnpublishVolumeResponse *)) | |
MOCK_METHOD3 (ValidateVolumeCapabilities, grpc::Status(grpc::ServerContext *, const csi::v0::ValidateVolumeCapabilitiesRequest *, csi::v0::ValidateVolumeCapabilitiesResponse *)) | |
MOCK_METHOD3 (ListVolumes, grpc::Status(grpc::ServerContext *, const csi::v0::ListVolumesRequest *, csi::v0::ListVolumesResponse *)) | |
MOCK_METHOD3 (GetCapacity, grpc::Status(grpc::ServerContext *, const csi::v0::GetCapacityRequest *, csi::v0::GetCapacityResponse *)) | |
MOCK_METHOD3 (ControllerGetCapabilities, grpc::Status(grpc::ServerContext *, const csi::v0::ControllerGetCapabilitiesRequest *, csi::v0::ControllerGetCapabilitiesResponse *)) | |
MOCK_METHOD3 (NodeStageVolume, grpc::Status(grpc::ServerContext *, const csi::v0::NodeStageVolumeRequest *, csi::v0::NodeStageVolumeResponse *)) | |
MOCK_METHOD3 (NodeUnstageVolume, grpc::Status(grpc::ServerContext *, const csi::v0::NodeUnstageVolumeRequest *, csi::v0::NodeUnstageVolumeResponse *)) | |
MOCK_METHOD3 (NodePublishVolume, grpc::Status(grpc::ServerContext *, const csi::v0::NodePublishVolumeRequest *, csi::v0::NodePublishVolumeResponse *)) | |
MOCK_METHOD3 (NodeUnpublishVolume, grpc::Status(grpc::ServerContext *, const csi::v0::NodeUnpublishVolumeRequest *, csi::v0::NodeUnpublishVolumeResponse *)) | |
MOCK_METHOD3 (NodeGetId, grpc::Status(grpc::ServerContext *, const csi::v0::NodeGetIdRequest *, csi::v0::NodeGetIdResponse *)) | |
MOCK_METHOD3 (NodeGetCapabilities, grpc::Status(grpc::ServerContext *, const csi::v0::NodeGetCapabilitiesRequest *, csi::v0::NodeGetCapabilitiesResponse *)) | |
MOCK_METHOD3 (GetPluginInfo, grpc::Status(grpc::ServerContext *, const csi::v1::GetPluginInfoRequest *, csi::v1::GetPluginInfoResponse *)) | |
MOCK_METHOD3 (GetPluginCapabilities, grpc::Status(grpc::ServerContext *, const csi::v1::GetPluginCapabilitiesRequest *, csi::v1::GetPluginCapabilitiesResponse *)) | |
MOCK_METHOD3 (Probe, grpc::Status(grpc::ServerContext *, const csi::v1::ProbeRequest *, csi::v1::ProbeResponse *)) | |
MOCK_METHOD3 (CreateVolume, grpc::Status(grpc::ServerContext *, const csi::v1::CreateVolumeRequest *, csi::v1::CreateVolumeResponse *)) | |
MOCK_METHOD3 (DeleteVolume, grpc::Status(grpc::ServerContext *, const csi::v1::DeleteVolumeRequest *, csi::v1::DeleteVolumeResponse *)) | |
MOCK_METHOD3 (ControllerPublishVolume, grpc::Status(grpc::ServerContext *, const csi::v1::ControllerPublishVolumeRequest *, csi::v1::ControllerPublishVolumeResponse *)) | |
MOCK_METHOD3 (ControllerUnpublishVolume, grpc::Status(grpc::ServerContext *, const csi::v1::ControllerUnpublishVolumeRequest *, csi::v1::ControllerUnpublishVolumeResponse *)) | |
MOCK_METHOD3 (ValidateVolumeCapabilities, grpc::Status(grpc::ServerContext *, const csi::v1::ValidateVolumeCapabilitiesRequest *, csi::v1::ValidateVolumeCapabilitiesResponse *)) | |
MOCK_METHOD3 (ListVolumes, grpc::Status(grpc::ServerContext *, const csi::v1::ListVolumesRequest *, csi::v1::ListVolumesResponse *)) | |
MOCK_METHOD3 (GetCapacity, grpc::Status(grpc::ServerContext *, const csi::v1::GetCapacityRequest *, csi::v1::GetCapacityResponse *)) | |
MOCK_METHOD3 (ControllerGetCapabilities, grpc::Status(grpc::ServerContext *, const csi::v1::ControllerGetCapabilitiesRequest *, csi::v1::ControllerGetCapabilitiesResponse *)) | |
MOCK_METHOD3 (CreateSnapshot, grpc::Status(grpc::ServerContext *, const csi::v1::CreateSnapshotRequest *, csi::v1::CreateSnapshotResponse *)) | |
MOCK_METHOD3 (DeleteSnapshot, grpc::Status(grpc::ServerContext *, const csi::v1::DeleteSnapshotRequest *, csi::v1::DeleteSnapshotResponse *)) | |
MOCK_METHOD3 (ListSnapshots, grpc::Status(grpc::ServerContext *, const csi::v1::ListSnapshotsRequest *, csi::v1::ListSnapshotsResponse *)) | |
MOCK_METHOD3 (ControllerExpandVolume, grpc::Status(grpc::ServerContext *, const csi::v1::ControllerExpandVolumeRequest *, csi::v1::ControllerExpandVolumeResponse *)) | |
MOCK_METHOD3 (NodeStageVolume, grpc::Status(grpc::ServerContext *, const csi::v1::NodeStageVolumeRequest *, csi::v1::NodeStageVolumeResponse *)) | |
MOCK_METHOD3 (NodeUnstageVolume, grpc::Status(grpc::ServerContext *, const csi::v1::NodeUnstageVolumeRequest *, csi::v1::NodeUnstageVolumeResponse *)) | |
MOCK_METHOD3 (NodePublishVolume, grpc::Status(grpc::ServerContext *, const csi::v1::NodePublishVolumeRequest *, csi::v1::NodePublishVolumeResponse *)) | |
MOCK_METHOD3 (NodeUnpublishVolume, grpc::Status(grpc::ServerContext *, const csi::v1::NodeUnpublishVolumeRequest *, csi::v1::NodeUnpublishVolumeResponse *)) | |
MOCK_METHOD3 (NodeGetVolumeStats, grpc::Status(grpc::ServerContext *, const csi::v1::NodeGetVolumeStatsRequest *, csi::v1::NodeGetVolumeStatsResponse *)) | |
MOCK_METHOD3 (NodeExpandVolume, grpc::Status(grpc::ServerContext *, const csi::v1::NodeExpandVolumeRequest *, csi::v1::NodeExpandVolumeResponse *)) | |
MOCK_METHOD3 (NodeGetCapabilities, grpc::Status(grpc::ServerContext *, const csi::v1::NodeGetCapabilitiesRequest *, csi::v1::NodeGetCapabilitiesResponse *)) | |
MOCK_METHOD3 (NodeGetInfo, grpc::Status(grpc::ServerContext *, const csi::v1::NodeGetInfoRequest *, csi::v1::NodeGetInfoResponse *)) | |
Try< process::grpc::client::Connection > | startup (const Option< std::string > &address=None()) |
Try< Nothing > | shutdown () |
mesos::internal::tests::MockCSIPlugin::MockCSIPlugin | ( | ) |
mesos::internal::tests::MockCSIPlugin::MOCK_METHOD3 | ( | GetPluginInfo | , |
grpc::Status(grpc::ServerContext *, const csi::v0::GetPluginInfoRequest *, csi::v0::GetPluginInfoResponse *) | |||
) |
mesos::internal::tests::MockCSIPlugin::MOCK_METHOD3 | ( | GetPluginCapabilities | , |
grpc::Status(grpc::ServerContext *, const csi::v0::GetPluginCapabilitiesRequest *, csi::v0::GetPluginCapabilitiesResponse *) | |||
) |
mesos::internal::tests::MockCSIPlugin::MOCK_METHOD3 | ( | Probe | , |
grpc::Status(grpc::ServerContext *, const csi::v0::ProbeRequest *, csi::v0::ProbeResponse *) | |||
) |
mesos::internal::tests::MockCSIPlugin::MOCK_METHOD3 | ( | CreateVolume | , |
grpc::Status(grpc::ServerContext *, const csi::v0::CreateVolumeRequest *, csi::v0::CreateVolumeResponse *) | |||
) |
mesos::internal::tests::MockCSIPlugin::MOCK_METHOD3 | ( | DeleteVolume | , |
grpc::Status(grpc::ServerContext *, const csi::v0::DeleteVolumeRequest *, csi::v0::DeleteVolumeResponse *) | |||
) |
mesos::internal::tests::MockCSIPlugin::MOCK_METHOD3 | ( | ControllerPublishVolume | , |
grpc::Status(grpc::ServerContext *, const csi::v0::ControllerPublishVolumeRequest *, csi::v0::ControllerPublishVolumeResponse *) | |||
) |
mesos::internal::tests::MockCSIPlugin::MOCK_METHOD3 | ( | ControllerUnpublishVolume | , |
grpc::Status(grpc::ServerContext *, const csi::v0::ControllerUnpublishVolumeRequest *, csi::v0::ControllerUnpublishVolumeResponse *) | |||
) |
mesos::internal::tests::MockCSIPlugin::MOCK_METHOD3 | ( | ValidateVolumeCapabilities | , |
grpc::Status(grpc::ServerContext *, const csi::v0::ValidateVolumeCapabilitiesRequest *, csi::v0::ValidateVolumeCapabilitiesResponse *) | |||
) |
mesos::internal::tests::MockCSIPlugin::MOCK_METHOD3 | ( | ListVolumes | , |
grpc::Status(grpc::ServerContext *, const csi::v0::ListVolumesRequest *, csi::v0::ListVolumesResponse *) | |||
) |
mesos::internal::tests::MockCSIPlugin::MOCK_METHOD3 | ( | GetCapacity | , |
grpc::Status(grpc::ServerContext *, const csi::v0::GetCapacityRequest *, csi::v0::GetCapacityResponse *) | |||
) |
mesos::internal::tests::MockCSIPlugin::MOCK_METHOD3 | ( | ControllerGetCapabilities | , |
grpc::Status(grpc::ServerContext *, const csi::v0::ControllerGetCapabilitiesRequest *, csi::v0::ControllerGetCapabilitiesResponse *) | |||
) |
mesos::internal::tests::MockCSIPlugin::MOCK_METHOD3 | ( | NodeStageVolume | , |
grpc::Status(grpc::ServerContext *, const csi::v0::NodeStageVolumeRequest *, csi::v0::NodeStageVolumeResponse *) | |||
) |
mesos::internal::tests::MockCSIPlugin::MOCK_METHOD3 | ( | NodeUnstageVolume | , |
grpc::Status(grpc::ServerContext *, const csi::v0::NodeUnstageVolumeRequest *, csi::v0::NodeUnstageVolumeResponse *) | |||
) |
mesos::internal::tests::MockCSIPlugin::MOCK_METHOD3 | ( | NodePublishVolume | , |
grpc::Status(grpc::ServerContext *, const csi::v0::NodePublishVolumeRequest *, csi::v0::NodePublishVolumeResponse *) | |||
) |
mesos::internal::tests::MockCSIPlugin::MOCK_METHOD3 | ( | NodeUnpublishVolume | , |
grpc::Status(grpc::ServerContext *, const csi::v0::NodeUnpublishVolumeRequest *, csi::v0::NodeUnpublishVolumeResponse *) | |||
) |
mesos::internal::tests::MockCSIPlugin::MOCK_METHOD3 | ( | NodeGetId | , |
grpc::Status(grpc::ServerContext *, const csi::v0::NodeGetIdRequest *, csi::v0::NodeGetIdResponse *) | |||
) |
mesos::internal::tests::MockCSIPlugin::MOCK_METHOD3 | ( | NodeGetCapabilities | , |
grpc::Status(grpc::ServerContext *, const csi::v0::NodeGetCapabilitiesRequest *, csi::v0::NodeGetCapabilitiesResponse *) | |||
) |
mesos::internal::tests::MockCSIPlugin::MOCK_METHOD3 | ( | GetPluginInfo | , |
grpc::Status(grpc::ServerContext *, const csi::v1::GetPluginInfoRequest *, csi::v1::GetPluginInfoResponse *) | |||
) |
mesos::internal::tests::MockCSIPlugin::MOCK_METHOD3 | ( | GetPluginCapabilities | , |
grpc::Status(grpc::ServerContext *, const csi::v1::GetPluginCapabilitiesRequest *, csi::v1::GetPluginCapabilitiesResponse *) | |||
) |
mesos::internal::tests::MockCSIPlugin::MOCK_METHOD3 | ( | Probe | , |
grpc::Status(grpc::ServerContext *, const csi::v1::ProbeRequest *, csi::v1::ProbeResponse *) | |||
) |
mesos::internal::tests::MockCSIPlugin::MOCK_METHOD3 | ( | CreateVolume | , |
grpc::Status(grpc::ServerContext *, const csi::v1::CreateVolumeRequest *, csi::v1::CreateVolumeResponse *) | |||
) |
mesos::internal::tests::MockCSIPlugin::MOCK_METHOD3 | ( | DeleteVolume | , |
grpc::Status(grpc::ServerContext *, const csi::v1::DeleteVolumeRequest *, csi::v1::DeleteVolumeResponse *) | |||
) |
mesos::internal::tests::MockCSIPlugin::MOCK_METHOD3 | ( | ControllerPublishVolume | , |
grpc::Status(grpc::ServerContext *, const csi::v1::ControllerPublishVolumeRequest *, csi::v1::ControllerPublishVolumeResponse *) | |||
) |
mesos::internal::tests::MockCSIPlugin::MOCK_METHOD3 | ( | ControllerUnpublishVolume | , |
grpc::Status(grpc::ServerContext *, const csi::v1::ControllerUnpublishVolumeRequest *, csi::v1::ControllerUnpublishVolumeResponse *) | |||
) |
mesos::internal::tests::MockCSIPlugin::MOCK_METHOD3 | ( | ValidateVolumeCapabilities | , |
grpc::Status(grpc::ServerContext *, const csi::v1::ValidateVolumeCapabilitiesRequest *, csi::v1::ValidateVolumeCapabilitiesResponse *) | |||
) |
mesos::internal::tests::MockCSIPlugin::MOCK_METHOD3 | ( | ListVolumes | , |
grpc::Status(grpc::ServerContext *, const csi::v1::ListVolumesRequest *, csi::v1::ListVolumesResponse *) | |||
) |
mesos::internal::tests::MockCSIPlugin::MOCK_METHOD3 | ( | GetCapacity | , |
grpc::Status(grpc::ServerContext *, const csi::v1::GetCapacityRequest *, csi::v1::GetCapacityResponse *) | |||
) |
mesos::internal::tests::MockCSIPlugin::MOCK_METHOD3 | ( | ControllerGetCapabilities | , |
grpc::Status(grpc::ServerContext *, const csi::v1::ControllerGetCapabilitiesRequest *, csi::v1::ControllerGetCapabilitiesResponse *) | |||
) |
mesos::internal::tests::MockCSIPlugin::MOCK_METHOD3 | ( | CreateSnapshot | , |
grpc::Status(grpc::ServerContext *, const csi::v1::CreateSnapshotRequest *, csi::v1::CreateSnapshotResponse *) | |||
) |
mesos::internal::tests::MockCSIPlugin::MOCK_METHOD3 | ( | DeleteSnapshot | , |
grpc::Status(grpc::ServerContext *, const csi::v1::DeleteSnapshotRequest *, csi::v1::DeleteSnapshotResponse *) | |||
) |
mesos::internal::tests::MockCSIPlugin::MOCK_METHOD3 | ( | ListSnapshots | , |
grpc::Status(grpc::ServerContext *, const csi::v1::ListSnapshotsRequest *, csi::v1::ListSnapshotsResponse *) | |||
) |
mesos::internal::tests::MockCSIPlugin::MOCK_METHOD3 | ( | ControllerExpandVolume | , |
grpc::Status(grpc::ServerContext *, const csi::v1::ControllerExpandVolumeRequest *, csi::v1::ControllerExpandVolumeResponse *) | |||
) |
mesos::internal::tests::MockCSIPlugin::MOCK_METHOD3 | ( | NodeStageVolume | , |
grpc::Status(grpc::ServerContext *, const csi::v1::NodeStageVolumeRequest *, csi::v1::NodeStageVolumeResponse *) | |||
) |
mesos::internal::tests::MockCSIPlugin::MOCK_METHOD3 | ( | NodeUnstageVolume | , |
grpc::Status(grpc::ServerContext *, const csi::v1::NodeUnstageVolumeRequest *, csi::v1::NodeUnstageVolumeResponse *) | |||
) |
mesos::internal::tests::MockCSIPlugin::MOCK_METHOD3 | ( | NodePublishVolume | , |
grpc::Status(grpc::ServerContext *, const csi::v1::NodePublishVolumeRequest *, csi::v1::NodePublishVolumeResponse *) | |||
) |
mesos::internal::tests::MockCSIPlugin::MOCK_METHOD3 | ( | NodeUnpublishVolume | , |
grpc::Status(grpc::ServerContext *, const csi::v1::NodeUnpublishVolumeRequest *, csi::v1::NodeUnpublishVolumeResponse *) | |||
) |
mesos::internal::tests::MockCSIPlugin::MOCK_METHOD3 | ( | NodeGetVolumeStats | , |
grpc::Status(grpc::ServerContext *, const csi::v1::NodeGetVolumeStatsRequest *, csi::v1::NodeGetVolumeStatsResponse *) | |||
) |
mesos::internal::tests::MockCSIPlugin::MOCK_METHOD3 | ( | NodeExpandVolume | , |
grpc::Status(grpc::ServerContext *, const csi::v1::NodeExpandVolumeRequest *, csi::v1::NodeExpandVolumeResponse *) | |||
) |
mesos::internal::tests::MockCSIPlugin::MOCK_METHOD3 | ( | NodeGetCapabilities | , |
grpc::Status(grpc::ServerContext *, const csi::v1::NodeGetCapabilitiesRequest *, csi::v1::NodeGetCapabilitiesResponse *) | |||
) |
mesos::internal::tests::MockCSIPlugin::MOCK_METHOD3 | ( | NodeGetInfo | , |
grpc::Status(grpc::ServerContext *, const csi::v1::NodeGetInfoRequest *, csi::v1::NodeGetInfoResponse *) | |||
) |
Try<process::grpc::client::Connection> mesos::internal::tests::MockCSIPlugin::startup | ( | const Option< std::string > & | address = None() | ) |