Documentation ¶
Index ¶
- func GetClusterCIDRs(lister configlistersv1.NetworkLister, recorder events.Recorder) ([]string, error)
- func GetExternalIPAutoAssignCIDRs(lister configlistersv1.NetworkLister, recorder events.Recorder) ([]string, error)
- func GetExternalIPPolicy(lister configlistersv1.NetworkLister, recorder events.Recorder) (*configv1.ExternalIPPolicy, error)
- func GetServiceCIDR(lister configlistersv1.NetworkLister, recorder events.Recorder) (string, error)
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.
Click to show internal directories.
Click to hide internal directories.