bundle

package
v0.1.0-rc4 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2020 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ManifestsDir = "manifests"
	ChartDir     = "chart"
	KustomizeDir = "kustomize"
	Overlays     = "overlays"
)

Variables

This section is empty.

Functions

This section is empty.

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, baseDir, file string, opts *Options) (*Bundle, error)

func Read

func Read(ctx context.Context, baseDir string, bundleSpecReader io.Reader, opts *Options) (*Bundle, error)

func (*Bundle) Match

func (a *Bundle) Match(clusterGroup string, clusterGroupLabels, 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
	// contains filtered or unexported fields
}

func (*Match) Manifest

func (t *Match) Manifest() (*manifest.Manifest, error)

type Options

type Options struct {
	Compress bool
}

Jump to

Keyboard shortcuts

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