enrollment

package
v0.0.0-...-3500608 Latest Latest
Warning

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

Go to latest
Published: May 14, 2018 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// DefaultOptions return an Options with default values filled in.
	DefaultOptions = enrollment.Options{
		SyncInterval:             types.Duration(5 * time.Second),
		DestroyOnTerminate:       false,
		SourceParseErrPolicy:     enrollment.SourceParseErrorEnableDestroy,
		EnrollmentParseErrPolicy: enrollment.EnrolledParseErrorEnableProvision,
	}
)

Functions

func Delta

func Delta(list instance.Descriptions, listKeyFunc instance.KeyFunc, listParseOp string,
	other instance.Descriptions, otherKeyFunc instance.KeyFunc, otherParseOp string) (add instance.Descriptions,
	remove instance.Descriptions)

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

func NewController

func NewController(scope scope.Scope, options enrollment.Options) controller.Controller

NewController returns a controller implementation

func NewTypedControllers

func NewTypedControllers(scope scope.Scope,
	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