worker

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultWorkerHost = "localhost"
View Source
const DefaultWorkerPort = 8897

Variables

View Source
var RemovedDefaultHost bool

Functions

func AddHost

func AddHost(host string)

func AddHosts

func AddHosts(hosts []string)

func GetTarggetedPods

func GetTarggetedPods() []v1.Pod

func HostWithPort

func HostWithPort(host string) string

func InitHosts

func InitHosts()

func PostTargettedPodsToWorkers

func PostTargettedPodsToWorkers() error

func RangeHosts

func RangeHosts(f func(key, value interface{}) bool)

func RemoveHost

func RemoveHost(host string)

func SetTargettedPods

func SetTargettedPods(pods []v1.Pod)

Types

This section is empty.

Jump to

Keyboard shortcuts

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