Documentation ¶
Index ¶
- type FakeStore
- func (s *FakeStore) Close() error
- func (s *FakeStore) GetByID(id string, ifname string) []net.IP
- func (s *FakeStore) LastReservedIP(rangeID string) (net.IP, error)
- func (s *FakeStore) Lock() error
- func (s *FakeStore) ReleaseByID(id string, ifname string) error
- func (s *FakeStore) Reserve(id string, ifname string, ip net.IP, rangeID string) (bool, error)
- func (s *FakeStore) SetIPMap(m map[string]string)
- func (s *FakeStore) Unlock() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeStore ¶
type FakeStore struct {
// contains filtered or unexported fields
}
func NewFakeStore ¶
func (*FakeStore) LastReservedIP ¶
Click to show internal directories.
Click to hide internal directories.