Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type AppInstallation ¶
type Component ¶
type Component struct {
base.BaseComponent
AppID int64
AppPrivateKey []byte
// contains filtered or unexported fields
}
func NewComponent ¶
func (*Component) GetAPIEndpoint ¶
func (*Component) GetRenovateConfig ¶
type StaleAllowedCache ¶
type StaleAllowedCache struct {
// contains filtered or unexported fields
}
StaleAllowedCache refreshes data in the background while optionally serving stale data to maintain low latency during refreshes.
func NewStaleAllowedCache ¶
func NewStaleAllowedCache(refreshPeriod time.Duration, refreshFunc func() (interface{}, error)) *StaleAllowedCache
func (*StaleAllowedCache) Get ¶
func (c *StaleAllowedCache) Get(key string) (interface{}, bool)
Get returns data from the cache, possibly stale data if a refresh is currently in progress. On first access, this call will block until data is available.
type TokenCache ¶
type TokenCache struct {
// contains filtered or unexported fields
}
func (*TokenCache) Set ¶
func (c *TokenCache) Set(key string, tokenInfo TokenInfo)
Click to show internal directories.
Click to hide internal directories.