func TestAssociations(t *testing.T) { … } func TestEfficientAssociation(t *testing.T) { … } func TestUseOnceSelector(t *testing.T) { … } func TestObjectsExist(t *testing.T) { … } type useOnceSelector … func useOnce(s pkglabels.Selector) pkglabels.Selector { … } func (u *useOnceSelector) Matches(l pkglabels.Labels) bool { … } func (u *useOnceSelector) Empty() bool { … } func (u *useOnceSelector) String() string { … } func (u *useOnceSelector) Add(r ...pkglabels.Requirement) pkglabels.Selector { … } func (u *useOnceSelector) Requirements() (pkglabels.Requirements, bool) { … } func (u *useOnceSelector) DeepCopySelector() pkglabels.Selector { … } func (u *useOnceSelector) RequiresExactMatch(label string) (value string, found bool) { … } func indexPermutations(size int) [][]int { … } type operation … func putLabeledObject(key Key, labels map[string]string) operation { … } func putSelectingObject(key Key, selector pkglabels.Selector) operation { … } func deleteLabeled(key Key) operation { … } func deleteSelecting(key Key) operation { … } func deleteAll(m *BiMultimap) { … } func keepOnly(keys ...Key) operation { … } func keepOnlySelectors(keys ...Key) operation { … } func randomOperations(times int) operation { … } type expectation … func forwardSelect(key Key, want ...Key) expectation { … } func reverseSelect(key Key, want ...Key) expectation { … } func emptyMap(m *BiMultimap) error { … } func consistencyCheck(m *BiMultimap) error { … } func key(s string, ss ...string) Key { … } func labels(ls ...string) map[string]string { … } func selector(ss ...string) pkglabels.Selector { … } func unorderedEqual(as, bs []Key) bool { … }