Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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
}
Bundle struct extends the fleet.Bundle with cluster matches and ImageScan configuration
func Open ¶
func Open(ctx context.Context, name, baseDir, file string, opts *Options) (*Bundle, error)
Open reads the content, from stdin, or basedir, or a file in basedir. It returns a bundle with the given name
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.