mirror of
https://github.com/rancher/norman.git
synced 2025-07-19 01:36:51 +00:00
37 lines
1.1 KiB
Go
37 lines
1.1 KiB
Go
package empty
|
|
|
|
import (
|
|
"github.com/rancher/norman/types"
|
|
)
|
|
|
|
type Store struct {
|
|
}
|
|
|
|
func (e *Store) Context() types.StorageContext {
|
|
return types.DefaultStorageContext
|
|
}
|
|
|
|
func (e *Store) Delete(apiContext *types.APIContext, schema *types.Schema, id string) (map[string]interface{}, error) {
|
|
return nil, 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
|
|
}
|
|
|
|
func (e *Store) Watch(apiContext *types.APIContext, schema *types.Schema, opt *types.QueryOptions) (chan map[string]interface{}, error) {
|
|
return nil, nil
|
|
}
|