github.com/dustinrc/deis@v1.10.1-0.20150917223407-0894a5fb979e/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 }