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) GetClusterInfo(server string) (ClusterInfo, error)
- func (c *Cache) GetOIDCState(key string) (*OIDCState, error)
- func (c *Cache) GetRepoConnectionState(repo string) (appv1.ConnectionState, error)
- func (c *Cache) SetClusterInfo(server string, state *ClusterInfo) error
- func (c *Cache) SetOIDCState(key string, state *OIDCState) error
- func (c *Cache) SetRepoConnectionState(repo string, state *appv1.ConnectionState) error
- type ClusterInfo
- type OIDCState
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrCacheMiss = appstatecache.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) GetClusterInfo ¶
func (c *Cache) GetClusterInfo(server string) (ClusterInfo, error)
func (*Cache) GetRepoConnectionState ¶
func (c *Cache) GetRepoConnectionState(repo string) (appv1.ConnectionState, error)
func (*Cache) SetClusterInfo ¶
func (c *Cache) SetClusterInfo(server string, state *ClusterInfo) error
func (*Cache) SetRepoConnectionState ¶
func (c *Cache) SetRepoConnectionState(repo string, state *appv1.ConnectionState) error
type ClusterInfo ¶
type ClusterInfo struct { appv1.ConnectionState Version string }
Click to show internal directories.
Click to hide internal directories.