package backend

import "github.com/containernetworking/cni/plugins/ipam/host-local/backend"

Index

Types

type Store

type Store interface {
	Lock() error
	Unlock() error
	Close() error
	Reserve(id string, ip net.IP) (bool, error)
	LastReservedIP() (net.IP, error)
	Release(ip net.IP) error
	ReleaseByID(id string) error
}

Source Files

store.go

Directories

PathSynopsis
plugins/ipam/host-local/backend/allocator
plugins/ipam/host-local/backend/disk
plugins/ipam/host-local/backend/testing
Version
v0.5.0
Published
Mar 6, 2017
Platform
js/wasm
Imports
1 packages
Last checked
3 days ago

Tools for package owners.