mirror of
https://github.com/openappsec/attachment.git
synced 2026-01-03 07:04:48 +03:00
Istio support (#30)
* adding istio files * fix the envoy CMakList file * fix the envoy CMakList file * adding the .mod file * adding the webhook injector image * adding istio files * adding istio files * fix the envoy CMakList file * fix the envoy CMakList file * adding the .mod file * adding the webhook injector image * adding istio files * pulling from dev * fix the envoy CMakList file * adding istio files * fix missing header * fix wrong name of library * fix envoy CMakeLists * remove cloud guard names * remove cloud guard names * adding istio files * adding istio files * [JIRA] INXT-44274: test agent image * add Daniel fixes * remove zlib library * remove nano attachment ut
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
#ifndef __MOCK_NANO_CONFIGURATION_H__
|
||||
#define __MOCK_NANO_CONFIGURATION_H__
|
||||
|
||||
#include "cmock.h"
|
||||
#include "nano_attachment_common.h"
|
||||
|
||||
extern "C" {
|
||||
#include "nano_configuration.h"
|
||||
}
|
||||
|
||||
class NanoConfigurationMocker : public CMockMocker<NanoConfigurationMocker>
|
||||
{
|
||||
public:
|
||||
MOCK_METHOD2(
|
||||
init_attachment_config,
|
||||
NanoCommunicationResult(
|
||||
NanoAttachment *attachment,
|
||||
const char *conf_path
|
||||
)
|
||||
);
|
||||
MOCK_METHOD1(reset_attachment_config, NanoCommunicationResult(NanoAttachment *attachment));
|
||||
};
|
||||
|
||||
CMOCK_MOCK_FUNCTION2(
|
||||
NanoConfigurationMocker,
|
||||
init_attachment_config,
|
||||
NanoCommunicationResult(
|
||||
NanoAttachment *attachment,
|
||||
const char *conf_path
|
||||
)
|
||||
);
|
||||
|
||||
CMOCK_MOCK_FUNCTION1(
|
||||
NanoConfigurationMocker,
|
||||
reset_attachment_config,
|
||||
NanoCommunicationResult(NanoAttachment *attachment)
|
||||
);
|
||||
|
||||
#endif // __MOCK_NANO_CONFIGURATION_H__
|
||||
Reference in New Issue
Block a user