Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DataStorer ¶
type DataStorer interface { GetFunction(input *api.GetFunctionInput) (*api.GetFunctionOutput, bool, error) GetAlias(input *api.GetAliasInput) (*api.GetAliasOutput, bool, error) GetRuntimeConfiguration(input *api.GetRuntimeConfigurationInput) (*api.RuntimeConfiguration, bool, error) }
DataStorer xxx
func NewDataStorer ¶
func NewDataStorer(o *registry.Options, storageCache *StorageCache) (ds DataStorer, err error)
NewDataStorer create a apiserver client
type StorageCache ¶
func NewStorageCache ¶
func NewStorageCache(expirationConfig map[CacheType]time.Duration) *StorageCache
func (*StorageCache) CacheExpiration ¶
func (s *StorageCache) CacheExpiration(cacheType CacheType) time.Duration
type StorageCacheOptions ¶
func NewStorageCacheOptions ¶
func NewStorageCacheOptions() *StorageCacheOptions
Click to show internal directories.
Click to hide internal directories.