management

package
v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2018 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetLogger

func SetLogger(l *verbose.Logger)

func StartRPCServer

func StartRPCServer(c *config.ManagementConfig, db store.Store) error

StartRPCServer starts a managment RPC server connection

Types

type Device

type Device struct {
	// contains filtered or unexported fields
}

func (*Device) Blacklist

func (d *Device) Blacklist(mac net.HardwareAddr, ack *bool) error

func (*Device) Delete

func (d *Device) Delete(mac net.HardwareAddr, ack *bool) error

func (*Device) Get

func (d *Device) Get(mac net.HardwareAddr, reply *models.Device) error

func (*Device) Register

func (d *Device) Register(mac net.HardwareAddr, ack *bool) error

func (*Device) RemoveBlacklist

func (d *Device) RemoveBlacklist(mac net.HardwareAddr, ack *bool) error

func (*Device) Unregister

func (d *Device) Unregister(mac net.HardwareAddr, ack *bool) error

type Lease

type Lease struct {
	// contains filtered or unexported fields
}

func (*Lease) Get

func (l *Lease) Get(ip net.IP, reply *models.Lease) error

func (*Lease) GetAllFromNetwork

func (l *Lease) GetAllFromNetwork(name string, reply *[]*models.Lease) error

type Network

type Network int

func (*Network) GetNameList

func (n *Network) GetNameList(_ int, reply *[]string) error

type Server

type Server int

func (*Server) GetPoolStats

func (s *Server) GetPoolStats(_ int, reply *[]*stats.PoolStat) error

Jump to

Keyboard shortcuts

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