package
0.0.0-20240531175252-4c2bc153f33a
Repository: https://github.com/nestybox/sysbox-fs.git
Documentation: pkg.go.dev
# README
Mocks generation
To generate or update code mocks in this folder simply follow these steps ...
- Download required binaries / libs if not already done:
rmolina@dev-vm1:~/wsp/05-07-2020/sysbox/sysbox-fs$ go get github.com/stretchr/testify
rmolina@dev-vm1:~/wsp/05-07-2020/sysbox/sysbox-fs$ go get github.com/vektra/mockery/.../
- Execute 'mock' binary by pointing to the interface that you want to mock and the path where this one is located. In sysbox-fs' case, all interfaces are defined within the "domain" folder:
rmolina@dev-vm1:~/wsp/05-07-2020/sysbox/sysbox-fs$ mockery -name=FuseServerIface -dir=domain
Generating mock for: FuseServerIface in file: mocks/FuseServerIface.go
# Functions
NewNSenterServiceIface creates a new instance of NSenterServiceIface.
# Structs
ContainerIface is an autogenerated mock type for the ContainerIface type.
ContainerStateServiceIface is an autogenerated mock type for the ContainerStateServiceIface type.
FuseServerIface is an autogenerated mock type for the FuseServerIface type.
FuseServerServiceIface is an autogenerated mock type for the FuseServerServiceIface type.
HandlerIface is an autogenerated mock type for the HandlerIface type.
HandlerServiceIface is an autogenerated mock type for the HandlerServiceIface type.
IOnodeIface is an autogenerated mock type for the IOnodeIface type.
IOServiceIface is an autogenerated mock type for the IOServiceIface type.
MountHelperIface is an autogenerated mock type for the MountHelperIface type.
MountServiceIface is an autogenerated mock type for the MountServiceIface type.
NSenterEventIface is an autogenerated mock type for the NSenterEventIface type.
NSenterServiceIface is an autogenerated mock type for the NSenterServiceIface type.