selector

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: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Choice

type Choice struct {
	Name      plugin.Name
	Instances []instance.LogicalID
	Affinity  *types.Any
}

Choice represents one of the possible instance plugins

func (Choice) HasLogicalID

func (c Choice) HasLogicalID(id instance.LogicalID) bool

HasLogicalID returns true if the choice contains a rule binding the given instance id.

type Options

type Options []Choice

Options container configuration parameter of the plugin

func (Options) Len

func (o Options) Len() int

func (Options) Less

func (o Options) Less(i, j int) bool

func (Options) Swap

func (o Options) Swap(i, j int)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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