package resolver
import "helm.sh/helm/v3/internal/resolver"
Index ¶
- func GetLocalPath(repo, chartpath string) (string, error)
- func HashReq(req, lock []*chart.Dependency) (string, error)
- func HashV2Req(req []*chart.Dependency) (string, error)
- type Resolver
Functions ¶
func GetLocalPath ¶
GetLocalPath generates absolute local path when use "file://" in repository of dependencies
func HashReq ¶
func HashReq(req, lock []*chart.Dependency) (string, error)
HashReq generates a hash of the dependencies.
This should be used only to compare against another hash generated by this function.
func HashV2Req ¶
func HashV2Req(req []*chart.Dependency) (string, error)
HashV2Req generates a hash of requirements generated in Helm v2.
This should be used only to compare against another hash generated by the Helm v2 hash function. It is to handle issue: https://github.com/helm/helm/issues/7233
Types ¶
type Resolver ¶
type Resolver struct {
// contains filtered or unexported fields
}
Resolver resolves dependencies from semantic version ranges to a particular version.
func New ¶
New creates a new resolver for a given chart, helm home and registry client.
func (*Resolver) Resolve ¶
func (r *Resolver) Resolve(reqs []*chart.Dependency, repoNames map[string]string) (*chart.Lock, error)
Resolve resolves dependencies and returns a lock file with the resolution.
Source Files ¶
resolver.go
- Version
- v3.17.3 (latest)
- Published
- Apr 9, 2025
- Platform
- linux/amd64
- Imports
- 15 packages
- Last checked
- 1 month ago –
Tools for package owners.