26 lines
348 B
Go
26 lines
348 B
Go
package templater
|
|
|
|
type HelmRepository struct {
|
|
Repository
|
|
}
|
|
|
|
func (hr *HelmRepository) Add() error {
|
|
return nil
|
|
}
|
|
|
|
func (hr *HelmRepository) Update() error {
|
|
return nil
|
|
}
|
|
|
|
func (hr *HelmRepository) Delete() error {
|
|
return nil
|
|
}
|
|
|
|
func (hr *HelmRepository) Manage() error {
|
|
if hr.Enabled {
|
|
return hr.Add()
|
|
} else {
|
|
return hr.Delete()
|
|
}
|
|
}
|