extingress

package
v2.6.13 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2025 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HAProxyIngressTargetType    = "com.steadybit.extension_kubernetes.kubernetes-haproxy-ingress"
	HAProxyBlockTrafficActionId = "com.steadybit.extension_kubernetes.haproxy-block-traffic"
	HAProxyDelayTrafficActionId = "com.steadybit.extension_kubernetes.haproxy-delay-traffic"
)

Action IDs for HAProxy actions

View Source
const (
	NginxIngressTargetType    = "com.steadybit.extension_kubernetes.kubernetes-nginx-ingress"
	NginxBlockTrafficActionId = "com.steadybit.extension_kubernetes.nginx-block-traffic"
	NginxDelayTrafficActionId = "com.steadybit.extension_kubernetes.nginx-delay-traffic"
)

Action IDs and constants for NGINX actions

Variables

This section is empty.

Functions

func NewHAProxyBlockTrafficAction

func NewHAProxyBlockTrafficAction() action_kit_sdk.Action[HAProxyState]

NewHAProxyBlockTrafficAction creates a new block traffic action

func NewHAProxyDelayTrafficAction

func NewHAProxyDelayTrafficAction() action_kit_sdk.Action[HAProxyState]

NewHAProxyDelayTrafficAction creates a new delay traffic action

func NewNginxBlockTrafficAction added in v2.6.9

func NewNginxBlockTrafficAction() action_kit_sdk.Action[NginxState]

NewNginxBlockTrafficAction creates a new block traffic action

func NewNginxDelayTrafficAction added in v2.6.9

func NewNginxDelayTrafficAction() action_kit_sdk.Action[NginxState]

NewNginxDelayTrafficAction creates a new delay traffic action

func NewNginxIngressDiscovery added in v2.6.9

func NewNginxIngressDiscovery(k8s *client.Client) discovery_kit_sdk.TargetDiscovery

Types

type HAProxyState added in v2.6.12

type HAProxyState struct {
	ExecutionId      uuid.UUID
	Namespace        string
	IngressName      string
	Matcher          RequestMatcher
	AnnotationConfig string
}

HAProxyState contains common state for HAProxy-related actions

type NginxState added in v2.6.12

type NginxState struct {
	ExecutionId      uuid.UUID
	Namespace        string
	IngressName      string
	Matcher          RequestMatcher
	AnnotationKey    string
	AnnotationConfig string
}

type RequestMatcher added in v2.6.12

type RequestMatcher struct {
	PathPattern string
	HttpMethod  string
	HttpHeader  map[string]string
}

Jump to

Keyboard shortcuts

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