bundlematcher

package
v0.6.0-SURE-6125.1 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BundleMatch

type BundleMatch struct {
	// contains filtered or unexported fields
}

BundleMatch stores the bundle and the matcher for the bundle

func New

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

func (*BundleMatch) Match

func (a *BundleMatch) Match(clusterName string, clusterGroups map[string]map[string]string, clusterLabels map[string]string) *fleet.BundleTarget

func (*BundleMatch) MatchForTarget

func (a *BundleMatch) MatchForTarget(name string) *fleet.BundleTarget

Jump to

Keyboard shortcuts

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