resolver

package
v2.5.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 26, 2017 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLocalPath

func GetLocalPath(repo string, chartpath string) (string, error)

GetLocalPath generates absolute local path when use "file://" in repository of requirements

func HashReq

func HashReq(req *chartutil.Requirements) (string, error)

HashReq generates a hash of the requirements.

This should be used only to compare against another hash generated by this function.

Types

type Resolver

type Resolver struct {
	// contains filtered or unexported fields
}

Resolver resolves dependencies from semantic version ranges to a particular version.

func New

func New(chartpath string, helmhome helmpath.Home) *Resolver

New creates a new resolver for a given chart and a given helm home.

func (*Resolver) Resolve

func (r *Resolver) Resolve(reqs *chartutil.Requirements, repoNames map[string]string, d string) (*chartutil.RequirementsLock, error)

Resolve resolves dependencies and returns a lock file with the resolution.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL