Documentation ¶
Overview ¶
Copyright 2017 Atos
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2017 Atos ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2017 Atos ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Directories ¶
Path | Synopsis |
---|---|
Package assessment contains the core code that evaluates the agreements.
|
Package assessment contains the core code that evaluates the agreements. |
model
Package model contains the model for the assessment process.
|
Package model contains the model for the assessment process. |
monitor
Package monitor contains the interface for monitoring adapters.
|
Package monitor contains the interface for monitoring adapters. |
monitor/dummyadapter
Package dummyadapter provides an example of MonitoringAdapter.
|
Package dummyadapter provides an example of MonitoringAdapter. |
monitor/genericadapter
Package genericadapter provides a configurable MonitoringAdapter that works with advanced agreement schema.
|
Package genericadapter provides a configurable MonitoringAdapter that works with advanced agreement schema. |
monitor/prometheus
Package prometheus provides a Retriever to get monitoring metrics from a Prometheus TSDB
|
Package prometheus provides a Retriever to get monitoring metrics from a Prometheus TSDB |
monitor/prometheus/guarantees
Package guarantees contains a the monitorization of specific guarantees.
|
Package guarantees contains a the monitorization of specific guarantees. |
monitor/simpleadapter
Package simpleadapter provides an example of MonitoringAdapter that returns the same data passed on construction
|
Package simpleadapter provides an example of MonitoringAdapter that returns the same data passed on construction |
notifier/lognotifier
Package lognotifier contains a simple ViolationsNotifier that just logs violations.
|
Package lognotifier contains a simple ViolationsNotifier that just logs violations. |
notifier/rabbitnotifier
Package rabbitpushgnotifier contains a simple ViolationsNotifier that send violations to a rabbit queue and also the queries to Prometheus needed to get all the information about the violation.
|
Package rabbitpushgnotifier contains a simple ViolationsNotifier that send violations to a rabbit queue and also the queries to Prometheus needed to get all the information about the violation. |
Package generator builds an Agreement from a Template.
|
Package generator builds an Agreement from a Template. |
Package model contain the entities used in the SLALite: agreements, violations, penalties...
|
Package model contain the entities used in the SLALite: agreements, violations, penalties... |
memrepository
Package memrepository is a simple implementation of a model.IRepository intended for developing purposes.
|
Package memrepository is a simple implementation of a model.IRepository intended for developing purposes. |
mongodb
Package mongodb is an implementation of a model.IRepository backed up by a mongodb.
|
Package mongodb is an implementation of a model.IRepository backed up by a mongodb. |
validation
Package validation provides a repository decorator that provides in-memory validation before calling the decorated repository.
|
Package validation provides a repository decorator that provides in-memory validation before calling the decorated repository. |
Package utils contain util functions.
|
Package utils contain util functions. |