github.com/cilium/cilium@v1.16.2/pkg/testutils/identity/notifier.go (about) 1 // SPDX-License-Identifier: Apache-2.0 2 // Copyright Authors of Cilium 3 4 package testidentity 5 6 import "github.com/cilium/cilium/pkg/policy/api" 7 8 type DummyIdentityNotifier struct { 9 Registered map[api.FQDNSelector]struct{} 10 } 11 12 func NewDummyIdentityNotifier() *DummyIdentityNotifier { 13 return &DummyIdentityNotifier{ 14 Registered: make(map[api.FQDNSelector]struct{}), 15 } 16 } 17 18 func (d DummyIdentityNotifier) RegisterFQDNSelector(selector api.FQDNSelector) {} 19 20 func (d DummyIdentityNotifier) UnregisterFQDNSelector(selector api.FQDNSelector) {}