Movatterモバイル変換


[0]ホーム

URL:


ingressservices

package
v1.92.3Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2025 License:BSD-3-ClauseImports:1Imported by:0

Details

Repository

github.com/tailscale/tailscale

Links

Documentation

Overview

Package ingressservices contains shared types for exposing Kubernetes Services to tailnet.These are split into a separate package for consumption ofnon-Kubernetes shared libraries and binaries. Be mindful of not increasingdependency size for those consumers when adding anything new here.

Index

Constants

View Source
const IngressConfigKey = "ingress-config.json"

IngressConfigKey is the key at which both the desired ingress firewallconfiguration is stored in the ingress proxies' ConfigMap and at which therecorded firewall configuration status is stored in the proxies' stateSecrets.

Variables

This section is empty.

Functions

This section is empty.

Types

typeConfig

type Config struct {IPv4Mapping *Mapping `json:"IPv4Mapping,omitempty"`IPv6Mapping *Mapping `json:"IPv6Mapping,omitempty"`}

Config is an ingress service configuration.

typeConfigs

type Configs map[string]Config

Configs contains the desired configuration for ingress proxies firewall. Mapkeys are Tailscale Service names.

func (*Configs)GetConfig

func (cfgs *Configs) GetConfig(namestring) *Config

GetConfig returns the desired configuration for the given Tailscale Service name.

typeMapping

type Mapping struct {TailscaleServiceIPnetip.Addr `json:"TailscaleServiceIP"`ClusterIPnetip.Addr `json:"ClusterIP"`}

Mapping describes a rule that forwards traffic from Tailscale Service IP to aKubernetes Service IP.

typeStatus

type Status struct {ConfigsConfigs `json:"configs,omitempty"`PodIPv4string  `json:"podIPv4,omitempty"`PodIPv6string  `json:"podIPv6,omitempty"`}

Status contains the recorded firewall configuration status for a specificingress proxy Pod.Pod IPs are used to identify the ingress proxy Pod.

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp