testutils

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SameEndpoint

func SameEndpoint(a, b *endpoint.Endpoint) bool

SameEndpoint returns true if two endpoints are same considers example.org. and example.org DNSName/Target as different endpoints

func SameEndpointLabels

func SameEndpointLabels(a, b []*endpoint.Endpoint) bool

SameEndpointLabels verifies that labels of the two slices of endpoints are the same

func SameEndpoints

func SameEndpoints(a, b []*endpoint.Endpoint) bool

SameEndpoints compares two slices of endpoints regardless of order [x,y,z] == [z,x,y] [x,x,z] == [x,z,x] [x,y,y] != [x,x,y] [x,x,x] != [x,x,z]

func SamePlanChanges

func SamePlanChanges(a, b map[string][]*endpoint.Endpoint) bool

SamePlanChanges verifies that two set of changes are the same

func SameProviderSpecific

func SameProviderSpecific(a, b endpoint.ProviderSpecific) bool

SameProviderSpecific verifies that two maps contain the same string/string key/value pairs

Types

This section is empty.

Jump to

Keyboard shortcuts

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