cache

package
v0.35.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

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

Cache is the ovs bridges cache

func (Cache) Bridges

func (c Cache) Bridges() map[string]bool

Bridges return the cached bridges

func (*Cache) LastRefreshTime

func (c *Cache) LastRefreshTime() time.Time

LastRefreshTime returns the last time the cache was updated

func (*Cache) Refresh

func (c *Cache) Refresh(freshBridges map[string]bool)

Refresh updates the cached bridges and refresh time

Jump to

Keyboard shortcuts

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