Documentation ¶
Index ¶
Constants ¶
View Source
const (
GlobalIPPoolName = "global"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IPPoolConverter ¶
type IPPoolConverter struct { // GlobalIPPoolName pool is a special pool that is used to allocate IP for the namespace where no other pools are defined. GlobalIPPoolNamePool *lbv1.IPPool GlobalIPPoolNameRangeSet allocator.RangeSet // contains filtered or unexported fields }
func NewIPPoolConverter ¶
func NewIPPoolConverter(cmClient ctlcorev1.ConfigMapClient) *IPPoolConverter
func (*IPPoolConverter) AfterConversion ¶
func (c *IPPoolConverter) AfterConversion() error
AfterConversion will add the annotation into kubevip configmap to tag that the conversion is done.
func (*IPPoolConverter) ConvertFromKubevipConfigMap ¶
func (c *IPPoolConverter) ConvertFromKubevipConfigMap() ([]*lbv1.IPPool, error)
ConvertFromKubevipConfigMap converts the kubevip configmap to be IPPools.
Click to show internal directories.
Click to hide internal directories.