2017-11-10 21:44:02 -07:00
|
|
|
package empty
|
|
|
|
|
2017-11-28 14:28:25 -07:00
|
|
|
import (
|
|
|
|
"github.com/rancher/norman/types"
|
|
|
|
)
|
2017-11-10 21:44:02 -07:00
|
|
|
|
|
|
|
type Store struct {
|
|
|
|
}
|
|
|
|
|
2018-02-09 13:31:12 -07:00
|
|
|
func (e *Store) Context() types.StorageContext {
|
|
|
|
return types.DefaultStorageContext
|
|
|
|
}
|
|
|
|
|
2017-12-16 01:25:01 -07:00
|
|
|
func (e *Store) Delete(apiContext *types.APIContext, schema *types.Schema, id string) (map[string]interface{}, error) {
|
|
|
|
return nil, nil
|
2017-11-10 21:44:02 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
func (e *Store) ByID(apiContext *types.APIContext, schema *types.Schema, id string) (map[string]interface{}, error) {
|
|
|
|
return nil, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (e *Store) List(apiContext *types.APIContext, schema *types.Schema, opt *types.QueryOptions) ([]map[string]interface{}, error) {
|
|
|
|
return nil, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (e *Store) Create(apiContext *types.APIContext, schema *types.Schema, data map[string]interface{}) (map[string]interface{}, error) {
|
|
|
|
return nil, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (e *Store) Update(apiContext *types.APIContext, schema *types.Schema, data map[string]interface{}, id string) (map[string]interface{}, error) {
|
|
|
|
return nil, nil
|
|
|
|
}
|
2017-11-28 14:28:25 -07:00
|
|
|
|
2017-12-28 08:47:10 -07:00
|
|
|
func (e *Store) Watch(apiContext *types.APIContext, schema *types.Schema, opt *types.QueryOptions) (chan map[string]interface{}, error) {
|
2017-11-28 14:28:25 -07:00
|
|
|
return nil, nil
|
|
|
|
}
|