mirror of
https://github.com/openappsec/attachment.git
synced 2025-11-16 09:21:55 +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:
22
attachments/nano_attachment/include/mock_nano_stat.h
Normal file
22
attachments/nano_attachment/include/mock_nano_stat.h
Normal file
@@ -0,0 +1,22 @@
|
||||
#ifndef __MOCK_NANO_STAT_H__
|
||||
#define __MOCK_NANO_STAT_H__
|
||||
|
||||
#include "cmock.h"
|
||||
|
||||
extern "C" {
|
||||
#include <sys/stat.h>
|
||||
}
|
||||
|
||||
class NanoStatMocker : public CMockMocker<NanoStatMocker>
|
||||
{
|
||||
public:
|
||||
MOCK_METHOD2(mkdir, int(const char *pathname, mode_t mode));
|
||||
};
|
||||
|
||||
CMOCK_MOCK_FUNCTION2(
|
||||
NanoStatMocker,
|
||||
mkdir,
|
||||
int(const char *pathname, mode_t mode)
|
||||
);
|
||||
|
||||
#endif // __MOCK_NANO_STAT_H__
|
||||
Reference in New Issue
Block a user