nodemap

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NodeAddress

func NodeAddress(node corev1.Node) string

Types

type Map

type Map interface {
	Load(name string) (corev1.Node, bool)
	Store(name string, node corev1.Node)
	LoadOrStore(name string, node corev1.Node) (actual corev1.Node, loaded bool)
	LoadAndDelete(name string) (node corev1.Node, loaded bool)
	Delete(node corev1.Node)
	Range(func(name string, node corev1.Node) (shouldContinue bool))
	Addresses() []string
}

func New

func New() Map

Jump to

Keyboard shortcuts

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