Methods
-
schedule( enableHttps, enableHttp2, enablegRPC, enableWs )
-
Description
Create an initial back up while starting the application. Schedule further backup as specified by cron schedule in config
Parameters
Name Type Description enableHttpsboolean Indicates whether HTTPs is enabled/disabled
enableHttp2boolean Indicates whether HTTP2 is enabled/disabled
enablegRPCboolean Indicates whether gRPC is enabled/disabled
enableWsboolean Indicates whether Websocket is enabled/disabled
Details
-
createBackup( enableHttps, enableHttp2, enablegRPC, enableWs )
-
Description
If following protocols are not enabled, camouflage will not look for directories specific to these protocols, such as certs and grpc/mocks or grpc/protos while creating a backup Copy mocks directory, grpc/mocks and grpc/protos directories, certs directory and config file to backup folder in users' home directory
Parameters
Name Type Description enableHttpsboolean Indicates whether HTTPs is enabled/disabled
enableHttp2boolean Indicates whether HTTP2 is enabled/disabled
enablegRPCboolean Indicates whether gRPC is enabled/disabled
enableWsboolean Indicates whether Websocket is enabled/disabled
Details