|
|
@ -31,7 +31,8 @@ import (
|
|
|
|
var ErrRepoOutOfDate = errors.New("repository file is out of date")
|
|
|
|
var ErrRepoOutOfDate = errors.New("repository file is out of date")
|
|
|
|
|
|
|
|
|
|
|
|
// RepoFile represents the repositories.yaml file in $HELM_HOME
|
|
|
|
// RepoFile represents the repositories.yaml file in $HELM_HOME
|
|
|
|
type RepoFile struct {
|
|
|
|
// TODO: change type name to File in Helm 3 to resolve linter warning
|
|
|
|
|
|
|
|
type RepoFile struct { // nolint
|
|
|
|
APIVersion string `json:"apiVersion"`
|
|
|
|
APIVersion string `json:"apiVersion"`
|
|
|
|
Generated time.Time `json:"generated"`
|
|
|
|
Generated time.Time `json:"generated"`
|
|
|
|
Repositories []*Entry `json:"repositories"`
|
|
|
|
Repositories []*Entry `json:"repositories"`
|
|
|
|