Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
RepoTypeNotSupportErr = errors.New("repo type not support")
)
Functions ¶
This section is empty.
Types ¶
type ChartRepo ¶
type ChartRepo struct {
Name string
Type string
URL string
Username string
Password string
Token string
Branch string
InsecureSkipTLS bool
Period int
// the default local cache , all repo will same
LocalCache string
// the cert not support current
Cert []byte
RootCA []byte
PrivateKey []byte
Operation ChartRepoInterface
CancelChan chan int
}
func NewChartRepo ¶
func (*ChartRepo) StartTimerJobs ¶
func (c *ChartRepo) StartTimerJobs(callbackFunc func(chart *utils.CommonChartVersion, err error))
type ChartRepoInterface ¶
Click to show internal directories.
Click to hide internal directories.