Documentation
¶
Index ¶
- func AddBasicAuthRepository(name, url, username, password string) error
- func Delete(hr *v1alpha1.HelmRequest, info *cluster.Info) error
- func Init()
- func IsHelmRequestSynced(hr *v1alpha1.HelmRequest) bool
- func RemoveRepository(name string) error
- func Sync(hr *v1alpha1.HelmRequest, info *cluster.Info) (*release.Release, error)
- type IndexSyncer
- type Values
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddBasicAuthRepository ¶ added in v0.9.0
AddBasicAuthRepository add a repo with basic auth
func Delete ¶
func Delete(hr *v1alpha1.HelmRequest, info *cluster.Info) error
Delete delete a Release from a cluster
func Init ¶
func Init()
Init do a lot of dirty stuff 1. init repo dir 2. update repo index we will mount the repo file from a ConfigMap by default, so this function will do the index update
func IsHelmRequestSynced ¶
func IsHelmRequestSynced(hr *v1alpha1.HelmRequest) bool
IsHelmRequestSynced check if a HelmRequest is synced only if hash is equal and not install to all clusters
func RemoveRepository ¶ added in v0.9.0
RemoveRepository remove a repo from helm
Types ¶
type IndexSyncer ¶
type IndexSyncer struct {
// contains filtered or unexported fields
}
IndexSyncer sync helm repo index repeatedly
func NewDefaultIndexSyncer ¶
func NewDefaultIndexSyncer() *IndexSyncer
NewDefaultIndexSyncer create a new IndexSyncer
func (*IndexSyncer) Start ¶
func (i *IndexSyncer) Start(stop <-chan struct{}) error
Start will refresh the repo index periodically
Click to show internal directories.
Click to hide internal directories.