kubernetes

package module
v0.0.0-...-2a25e5c Latest Latest
Warning

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

Go to latest
Published: May 6, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Discovery

func Discovery(opts ...K8sOption) options.Option

Types

type K8sOption

type K8sOption func(*k8sOptions)

func CacheTime

func CacheTime(t time.Duration) K8sOption

CacheTime sets the time that addresses will be cached before being fetched again

func Namespace

func Namespace(ns string) K8sOption

Namespace sets the Kubernetes namespace that will be watched for services

func Random

func Random() K8sOption

Random indicates that services will be selected randomly

func RoundRobin

func RoundRobin() K8sOption

RoundRobin indicates that services will be selected one after the other

Jump to

Keyboard shortcuts

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