README

Canopsis Go-engines (Open Core)

This repository contains the open-source “new generation” engines, written in Go.

Licensed under the GNU AGPLv3.

Requirements

Requires Go and GNU Make.

See the GOLANG_IMAGE_TAG variable in Makefile.var for the exact version.

Building

Run make build to natively build the binaries in your current environment (Linux x86-64 only, for the moment). Resulting binaries will appear in the build/ directory.

Run make docker_images TAG="1.2.3" VERSION="1.2.3" to build the engines through Docker images. Replace 1.2.3 with your current Git tag.

Run make help for more information.

Expand ▾ Collapse ▴

Directories

Path Synopsis
cmd
lib
api
bdd
bdd contains feature context utils.
bdd contains feature context utils.
canopsis/engine
engine contain implementation of canopsis engine.
engine contain implementation of canopsis engine.
canopsis/idlealarm
Package idlealarm implements alarm modification on idle alarm.
Package idlealarm implements alarm modification on idle alarm.
canopsis/idlerule
Package idlerule contains idle rule model and adapter.
Package idlerule contains idle rule model and adapter.
canopsis/operation
Package operation implements alarm modification operations.
Package operation implements alarm modification operations.
canopsis/operation/executor
Package executor contains operation executors.
Package executor contains operation executors.
canopsis/watcher
Package watcher implements the watcher service used by the watcher engine to compute the watchers' states.
Package watcher implements the watcher service used by the watcher engine to compute the watchers' states.
errt
Package errt package defines some basic errors to use, see example.
Package errt package defines some basic errors to use, see example.
expression/parser
parser contains expression parser for search parameter.
parser contains expression parser for search parameter.
ics
ics contains ics calendar implementation.
ics contains ics calendar implementation.
log
Package log defines the default loggers.
Package log defines the default loggers.
security
security contains implementation of authentication and authorization methods.
security contains implementation of authentication and authorization methods.
security/httpprovider
httpprovider contains http authentication methods.
httpprovider contains http authentication methods.
security/mongoadapter
mongoadapter contains casbin mongo adapter.
mongoadapter contains casbin mongo adapter.
security/password
password contains password encoders.
password contains password encoders.
security/provider
provider contains authentication methods.
provider contains authentication methods.
security/session
session contains implementation of http session.
session contains implementation of http session.
security/session/mongostore
mongostore contains gorilla session store.
mongostore contains gorilla session store.
security/session/stats
stats contains implementation of http session statistics.
stats contains implementation of http session statistics.
security/userprovider
userprovider contains user storages.
userprovider contains user storages.
mocks
github.com/go-ldap/ldap
Package mock_v3 is a generated GoMock package.
Package mock_v3 is a generated GoMock package.
github.com/go-redis/redis/v7
Package mock_v7 is a generated GoMock package.
Package mock_v7 is a generated GoMock package.
github.com/gorilla/sessions
Package mock_sessions is a generated GoMock package.
Package mock_sessions is a generated GoMock package.
lib/amqp
Package mock_amqp is a generated GoMock package.
Package mock_amqp is a generated GoMock package.
lib/canopsis/action
Package mock_action is a generated GoMock package.
Package mock_action is a generated GoMock package.
lib/canopsis/alarm
Package mock_alarm is a generated GoMock package.
Package mock_alarm is a generated GoMock package.
lib/canopsis/encoding
Package mock_encoding is a generated GoMock package.
Package mock_encoding is a generated GoMock package.
lib/canopsis/engine
Package mock_engine is a generated GoMock package.
Package mock_engine is a generated GoMock package.
lib/canopsis/entity
Package mock_entity is a generated GoMock package.
Package mock_entity is a generated GoMock package.
lib/canopsis/idlealarm
Package mock_idlealarm is a generated GoMock package.
Package mock_idlealarm is a generated GoMock package.
lib/canopsis/idlerule
Package mock_idlerule is a generated GoMock package.
Package mock_idlerule is a generated GoMock package.
lib/canopsis/legacy/pbehavior
Package mock_pbehavior is a generated GoMock package.
Package mock_pbehavior is a generated GoMock package.
lib/canopsis/metaalarm/service
Package mock_service is a generated GoMock package.
Package mock_service is a generated GoMock package.
lib/canopsis/operation
Package mock_operation is a generated GoMock package.
Package mock_operation is a generated GoMock package.
lib/canopsis/pbehavior
Package mock_pbehavior is a generated GoMock package.
Package mock_pbehavior is a generated GoMock package.
lib/canopsis/statsng
Package mock_statsng is a generated GoMock package.
Package mock_statsng is a generated GoMock package.
lib/http
Package mock_http is a generated GoMock package.
Package mock_http is a generated GoMock package.
lib/mongo
Package mock_mongo is a generated GoMock package.
Package mock_mongo is a generated GoMock package.
lib/redis
Package mock_redis is a generated GoMock package.
Package mock_redis is a generated GoMock package.
lib/security
Package mock_security is a generated GoMock package.
Package mock_security is a generated GoMock package.
lib/security/password
Package mock_password is a generated GoMock package.
Package mock_password is a generated GoMock package.
lib/security/provider
Package mock_provider is a generated GoMock package.
Package mock_provider is a generated GoMock package.
lib/security/proxy
Package mock_proxy is a generated GoMock package.
Package mock_proxy is a generated GoMock package.