locality

package
v0.0.0-...-edf464d Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Instance

type Instance struct {
	Zone   string
	Region string
}

func Parse

func Parse(s string) Instance

func (Instance) String

func (l Instance) String() string

type Match

type Match func(Instance) bool

func And

func And(m1 Match, m2 Match) Match

func MatchOtherZoneInSameRegion

func MatchOtherZoneInSameRegion(l Instance) Match

func MatchRegion

func MatchRegion(l Instance) Match

func MatchZone

func MatchZone(l Instance) Match

func Not

func Not(match Match) Match

Jump to

Keyboard shortcuts

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