Documentation ¶
Index ¶
Constants ¶
View Source
const ( CategoryIndexer = "category_indexer" CategoryAnnotationKey = "app.kubesphere.io/category" )
Variables ¶
View Source
var WorkDir string
Functions ¶
This section is empty.
Types ¶
type ReposCache ¶
type ReposCache interface { AddRepo(repo *v1alpha1.HelmRepo) error DeleteRepo(repo *v1alpha1.HelmRepo) error UpdateRepo(old, new *v1alpha1.HelmRepo) error GetApplication(string) (*v1alpha1.HelmApplication, bool) GetAppVersion(string) (*v1alpha1.HelmApplicationVersion, bool, error) GetAppVersionWithData(string) (*v1alpha1.HelmApplicationVersion, bool, error) ListAppVersionsByAppId(appId string) (ret []*v1alpha1.HelmApplicationVersion, exists bool) ListApplicationsInRepo(repoId string) (ret []*v1alpha1.HelmApplication, exists bool) ListApplicationsInBuiltinRepo(selector labels.Selector) (ret []*v1alpha1.HelmApplication, exists bool) SetCategoryIndexer(indexer cache.Indexer) CopyCategoryCount() map[string]int }
func NewReposCache ¶
func NewReposCache() ReposCache
Click to show internal directories.
Click to hide internal directories.