2015-11-25 14:54:08 -08:00
|
|
|
"""
|
2016-12-14 19:29:04 +02:00
|
|
|
.. module: lemur.plugins.bases.export
|
2015-11-25 14:54:08 -08:00
|
|
|
:platform: Unix
|
2018-05-29 10:18:16 -07:00
|
|
|
:copyright: (c) 2018 by Netflix Inc., see AUTHORS for more
|
2015-11-25 14:54:08 -08: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 13:27:14 -08:00
|
|
|
"""
|
|
|
|
This is the base class from which all supported
|
|
|
|
exporters will inherit from.
|
|
|
|
"""
|
2019-05-16 07:57:02 -07:00
|
|
|
|
|
|
|
type = "export"
|
2016-01-29 12:45:18 -08:00
|
|
|
requires_key = True
|
2015-11-25 14:54:08 -08:00
|
|
|
|
2016-12-14 23:42:29 +02:00
|
|
|
def export(self, body, chain, key, options, **kwargs):
|
|
|
|
raise NotImplementedError
|