gateway

package
v0.20.5 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2026 License: Apache-2.0 Imports: 19 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gateway

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

func New

func New(client kubernetes.Client, options GatewayOptions) (*Gateway, error)

func (*Gateway) Refresh

func (c *Gateway) Refresh(ctx context.Context) error

func (*Gateway) Start

func (c *Gateway) Start(ctx context.Context) error

type GatewayOptions

type GatewayOptions struct {
	Namespaces []string

	Logger *slog.Logger

	AddFunc    func(address string, hosts []string, ports []int)
	DeleteFunc func(address string, hosts []string, ports []int)
}

Jump to

Keyboard shortcuts

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