db

package
v2.1.21+incompatible Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	CacheKind = "DBCache"

	StorageDBCache = "Storages"
	WireDBCache    = "Wires"

	GroupDBCache      = "Groups"
	GroupGuestDBCache = "Groupguests"
	GroupHostDBCache  = "Grouphosts"
	HostDBCache       = "Hosts"

	ClusterDBCache     = "Clusters"
	ClusterHostDBCache = "Clusterhosts"
	HostWireDBCache    = "Hostwires"

	AggregateDBCache          = "Aggregates"
	AggregateHostDBCache      = "AggregateHosts"
	AggregateBaremetalDBCache = "AggregateBaremetals"

	BaremetalAgentDBCache = "BaremetalAgents"

	NetworksDBCache      = "Networks"
	NetInterfacesDBCache = "NetInterfaces"
	WiresDBCache         = "Wires"
)

Variables

This section is empty.

Functions

func DefaultCachedItems

func DefaultCachedItems() []cache.CachedItem

func NewCacheManager

func NewCacheManager(stopCh <-chan struct{}) *cache.GroupManager

func NewCachedItems

func NewCachedItems(items []string) (cachedItems []cache.CachedItem)

Types

This section is empty.

Jump to

Keyboard shortcuts

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