Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ChartsDir = "/tmp/helm-charts"
)
Functions ¶
func AddBasicAuthRepository ¶ added in v0.9.0
AddBasicAuthRepository add a repo with basic auth
func GetChartsForRepo ¶ added in v0.9.2
GetChartsForRepo retrieve charts info from a repo cache index Check: can we use the generated time to do compare?
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 Deploy ¶ added in v0.9.5
type Deploy struct {
// logger
Log logr.Logger
// is this chart has deployed release
Deployed bool
// the global cluster info
InCluster *cluster.Info
// target cluster info
Cluster *cluster.Info
// system namespace for chartrepo
SystemNamespace string
// all the charts info
HelmRequest *v1alpha1.HelmRequest
}
Deploy contains info about one chart deploy
type Downloader ¶ added in v0.9.5
type Downloader struct {
// contains filtered or unexported fields
}
func NewDownloader ¶ added in v0.9.5
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.