Documentation
¶
Overview ¶
Package packager2 is the new implementation for packager.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadPackage ¶
func LoadPackage(ctx context.Context, opt LoadOptions) (*layout.PackagePaths, error)
LoadPackage optionally fetches and loads the package from the given source.
Types ¶
type LoadOptions ¶
type LoadOptions struct {
Source string
Shasum string
PublicKeyPath string
SkipSignatureValidation bool
Filter filters.ComponentFilterStrategy
}
LoadOptions are the options for LoadPackage.
type MirrorOptions ¶
type MirrorOptions struct {
Cluster *cluster.Cluster
PackagePaths layout.PackagePaths
Filter filters.ComponentFilterStrategy
RegistryInfo types.RegistryInfo
GitInfo types.GitServerInfo
NoImageChecksum bool
Retries int
}
MirrorOptions are the options for Mirror.
Click to show internal directories.
Click to hide internal directories.