2015-11-25 23:54:08 +01:00
|
|
|
"""
|
2016-12-14 18:29:04 +01:00
|
|
|
.. module: lemur.plugins.bases.export
|
2015-11-25 23:54:08 +01:00
|
|
|
:platform: Unix
|
2018-05-29 19:18:16 +02:00
|
|
|
:copyright: (c) 2018 by Netflix Inc., see AUTHORS for more
|
2015-11-25 23:54:08 +01:00
|
|
|
:license: Apache, see LICENSE for more details.
|
|
|
|
|
|
|
|
.. moduleauthor:: Kevin Glisson <kglisson@netflix.com>
|
|
|
|
"""
|
|
|
|
from lemur.plugins.base import Plugin
|
|
|
|
|
|
|
|
|
|
|
|
class ExportPlugin(Plugin):
|
2015-11-27 22:27:14 +01:00
|
|
|
"""
|
|
|
|
This is the base class from which all supported
|
|
|
|
exporters will inherit from.
|
|
|
|
"""
|
2015-11-25 23:54:08 +01:00
|
|
|
type = 'export'
|
2016-01-29 21:45:18 +01:00
|
|
|
requires_key = True
|
2015-11-25 23:54:08 +01:00
|
|
|
|
2016-12-14 22:42:29 +01:00
|
|
|
def export(self, body, chain, key, options, **kwargs):
|
|
|
|
raise NotImplementedError
|