mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-12-02 03:37:46 +08:00
20 lines
337 B
Go
20 lines
337 B
Go
package helm
|
|
|
|
import "path"
|
|
|
|
type Config struct {
|
|
helmCache string
|
|
}
|
|
|
|
func (c *Config) RepoFile() string {
|
|
return path.Join(c.helmCache, "/repository/repositories.yaml")
|
|
}
|
|
|
|
func (c *Config) RepoCache() string {
|
|
return path.Join(c.helmCache, "cache")
|
|
}
|
|
|
|
func (c *Config) ChartCache() string {
|
|
return path.Join(c.helmCache, "chart")
|
|
}
|