types

package
v0.0.0-...-ba1df2d Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	UnitTestMode         bool
	RequireNADAnnotation bool
	ContainerName        string
	RunTimeData
}

type FabricPeeringInfo

type FabricPeeringInfo struct {
	Encap  int
	ASN    int
	Peers  map[int]string
	Secret fabattv1.ObjRef
}

type Manager

type Manager struct {
	Mgr    manager.Manager
	Config Config
}

type RunTimeData

type RunTimeData struct {
	// NAD -> k8sNode -> encaps-> FabricNode
	FabricAdjs map[string]map[string]map[int][]int
	// encap -> FabricNode -> PeerInfo
	FabricPeerInfo map[int]*FabricPeeringInfo
	CommonMutex    sync.Mutex
	EligiblePods   map[string]bool
}

Jump to

Keyboard shortcuts

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