cluster

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterInfo

type ClusterInfo struct {
	//IP->Name
	PodIPMap      map[string]*PodInfo
	MapUpdateChan chan ClusterInfoChange
}

func NewClusterInfo

func NewClusterInfo() *ClusterInfo

func (*ClusterInfo) Run

func (c *ClusterInfo) Run()

type ClusterInfoChange

type ClusterInfoChange struct {
	IP   string
	Info *PodInfo
}

type PodInfo

type PodInfo struct {
	Name   string
	Labels map[string]string
}

Jump to

Keyboard shortcuts

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