store

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DualStackWorker

type DualStackWorker struct {
	client.Client
	// contains filtered or unexported fields
}

func NewDualStackWorker

func NewDualStackWorker(c client.Client) *DualStackWorker

func (*DualStackWorker) Couple

func (d *DualStackWorker) Couple(pod *v1.Pod, IPs []*types.IP) (err error)

func (*DualStackWorker) DeCouple added in v0.3.0

func (d *DualStackWorker) DeCouple(pod *v1.Pod) (err error)

func (*DualStackWorker) IPRecycle

func (d *DualStackWorker) IPRecycle(namespace string, ip *types.IP) (err error)

func (*DualStackWorker) IPReserve added in v0.4.0

func (d *DualStackWorker) IPReserve(pod *v1.Pod) (err error)

func (*DualStackWorker) IPUnBind

func (d *DualStackWorker) IPUnBind(namespace, ip string) (err error)

func (*DualStackWorker) ReCouple

func (d *DualStackWorker) ReCouple(pod *v1.Pod, IPs []*types.IP) (err error)

func (*DualStackWorker) SyncNetworkStatus

func (d *DualStackWorker) SyncNetworkStatus(name, nodes, subnets string) (err error)

func (*DualStackWorker) SyncNetworkUsage

func (d *DualStackWorker) SyncNetworkUsage(name string, usages [3]*types.Usage) (err error)

func (*DualStackWorker) SyncSubnetUsage

func (d *DualStackWorker) SyncSubnetUsage(name string, usage *types.Usage) (err error)

type Worker

type Worker struct {
	client.Client
}

func NewWorker

func NewWorker(client client.Client) *Worker

func (*Worker) Couple

func (w *Worker) Couple(pod *corev1.Pod, ip *ipamtypes.IP) (err error)

func (*Worker) DeCouple added in v0.3.0

func (w *Worker) DeCouple(pod *corev1.Pod) (err error)

func (*Worker) IPRecycle

func (w *Worker) IPRecycle(namespace string, ip *ipamtypes.IP) (err error)

func (*Worker) IPReserve added in v0.4.0

func (w *Worker) IPReserve(pod *corev1.Pod) (err error)

func (*Worker) IPUnBind

func (w *Worker) IPUnBind(namespace, ip string) (err error)

func (*Worker) ReCouple

func (w *Worker) ReCouple(pod *corev1.Pod, ip *ipamtypes.IP) (err error)

func (*Worker) SyncNetworkStatus

func (w *Worker) SyncNetworkStatus(name, nodeList, subnetList string) (err error)

func (*Worker) SyncNetworkUsage

func (w *Worker) SyncNetworkUsage(name string, usage *ipamtypes.Usage) (err error)

func (*Worker) SyncSubnetUsage

func (w *Worker) SyncSubnetUsage(name string, usage *ipamtypes.Usage) (err error)

Jump to

Keyboard shortcuts

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