Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllFunctionSpecPrefix ¶
GetAllFunctionSpecPrefix returns the prefix of one faasController's all functions specs.
func GetAllFunctionStatusPrefix ¶
GetAllFunctionStatusPrefix returns the prefix of one faasController's all functions status.
func GetFunctionSpecPrefix ¶
GetFunctionSpecPrefix returns the prefix of one function spec.
func GetFunctionStatusPrefix ¶
GetFunctionStatusPrefix returns the prefix of one function statues.
Types ¶
type Storage ¶
type Storage interface {
Lock() error
Unlock() error
Get(key string) (*string, error)
GetPrefix(prefix string) (map[string]string, error)
GetRaw(key string) (*mvccpb.KeyValue, error)
GetRawPrefix(prefix string) (map[string]*mvccpb.KeyValue, error)
Put(key, value string) error
PutUnderLease(key, value string) error
PutAndDelete(map[string]*string) error
PutAndDeleteUnderLease(map[string]*string) error
Delete(key string) error
DeletePrefix(prefix string) error
Syncer() (cluster.Syncer, error)
}
Storage is the interface to contain storage APIs.
Click to show internal directories.
Click to hide internal directories.