match

package
v0.10.0-rc.12 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package match is used to test matching a bundles to a target on the command line.

It's not used by fleet, but it is available in the fleet CLI as "test" sub command. The tests in fleet-examples use it.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Match

func Match(ctx context.Context, opts *Options) error

Types

type Options

type Options struct {
	Output             io.Writer
	BaseDir            string
	BundleSpec         string
	BundleFile         string
	ClusterName        string
	ClusterGroup       string
	ClusterLabels      map[string]string
	ClusterGroupLabels map[string]string
	Target             string
}

Jump to

Keyboard shortcuts

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