store

package
v2.2.2-rc9+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2019 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetValueForPasswordField

func GetValueForPasswordField(name string, secrets v1.SecretInterface) (string, error)

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