Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Auth ¶ added in v0.3.5
type Auth struct {
Username string
Password string
CABundle []byte
SSHPrivateKey []byte
}
type Bundle ¶
type Bundle struct {
Definition *fleet.Bundle
Scans []*fleet.ImageScan
// contains filtered or unexported fields
}
func Open ¶
func Open(ctx context.Context, name, baseDir, file string, opts *Options) (*Bundle, error)
func Read ¶
func Read(ctx context.Context, name, baseDir string, bundleSpecReader io.Reader, opts *Options) (*Bundle, error)
func (*Bundle) Match ¶
func (a *Bundle) Match(clusterName string, clusterGroups map[string]map[string]string, clusterLabels map[string]string) *Match
func (*Bundle) MatchForTarget ¶
func (a *Bundle) MatchForTarget(name string) *Match
type Options ¶
type Options struct {
Compress bool
Labels map[string]string
ServiceAccount string
TargetsFile string
TargetNamespace string
Paused bool
SyncGeneration int64
Auth Auth
}
type Style ¶ added in v0.3.0
type Style struct {
ChartPath string
KustomizePath string
HasChartYAML bool
Options fleet.BundleDeploymentOptions
}
func DetermineStyle ¶ added in v0.3.0
func DetermineStyle(m *manifest.Manifest, options fleet.BundleDeploymentOptions) Style
func (Style) IsKustomize ¶ added in v0.3.0
func (s Style) IsKustomize() bool
Click to show internal directories.
Click to hide internal directories.