store

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 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(ctx context.Context, pod *v1.Pod, IPs []*types.IP) (err error)

func (*DualStackWorker) DeCouple added in v0.3.0

func (d *DualStackWorker) DeCouple(ctx context.Context, pod *v1.Pod) (err error)

func (*DualStackWorker) IPRecycle

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

func (*DualStackWorker) IPReserve added in v0.4.0

func (d *DualStackWorker) IPReserve(ctx context.Context, pod *v1.Pod) (err error)

func (*DualStackWorker) IPUnBind

func (d *DualStackWorker) IPUnBind(ctx context.Context, namespace, ip string) (err error)

func (*DualStackWorker) ReCouple

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

type Worker

type Worker struct {
	client.Client
}

func NewWorker

func NewWorker(client client.Client) *Worker

func (*Worker) Couple

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

func (*Worker) DeCouple added in v0.3.0

func (w *Worker) DeCouple(ctx context.Context, pod *corev1.Pod) (err error)

func (*Worker) IPRecycle

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

func (*Worker) IPReserve added in v0.4.0

func (w *Worker) IPReserve(ctx context.Context, pod *corev1.Pod) (err error)

func (*Worker) IPUnBind

func (w *Worker) IPUnBind(ctx context.Context, namespace, ip string) (err error)

func (*Worker) ReCouple

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

Jump to

Keyboard shortcuts

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