filter

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FilterHosts

func FilterHosts(allHosts []nix.Host, skip int, every int, limit int) (hosts []nix.Host)

func FilterHostsTags added in v1.6.0

func FilterHostsTags(allHosts []nix.Host, selectedTags []string) (hosts []nix.Host)

func MatchHosts

func MatchHosts(allHosts []nix.Host, pattern string) (hosts []nix.Host, err error)

func SortHosts added in v1.6.0

func SortHosts(hosts []nix.Host, ordering nix.HostOrdering) (sortedHosts []nix.Host)

Sort a list of hosts based on their tags and a prioritized list of tags.

Types

This section is empty.

Jump to

Keyboard shortcuts

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