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 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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