network

package
v1.4.22-ec5 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package network contains types related to network configuration.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IPFamily

type IPFamily string

IPFamily specifies the IP address family for the cluster network.

const (
	// IPv4 indicates the cluster will use IPv4-only networking.
	// This is the default mode.
	IPv4 IPFamily = "IPv4"

	// DualStackIPv4Primary indicates the cluster will use dual-stack
	// networking with both IPv4 and IPv6 addresses, with IPv4 as the primary address family.
	DualStackIPv4Primary IPFamily = "DualStackIPv4Primary"

	// DualStackIPv6Primary indicates the cluster will use dual-stack
	// networking with both IPv4 and IPv6 addresses, with IPv6 as the primary address family.
	DualStackIPv6Primary IPFamily = "DualStackIPv6Primary"
)

func (IPFamily) DualStackEnabled

func (f IPFamily) DualStackEnabled() bool

DualStackEnabled returns true if the IPFamily is configured for dual-stack networking (either DualStackIPv4Primary or DualStackIPv6Primary).

Jump to

Keyboard shortcuts

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