Documentation
¶
Index ¶
- func New(s platform.Store, c cache.Cache) presidio.TemplatesStore
- type Templates
- func (templates *Templates) DeleteTemplate(project, action, id string) error
- func (templates *Templates) GetTemplate(project, action, id string) (string, error)
- func (templates *Templates) InsertTemplate(project, action, id, value string) error
- func (templates *Templates) UpdateTemplate(project, action, id, value string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Templates ¶
type Templates struct {
// contains filtered or unexported fields
}
Templates kv store
func (*Templates) DeleteTemplate ¶
DeleteTemplate deletes a template from key store
func (*Templates) GetTemplate ¶
GetTemplate from key store
func (*Templates) InsertTemplate ¶
InsertTemplate inserts a template to the key store
Source Files
¶
- templates.go
Click to show internal directories.
Click to hide internal directories.