bridgecache

package
v0.0.0-...-aa771b6 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2020 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

type Cache interface {
	// GetVMIDFromNode returns virtual machine from vSphere
	GetVMIDFromNode(name string) string
}

Cache provides bridging information between vSphere and Kubernetes in cache. Specifically, when client has a Kubernetes node name, he wants to know the Corresponding VM ID in vSphere, this Cache will provide this information.

func NewCache

func NewCache(nodeInformer cache.SharedIndexInformer, querier vsphere.Querier) Cache

NewCache returns a Cache instance

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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