annotations

package
v1.12.2 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package annotations contains all annotations that supported by cilium ingress controller along with some sensible defaults.

Index

Constants

View Source
const (
	TCPKeepAliveEnabledAnnotation          = annotation.Prefix + "/tcp-keep-alive"
	TCPKeepAliveIdleAnnotation             = annotation.Prefix + "/tcp-keep-alive-idle"
	TCPKeepAliveProbeIntervalAnnotation    = annotation.Prefix + "/tcp-keep-alive-probe-interval"
	TCPKeepAliveProbeMaxFailuresAnnotation = annotation.Prefix + "/tcp-keep-alive-probe-max-failures"
	WebsocketEnabledAnnotation             = annotation.Prefix + "/websocket"
)

Variables

This section is empty.

Functions

func GetAnnotationTCPKeepAliveEnabled

func GetAnnotationTCPKeepAliveEnabled(ingress *slim_networkingv1.Ingress) int64

GetAnnotationTCPKeepAliveEnabled returns 1 if enabled (default), 0 if disabled

func GetAnnotationTCPKeepAliveIdle

func GetAnnotationTCPKeepAliveIdle(ingress *slim_networkingv1.Ingress) int64

GetAnnotationTCPKeepAliveIdle returns the time (in seconds) the connection needs to remain idle before TCP starts sending keepalive probes. Defaults to 10s. Related references:

func GetAnnotationTCPKeepAliveProbeInterval

func GetAnnotationTCPKeepAliveProbeInterval(ingress *slim_networkingv1.Ingress) int64

GetAnnotationTCPKeepAliveProbeInterval returns the time (in seconds) between individual keepalive probes. Defaults to 5s. Related references:

func GetAnnotationTCPKeepAliveProbeMaxFailures

func GetAnnotationTCPKeepAliveProbeMaxFailures(ingress *slim_networkingv1.Ingress) int64

GetAnnotationTCPKeepAliveProbeMaxFailures returns the maximum number of keepalive probes TCP should send before dropping the connection. Defaults to 10. Related references:

func GetAnnotationWebsocketEnabled

func GetAnnotationWebsocketEnabled(ingress *slim_networkingv1.Ingress) int64

GetAnnotationWebsocketEnabled returns 1 if enabled (default), 0 if disabled

Types

This section is empty.

Jump to

Keyboard shortcuts

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