network

package
v0.0.0-...-52527b8 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 7 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClusterCIDRs

func GetClusterCIDRs(lister configlistersv1.NetworkLister, recorder events.Recorder) ([]string, error)

GetClusterCIDRs reads the cluster CIDRs from the global network configuration resource. Emits events if CIDRs are not found.

func GetExternalIPAutoAssignCIDRs

func GetExternalIPAutoAssignCIDRs(lister configlistersv1.NetworkLister, recorder events.Recorder) ([]string, error)

GetExternalIPAutoAssignCIDRs retrieves the ExternalIPAutoAssignCIDRs, if configured.

func GetExternalIPPolicy

func GetExternalIPPolicy(lister configlistersv1.NetworkLister, recorder events.Recorder) (*configv1.ExternalIPPolicy, error)

GetExternalIPPolicy retrieves the ExternalIPPolicy for the cluster. The policy may be null.

func GetServiceCIDRs

func GetServiceCIDRs(lister configlistersv1.NetworkLister, recorder events.Recorder) ([]string, error)

GetServiceCIDRs reads the service IP ranges from the global network configuration resource. Emits events if CIDRs are not found.

func GetServiceNodePortRange

func GetServiceNodePortRange(lister configlistersv1.NetworkLister, recorder events.Recorder) (string, error)

GetServiceNodePortRange retrieves the ServiceNodePortRange for the cluster.

Types

This section is empty.

Jump to

Keyboard shortcuts

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