finder

package
v0.0.0-...-b5980d5 Latest Latest
Warning

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

Go to latest
Published: May 3, 2018 License: BSD-2-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Finder

type Finder struct {
	FileProvider   k8s.Provider
	RemoteProvider k8s.Provider
	Namespaces     []k8s.Namespace
	Whitelist      whitelist.List
}

Finder is looking for differences between the local file and the remote provider in `namespaces`

func New

func New(
	file k8s.Provider,
	remote k8s.Provider,
	namespaces []k8s.Namespace,
	whitelist whitelist.List,
) *Finder

New finder

func (*Finder) Run

func (f *Finder) Run(ctx context.Context, c chan<- change.Change) error

Run writes all differences found to the channel until itself or context is done

Jump to

Keyboard shortcuts

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