fleet

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2015 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetNodesInCluster

func GetNodesInCluster(url []string) []string

GetNodesInCluster return the list of ip address of all the nodes running in the cluster currently active (fleetctl list-machines)

func GetNodesWithMetadata

func GetNodesWithMetadata(url []string, metadata map[string][]string) ([]string, error)

GetNodesWithMetadata returns the ip address of the nodes with all the specified roles

func ParseMetadata

func ParseMetadata(rawMetadata string) (map[string][]string, error)

ParseMetadata parses a string that could contain a comma-delimited key/value pairs published in the fleet registry returning an equivalen map to represent the same structure

Types

This section is empty.

Jump to

Keyboard shortcuts

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