Documentation ¶
Index ¶
- type FakeStore
- func (s *FakeStore) Close() error
- func (s *FakeStore) LastReservedIP(rangeID string) (net.IP, error)
- func (s *FakeStore) Lock() error
- func (s *FakeStore) Release(ip net.IP) error
- func (s *FakeStore) ReleaseByID(id string) error
- func (s *FakeStore) Reserve(id 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 ¶
func (*FakeStore) ReleaseByID ¶
Click to show internal directories.
Click to hide internal directories.