podzone

package
v0.0.0-...-4a1a1e7 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCache

func NewCache() cache.Store

Types

type Helper

type Helper struct {
	client.Client
	Logger logr.Logger
	Cache  k8scache.Store
}

func (*Helper) GetSortedZonesFromMap

func (h *Helper) GetSortedZonesFromMap(zonePodsMap map[string][]*v1.Pod) []string

func (*Helper) GetZonePodsMap

func (h *Helper) GetZonePodsMap(ctx context.Context, pods []*v1.Pod) map[string][]*v1.Pod

type PodZone

type PodZone struct {
	PodName string
	Zone    string
}

Jump to

Keyboard shortcuts

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