local

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
	Ctx context.Context

	// input config
	Input io.ReadCloser

	// path to output file
	OutFile string

	// the destination for storing the filter on the local filesystem
	FilterPath string

	// Use JSON instead of YAML for config (defaults to false)
	UseJsonConfig bool
}

func (*Provider) ApplyFilter

func (p *Provider) ApplyFilter(filter *v1.FilterSpec) error

applies the filter to all selected workloads in selected namespaces

func (*Provider) RemoveFilter

func (p *Provider) RemoveFilter(filter *v1.FilterSpec) error

removes the filter from all selected workloads in selected namespaces

Jump to

Keyboard shortcuts

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