fake

package
v1.12.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 16, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EventUpsert = "upsert"
	EventDelete = "delete"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type IPCache

type IPCache struct {
	Events chan NodeEvent
	// contains filtered or unexported fields
}

func NewIPCache

func NewIPCache(events bool) *IPCache

func (*IPCache) Delete

func (i *IPCache) Delete(IP string, source source.Source) bool

func (*IPCache) Upsert

func (i *IPCache) Upsert(ip string, hostIP net.IP, hostKey uint8, k8sMeta *ipcache.K8sMetadata, newIdentity ipcache.Identity) (bool, error)

type NodeEvent

type NodeEvent struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL