gateway_api

package
v1.15.0-pre.2 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2023 License: Apache-2.0 Imports: 39 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Subsys = "gateway-controller"
)

Variables

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

	cell.Config(gatewayApiConfig{
		EnableGatewayAPISecretsSync: true,
		GatewayAPISecretsNamespace:  "cilium-secrets",
	}),
	cell.Invoke(registerController),
)

Cell manages the Gateway API related controllers.

Functions

func GatewayAddressTypePtr

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

func GroupPtr

func GroupPtr(name string) *gatewayv1.Group

func KindPtr

func KindPtr(name string) *gatewayv1.Kind

func ObjectNamePtr

func ObjectNamePtr(name string) *gatewayv1.ObjectName

Types

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

func NewController

func NewController(enableSecretSync bool, secretsNamespace string, idleTimeoutSeconds int) (*Controller, error)

NewController returns a new gateway controller, which is implemented using the controller-runtime library.

func (*Controller) Run

func (m *Controller) Run()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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