Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DepsResolver ¶
type DepsResolver struct { DefaultCachePath string InsecureSkipTLSverify bool Downloader downloader.Downloader Settings *settings.Settings LogWriter io.Writer ResolveFuncs []resolveFunc }
DepsResolver is the resolver for resolving dependencies.
func (*DepsResolver) Resolve ¶
func (dr *DepsResolver) Resolve(options ...ResolveOption) error
Resolve resolves the dependencies of the package.
type ResolveOption ¶
type ResolveOption func(*ResolveOptions) error
ResolveOption is the option for resolving dependencies.
func WithCachePath ¶
func WithCachePath(cachePath string) ResolveOption
WithCachePath sets the path of the cache.
func WithEnableCache ¶
func WithEnableCache(enableCache bool) ResolveOption
WithEnableCache sets the flag to enable the cache during the resolving the remote package.
func WithResolveKclMod ¶
func WithResolveKclMod(kMod *pkg.KclPkg) ResolveOption
type ResolveOptions ¶
Click to show internal directories.
Click to hide internal directories.