ippool

package
v0.0.0-...-e779149 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2023 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

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) Start

func (c *IPPoolController) Start(ctx context.Context) 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

func (c *IPPoolController) ValidateUpdate(old runtime.Object, new runtime.Object) error

Jump to

Keyboard shortcuts

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