backend

package
v0.0.0-...-cd4954e Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

type Backend interface {
	//getIPFromNSPool(nameSpace, poolName, podName string) (*current.IPConfig, *types.NSIPPool, error)/
	AllocateIP(nameSpace, nsIpPoolNames, podName string) (*current.IPConfig, *types.NSIPPool, error)

	Release(nameSpace, podName string, releaseFixed bool) error

	GetServiceSpecIP(fixed bool, nameSpace, servicePoolName, podName, stsName string) (*net.IP, *types.NSIPPool, error)

	GetPodList() ([]types.PodNetwork, error)

	CreateIPPool(pool *types.NSIPPool) error

	GetIPPoolByName(nsname, poolName string) *types.NSIPPool

	GetNSAllPool(namespace string) []*types.NSIPPool

	GetServicePool(namespace string, ServicePoolName string) (*types.ServiceIPPool, error)

	GetAllPool() []*types.NSIPPool

	Delete(pool *types.NSIPPool) error

	CreateServiceIPPool(serviceIPPool *types.ServiceIPPool) error

	DeleteServiceIPPool(namespace string, servicePoolName string) error

	GetService(namespace, serviceName string) *types.CreateServiceRequest
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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