migrate

package
v0.0.0-...-21cfbab Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertIptablesFields

func ConvertIptablesFields(felixConfig *apiv3.FelixConfiguration)

ConvertIptablesFields ensures that all iptables fields are valid for the v3 API.

func Export

func Export(args []string) error

func Import

func Import(args []string) error

func Lock

func Lock(args []string) error

func NewMigrateIPAM

func NewMigrateIPAM(c client.Interface) *migrateIPAM

func Unlock

func Unlock(args []string) error

Types

type BlockAffinityKVPair

type BlockAffinityKVPair struct {
	Key   string
	Value *model.BlockAffinity
	TTL   time.Duration // For writes, if non-zero, key has a TTL.
}

type IPAMBlockKVPair

type IPAMBlockKVPair struct {
	Key   string
	Value *model.AllocationBlock
	TTL   time.Duration // For writes, if non-zero, key has a TTL.
}

type IPAMConfigKVPair

type IPAMConfigKVPair struct {
	Key   string
	Value *model.IPAMConfig
	TTL   time.Duration // For writes, if non-zero, key has a TTL.
}

type IPAMHandleKVPair

type IPAMHandleKVPair struct {
	Key   string
	Value *model.IPAMHandle
	TTL   time.Duration // For writes, if non-zero, key has a TTL.
}

Jump to

Keyboard shortcuts

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