gateway_api

package
v1.20.0-pre.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	CiliumGammaConditionAccepted = CiliumGammaPrefix + "/GammaRoutesAttached"

	CiliumGammaReasonAccepted = "Accepted"
)
View Source
const (
	CiliumGammaConditionProgrammed = CiliumGammaPrefix + "/GammaRoutesProgrammed"

	CiliumGammaReasonProgrammed = "Programmed"
)
View Source
const (
	CiliumGammaPrefix = "gamma.cilium.io"
)

Variables

View Source
var Cell = cell.Module(
	"gateway-api",
	"Manages the Gateway API controllers",

	cell.Config(gatewayApiConfig{
		EnableGatewayAPISecretsSync:            true,
		EnableGatewayAPIProxyProtocol:          false,
		EnableGatewayAPIAppProtocol:            false,
		EnableGatewayAPIAlpn:                   false,
		GatewayAPIServiceExternalTrafficPolicy: "Cluster",
		GatewayAPISecretsNamespace:             "cilium-secrets",
		GatewayAPIXffNumTrustedHops:            0,

		GatewayAPIHostnetworkEnabled:           false,
		GatewayAPIHostnetworkNodelabelselector: "",
	}),

	cell.ProvidePrivate(newGatewayAPIPreconditions),

	cell.Invoke(initGatewayAPIController),
	cell.Provide(registerSecretSync),
)

Cell manages the Gateway API related controllers.

Functions

func ConfigMapIsReferencedInCiliumGateway

func ConfigMapIsReferencedInCiliumGateway(ctx context.Context, c client.Client, logger *slog.Logger, cfgMap *corev1.ConfigMap) bool

func EnqueueBackendTLSPolicyConfigMaps

func EnqueueBackendTLSPolicyConfigMaps(c client.Client, logger *slog.Logger) handler.EventHandler

Enqueue BackendTLSPolicyConfigmaps produces a handler.EventHandler that, when it is passed a BackendTLSPolicy as the object.Object, returns any ConfigMaps referenced.

func EnqueueTLSSecrets added in v1.15.0

func EnqueueTLSSecrets(c client.Client, logger *slog.Logger) handler.EventHandler

func GatewayAddressTypePtr

func GatewayAddressTypePtr(addr gatewayv1.AddressType) *gatewayv1.AddressType

func GroupPtr

func GroupPtr(name string) *gatewayv1.Group

func IsReferencedByCiliumGateway added in v1.15.0

func IsReferencedByCiliumGateway(ctx context.Context, c client.Client, logger *slog.Logger, obj *corev1.Secret) bool

func KindPtr

func KindPtr(name string) *gatewayv1.Kind

func ObjectNamePtr

func ObjectNamePtr(name string) *gatewayv1.ObjectName

Types

This section is empty.

Directories

Path Synopsis
Package indexers holds functions related to building indexes for Kubernetes objects in the client cache.
Package indexers holds functions related to building indexes for Kubernetes objects in the client cache.
policychecks holds objects that are used to be able run checks of various types of Policy for common problems, particularly related to things like:
policychecks holds objects that are used to be able run checks of various types of Policy for common problems, particularly related to things like:
routechecks holds a number of objects that fulfill the Input interface; this interface is used to be able to generically run checks of various types of Routes for common problems, particularly related to things like:
routechecks holds a number of objects that fulfill the Input interface; this interface is used to be able to generically run checks of various types of Routes for common problems, particularly related to things like:

Jump to

Keyboard shortcuts

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