Documentation
¶
Index ¶
Examples ¶
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 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]
Example ¶
Output:
&{abc.com 1.2.3.4 A map[]}
&{abc.com something TXT map[]}
&{bbc.com foo.com CNAME map[]}
&{example.org load-balancer.org map[]}
&{example.org load-balancer.org TXT map[]}
func SamePlanChanges ¶
func SamePlanChanges(a, b map[string][]*endpoint.Endpoint) bool
SamePlanChanges verifies that two set of changes are the same
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.