models

package
v2.5.3 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceInjection

type ServiceInjection struct {
	models.Endpoint              // Embedded endpoint with ID, status, etc.
	PortId           strfmt.UUID // Neutron port ID for the endpoint
	Network          strfmt.UUID // Network ID where the endpoint resides
	ServiceID        strfmt.UUID // ID of the service this endpoint belongs to
	ServicePorts     []int       // Ports exposed by the service
	ServiceProtocol  string      // Protocol type (HTTP or TCP)
	ServiceIPAddress string      // First IP address of the service (upstream target)
	ProxyProtocol    bool        // Whether to send proxy protocol v2 to upstream
}

ServiceInjection contains all data needed to set up network injection for an endpoint. It combines endpoint data with service configuration for HAProxy and netlink setup.

Jump to

Keyboard shortcuts

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