Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeTagsDelta ¶
func ComputeTagsDelta( desired []*svcapitypes.Tag, latest []*svcapitypes.Tag, ) (missing, extra []*svcapitypes.Tag)
ComputeTagsDelta compares two Tag arrays and return two different lists containing the added and removed tags. The removed tags list only contains the Key of tags
func EqualStrings ¶
EqualStrings returns true if two strings are equal e.g., both are nil, one is nil and the other is empty string, or both non-zero strings are equal. TODO (@embano1): needs additional case -> a == "" && b == nil return true
func EqualTags ¶
func EqualTags( desired []*svcapitypes.Tag, latest []*svcapitypes.Tag, ) bool
EqualTags returns true if two Tag arrays are equal regardless of the order of their elements.
func EqualZeroString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.