loadbalancing

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package loadbalancing contains utility functions used in load balancing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBalancingOrdinal

func GetBalancingOrdinal(listingId int32, numStatefulServices int32) int

func GetStatefulSetPodOrdinalFromName

func GetStatefulSetPodOrdinalFromName(podName string) (int, error)

Types

type BalancingStatefulPod

type BalancingStatefulPod struct {
	TargetAddress string
	Ordinal       int
	Name          string
	Mic           string
}

func GetBalancingStatefulPod

func GetBalancingStatefulPod(pod v12.Pod) (*BalancingStatefulPod, error)

Jump to

Keyboard shortcuts

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