1
0
mirror of https://github.com/rancher/norman.git synced 2025-08-30 13:28:48 +00:00
norman/store/empty/empty_store.go

27 lines
807 B
Go
Raw Normal View History

2017-11-11 04:44:02 +00:00
package empty
import "github.com/rancher/norman/types"
type Store struct {
}
func (e *Store) Delete(apiContext *types.APIContext, schema *types.Schema, id string) error {
return nil
}
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
}