store

package
v2.2.0-alpha3+incompat... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2018 License: Apache-2.0 Imports: 14 Imported by: 98

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetPasswordStore

func SetPasswordStore(schemas *types.Schemas, secretStore v1.SecretInterface, nsStore v1.NamespaceInterface)

Types

type PasswordStore

type PasswordStore struct {
	Schemas map[string]*types.Schema
	Fields  map[string]map[string]interface{}
	Stores  map[string]types.Store
	// contains filtered or unexported fields
}

func (*PasswordStore) ByID

func (p *PasswordStore) ByID(apiContext *types.APIContext, schema *types.Schema, id string) (map[string]interface{}, error)

func (*PasswordStore) Context

func (p *PasswordStore) Context() types.StorageContext

func (*PasswordStore) Create

func (p *PasswordStore) Create(apiContext *types.APIContext, schema *types.Schema, data map[string]interface{}) (map[string]interface{}, error)

func (*PasswordStore) Delete

func (p *PasswordStore) Delete(apiContext *types.APIContext, schema *types.Schema, id string) (map[string]interface{}, error)

func (*PasswordStore) List

func (p *PasswordStore) List(apiContext *types.APIContext, schema *types.Schema, opt *types.QueryOptions) ([]map[string]interface{}, error)

func (*PasswordStore) Update

func (p *PasswordStore) Update(apiContext *types.APIContext, schema *types.Schema, data map[string]interface{}, id string) (map[string]interface{}, error)

func (*PasswordStore) Watch

func (p *PasswordStore) Watch(apiContext *types.APIContext, schema *types.Schema, opt *types.QueryOptions) (chan map[string]interface{}, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL