Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NetAttachDefCache ¶
type NetAttachDefCache struct {
// contains filtered or unexported fields
}
func (*NetAttachDefCache) Get ¶
func (nc *NetAttachDefCache) Get(namespace, networkName string) map[string]string
Get returns annotations map for the given namespace and network name, if it's not available return nil
func (*NetAttachDefCache) Start ¶
func (nc *NetAttachDefCache) Start()
Start creates informer for NetworkAttachmentDefinition events and populate the local cache
func (*NetAttachDefCache) Stop ¶
func (nc *NetAttachDefCache) Stop()
Stop teardown the NetworkAttachmentDefinition informer
type NetAttachDefCacheService ¶
type NetAttachDefCacheService interface { Start() Stop() Get(namespace string, networkName string) map[string]string }
func Create ¶
func Create() NetAttachDefCacheService
Click to show internal directories.
Click to hide internal directories.