Documentation ¶
Index ¶
- func GetValueForPasswordField(name string, secrets v1.SecretInterface) (string, error)
- func SetPasswordStore(schemas *types.Schemas, secretStore v1.SecretInterface, ...)
- type PasswordStore
- func (p *PasswordStore) ByID(apiContext *types.APIContext, schema *types.Schema, id string) (map[string]interface{}, error)
- func (p *PasswordStore) Context() types.StorageContext
- func (p *PasswordStore) Create(apiContext *types.APIContext, schema *types.Schema, ...) (map[string]interface{}, error)
- func (p *PasswordStore) Delete(apiContext *types.APIContext, schema *types.Schema, id string) (map[string]interface{}, error)
- func (p *PasswordStore) List(apiContext *types.APIContext, schema *types.Schema, opt *types.QueryOptions) ([]map[string]interface{}, error)
- func (p *PasswordStore) Update(apiContext *types.APIContext, schema *types.Schema, ...) (map[string]interface{}, error)
- func (p *PasswordStore) Watch(apiContext *types.APIContext, schema *types.Schema, opt *types.QueryOptions) (chan map[string]interface{}, error)
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)
Click to show internal directories.
Click to hide internal directories.