mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-11-01 06:11:56 +00:00
[Change] Rename applications -> terminal
This commit is contained in:
22
apps/terminal/backends/command/base.py
Normal file
22
apps/terminal/backends/command/base.py
Normal file
@@ -0,0 +1,22 @@
|
||||
# coding: utf-8
|
||||
import abc
|
||||
|
||||
|
||||
class CommandBase(object):
|
||||
__metaclass__ = abc.ABCMeta
|
||||
|
||||
@abc.abstractmethod
|
||||
def save(self, command):
|
||||
pass
|
||||
|
||||
@abc.abstractmethod
|
||||
def bulk_save(self, commands):
|
||||
pass
|
||||
|
||||
@abc.abstractmethod
|
||||
def filter(self, date_from=None, date_to=None, user=None,
|
||||
asset=None, system_user=None, command=None, session=None):
|
||||
pass
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user