Documentation ¶
Index ¶
- type FakeStore
- func (s *FakeStore) Close() error
- func (s *FakeStore) LastReservedIP() (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) (bool, error)
- 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 (*FakeStore) ReleaseByID ¶
Click to show internal directories.
Click to hide internal directories.