network

package
v0.0.0-...-73e1fb8 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

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 GetServiceCIDR

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

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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