Documentation ¶
Index ¶
- Variables
- func AddCacheFlagsToCmd(cmd *cobra.Command) func() (*Cache, error)
- type Cache
- func (c *Cache) GetAppManagedResources(appName string, res *[]*appv1.ResourceDiff) error
- func (c *Cache) GetAppResourcesTree(appName string, res *appv1.ApplicationTree) error
- func (c *Cache) GetItem(key string, item interface{}) error
- func (c *Cache) SetAppManagedResources(appName string, managedResources []*appv1.ResourceDiff) error
- func (c *Cache) SetAppResourcesTree(appName string, resourcesTree *appv1.ApplicationTree) error
- func (c *Cache) SetItem(key string, item interface{}, expiration time.Duration, delete bool) error
- type OIDCState
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrCacheMiss = cacheutil.ErrCacheMiss
Functions ¶
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
func (*Cache) GetAppManagedResources ¶
func (c *Cache) GetAppManagedResources(appName string, res *[]*appv1.ResourceDiff) error
func (*Cache) GetAppResourcesTree ¶
func (c *Cache) GetAppResourcesTree(appName string, res *appv1.ApplicationTree) error
func (*Cache) SetAppManagedResources ¶
func (c *Cache) SetAppManagedResources(appName string, managedResources []*appv1.ResourceDiff) error
func (*Cache) SetAppResourcesTree ¶
func (c *Cache) SetAppResourcesTree(appName string, resourcesTree *appv1.ApplicationTree) error
Click to show internal directories.
Click to hide internal directories.