Versions in this module Expand all Collapse all v1 v1.8.1 Mar 10, 2020 Changes in this version + const LISTOLD + const LOG + const TOUCH + func IsNameExistError(err error) bool + func IsNotFoundError(err error) bool + type FuncSvc struct + Address string + Atime time.Time + Ctime time.Time + Environment *fv1.Environment + Executor fv1.ExecutorType + Function *metav1.ObjectMeta + KubernetesObjects []apiv1.ObjectReference + Name string + type FunctionServiceCache struct + func MakeFunctionServiceCache(logger *zap.Logger) *FunctionServiceCache + func (fsc *FunctionServiceCache) Add(fsvc FuncSvc) (*FuncSvc, error) + func (fsc *FunctionServiceCache) DeleteEntry(fsvc *FuncSvc) + func (fsc *FunctionServiceCache) DeleteOld(fsvc *FuncSvc, minAge time.Duration) (bool, error) + func (fsc *FunctionServiceCache) GetByFunction(m *metav1.ObjectMeta) (*FuncSvc, error) + func (fsc *FunctionServiceCache) GetByFunctionUID(uid types.UID) (*FuncSvc, error) + func (fsc *FunctionServiceCache) IncreaseColdStarts(funcname, funcuid string) + func (fsc *FunctionServiceCache) ListOld(age time.Duration) ([]*FuncSvc, error) + func (fsc *FunctionServiceCache) Log() + func (fsc *FunctionServiceCache) TouchByAddress(address string) error