diff --git a/mappers/kubeedge-v1.15.0/virtualdevice/data/dbmethod/redis/client.go b/mappers/kubeedge-v1.15.0/virtualdevice/data/dbmethod/redis/client.go deleted file mode 100644 index ca39c695..00000000 --- a/mappers/kubeedge-v1.15.0/virtualdevice/data/dbmethod/redis/client.go +++ /dev/null @@ -1,48 +0,0 @@ -package redis - -import ( - "github.com/kubeedge/virtualdevice/pkg/common" - "github.com/kubeedge/virtualdevice/pkg/global" -) - -type DataBaseConfig struct { -} - -func NewDataBaseClient() (global.DataBaseClient, error) { - return &DataBaseConfig{}, nil -} - -func (d *DataBaseConfig) InitDbClient() error { - //TODO implement me - panic("implement me") -} - -func (d *DataBaseConfig) CloseSession() { - //TODO implement me - panic("implement me") -} - -func (d *DataBaseConfig) AddData(data *common.DataModel) { - //TODO implement me - panic("implement me") -} - -func (d *DataBaseConfig) GetDataByDeviceName(deviceName string) ([]*common.DataModel, error) { - //TODO implement me - panic("implement me") -} - -func (d *DataBaseConfig) GetPropertyDataByDeviceName(deviceName string, propertyData string) ([]*common.DataModel, error) { - //TODO implement me - panic("implement me") -} - -func (d *DataBaseConfig) GetDataByTimeRange(start int64, end int64) ([]*common.DataModel, error) { - //TODO implement me - panic("implement me") -} - -func (d *DataBaseConfig) DeleteDataByTimeRange(start int64, end int64) ([]*common.DataModel, error) { - //TODO implement me - panic("implement me") -}