enrollment

package
v0.0.0-...-a355528 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2017 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delta

func Delta(list instance.Descriptions, listKeyFunc keyFunc, other instance.Descriptions,
	otherKeyFunc keyFunc) (add instance.Descriptions, remove instance.Descriptions, changes [][2]instance.Description)

Delta computes the changes necessary to make the list match other: 1. the add Descriptions are entries to add to other 2. the remove Descriptions are entries to remove from other 3. changes are a slice of Descriptions where changes[x][0] is the original, and changes[x][1] is new

func Difference

func Difference(list instance.Descriptions, listKeyFunc keyFunc,
	other instance.Descriptions, otherKeyFunc keyFunc) instance.Descriptions

Difference returns a list of specs that is not in the receiver.

func NewController

func NewController(plugins func() discovery.Plugins, leader manager.Leadership,
	options enrollment.Options) controller.Controller

NewController returns a controller implementation

func NewTypedControllers

func NewTypedControllers(plugins func() discovery.Plugins, leader manager.Leadership,
	options enrollment.Options) func() (map[string]controller.Controller, error)

NewTypedControllers return typed controllers

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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