Documentation ¶
Index ¶
- Variables
- type IPPoolController
- func (c *IPPoolController) Run(workers int, stopCh <-chan struct{}) error
- func (c *IPPoolController) Start(ctx context.Context) error
- func (c *IPPoolController) ValidateCreate(obj runtime.Object) error
- func (c *IPPoolController) ValidateDelete(obj runtime.Object) error
- func (c *IPPoolController) ValidateUpdate(old runtime.Object, new runtime.Object) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrCIDROverlap = fmt.Errorf("CIDR is overlap")
)
Functions ¶
This section is empty.
Types ¶
type IPPoolController ¶
type IPPoolController struct {
// contains filtered or unexported fields
}
func NewIPPoolController ¶
func NewIPPoolController( kubesphereInformers ksinformers.SharedInformerFactory, kubernetesInformers k8sinformers.SharedInformerFactory, client clientset.Interface, kubesphereClient kubesphereclient.Interface, provider ippool.Provider) *IPPoolController
func (*IPPoolController) Run ¶
func (c *IPPoolController) Run(workers int, stopCh <-chan struct{}) error
func (*IPPoolController) ValidateCreate ¶
func (c *IPPoolController) ValidateCreate(obj runtime.Object) error
func (*IPPoolController) ValidateDelete ¶
func (c *IPPoolController) ValidateDelete(obj runtime.Object) error
func (*IPPoolController) ValidateUpdate ¶
Click to show internal directories.
Click to hide internal directories.