Documentation ¶
Overview ¶
Package bundlereader creates a bundle from a source and adds all the referenced resources, as well as image scans.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetContent ¶
func GetContent(ctx context.Context, base, source, version string, auth Auth) (map[string][]byte, error)
GetContent uses go-getter (and Helm for OCI) to read the files from directories and servers.
func Open ¶
func Open(ctx context.Context, name, baseDir, file string, opts *Options) (*fleet.Bundle, []*fleet.ImageScan, error)
Open reads the fleet.yaml, from stdin, or basedir, or a file in basedir. Then it reads/downloads all referenced resources. It returns the populated bundle and any existing imagescans.
Types ¶
type Style ¶
type Style struct { ChartPath string KustomizePath string HasChartYAML bool Options fleet.BundleDeploymentOptions }
func DetermineStyle ¶
func DetermineStyle(m *manifest.Manifest, options fleet.BundleDeploymentOptions) Style
func (Style) IsKustomize ¶
Click to show internal directories.
Click to hide internal directories.