Documentation ¶
Index ¶
- Variables
- func AddCacheFlagsToCmd(cmd *cobra.Command) func() (*Cache, error)
- type Cache
- func (c *Cache) GetAppDetails(revision string, appSrc *appv1.ApplicationSource, res interface{}) error
- func (c *Cache) GetManifests(revision string, appSrc *appv1.ApplicationSource, namespace string, ...) error
- func (c *Cache) GetRevisionMetadata(repoURL, revision string) (*appv1.RevisionMetadata, error)
- func (c *Cache) ListApps(repoUrl, revision string) (map[string]string, error)
- func (c *Cache) SetAppDetails(revision string, appSrc *appv1.ApplicationSource, res interface{}) error
- func (c *Cache) SetApps(repoUrl, revision string, apps map[string]string) error
- func (c *Cache) SetManifests(revision string, appSrc *appv1.ApplicationSource, namespace string, ...) error
- func (c *Cache) SetRevisionMetadata(repoURL, revision string, item *appv1.RevisionMetadata) error
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) GetAppDetails ¶
func (c *Cache) GetAppDetails(revision string, appSrc *appv1.ApplicationSource, res interface{}) error
func (*Cache) GetManifests ¶
func (*Cache) GetRevisionMetadata ¶
func (c *Cache) GetRevisionMetadata(repoURL, revision string) (*appv1.RevisionMetadata, error)
func (*Cache) SetAppDetails ¶
func (c *Cache) SetAppDetails(revision string, appSrc *appv1.ApplicationSource, res interface{}) error
func (*Cache) SetManifests ¶
func (*Cache) SetRevisionMetadata ¶
func (c *Cache) SetRevisionMetadata(repoURL, revision string, item *appv1.RevisionMetadata) error
Click to show internal directories.
Click to hide internal directories.