modules

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindExternalModuleImages

func FindExternalModuleImages(
	mod *Module,
	filter Filter,
	authProvider authn.Authenticator,
	insecure, skipVerifyTLS bool,
) (moduleImages, releaseImages map[string]struct{}, err error)

Types

type Filter added in v0.3.0

type Filter map[string]*semver.Version

Filter maps module names to minimal versions of these modules to be pulled

func NewFilter added in v0.3.0

func NewFilter(filterExpression string) (Filter, error)

func (Filter) FilterReleases added in v0.3.0

func (f Filter) FilterReleases(mod *Module)

func (Filter) MatchesFilter added in v0.3.0

func (f Filter) MatchesFilter(mod *Module) bool

type Module

type Module struct {
	Name         string
	RegistryPath string
	Releases     []string
}

func GetDeckhouseExternalModules

func GetDeckhouseExternalModules(mirrorCtx *contexts.PullContext) ([]Module, error)

func GetExternalModulesFromRepo

func GetExternalModulesFromRepo(repo string, registryAuth authn.Authenticator, insecure, skipVerifyTLS bool) ([]Module, error)

Jump to

Keyboard shortcuts

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