Apache Mesos
Classes | Namespaces | Macros
mock_csi_plugin.hpp File Reference
#include <memory>
#include <string>
#include <gmock/gmock.h>
#include <grpc++/grpc++.h>
#include <stout/nothing.hpp>
#include <stout/try.hpp>
#include <csi/spec.hpp>

Go to the source code of this file.

Classes

class  mesos::internal::tests::MockCSIPlugin
 

Namespaces

 mesos
 
 mesos::internal
 
 mesos::internal::tests
 

Macros

#define CSI_METHOD_FOREACH(macro)
 
#define DECLARE_MOCK_CSI_METHOD(name)
 

Macro Definition Documentation

#define CSI_METHOD_FOREACH (   macro)
Value:
macro(GetSupportedVersions) \
macro(GetPluginInfo) \
macro(CreateVolume) \
macro(DeleteVolume) \
macro(ControllerPublishVolume) \
macro(ControllerUnpublishVolume) \
macro(ValidateVolumeCapabilities) \
macro(ListVolumes) \
macro(GetCapacity) \
macro(ControllerProbe) \
macro(ControllerGetCapabilities) \
macro(NodePublishVolume) \
macro(NodeUnpublishVolume) \
macro(GetNodeID) \
macro(NodeProbe) \
macro(NodeGetCapabilities)
#define DECLARE_MOCK_CSI_METHOD (   name)
Value:
MOCK_METHOD3(name, grpc::Status( \
grpc::ServerContext* context, \
const csi::name##Request* request, \
csi::name##Response* response));
Future< Response > request(const Request &request, bool streamedResponse=false)
Asynchronously sends an HTTP request to the process and returns the HTTP response once the entire res...
constexpr const char * name
Definition: shell.hpp:41