github.com/technosophos/deis@v1.7.1-0.20150915173815-f9005256004b/deisctl/config/backend.go (about) 1 package config 2 3 import "github.com/deis/deis/deisctl/config/model" 4 5 // Backend is an interface for any sort of underlying key/value config store 6 type Backend interface { 7 Get(string) (string, error) 8 GetWithDefault(string, string) (string, error) 9 Set(string, string) (string, error) 10 SetWithTTL(string, string, uint64) (string, error) 11 Delete(string) error 12 GetRecursive(string) ([]*model.ConfigNode, error) 13 }