bundle

package
v0.3.2-rc5 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2020 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChartPath added in v0.3.0

func ChartPath(helm *fleet.HelmOptions) string

Types

type Bundle

type Bundle struct {
	Definition *fleet.Bundle
	// contains filtered or unexported fields
}

func New

func New(bundle *fleet.Bundle) (*Bundle, error)

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(clusterGroups map[string]map[string]string, clusterLabels map[string]string) *Match

func (*Bundle) MatchForTarget

func (a *Bundle) MatchForTarget(name string) *Match

type Match

type Match struct {
	Target *fleet.BundleTarget
	Bundle *Bundle
}

type Options

type Options struct {
	Compress        bool
	Labels          map[string]string
	ServiceAccount  string
	TargetsFile     string
	TargetNamespace string
	Paused          bool
	SyncGeneration  int64
}

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) IsHelm added in v0.3.0

func (s Style) IsHelm() bool

func (Style) IsKustomize added in v0.3.0

func (s Style) IsKustomize() bool

func (Style) IsRawYAML added in v0.3.0

func (s Style) IsRawYAML() bool

Jump to

Keyboard shortcuts

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