Documentation ¶
Index ¶
- func StartServer(logger *logging.Writer, handler *DHCPHandler, paramDir string)
- type ClientJson
- type DHCPHandler
- func (h *DHCPHandler) CreateDhcpGlobalConfig(conf *dhcpd.DhcpGlobalConfig) (bool, error)
- func (h *DHCPHandler) CreateDhcpIntfConfig(conf *dhcpd.DhcpIntfConfig) (bool, error)
- func (h *DHCPHandler) DeleteDhcpGlobalConfig(conf *dhcpd.DhcpGlobalConfig) (bool, error)
- func (h *DHCPHandler) DeleteDhcpIntfConfig(conf *dhcpd.DhcpIntfConfig) (bool, error)
- func (h *DHCPHandler) SendSetDhcpGlobalConfig(conf *dhcpd.DhcpGlobalConfig) error
- func (h *DHCPHandler) SendSetDhcpIntfConfig(conf *dhcpd.DhcpIntfConfig) error
- func (h *DHCPHandler) UpdateDhcpGlobalConfig(origConf *dhcpd.DhcpGlobalConfig, newConf *dhcpd.DhcpGlobalConfig, ...) (bool, error)
- func (h *DHCPHandler) UpdateDhcpIntfConfig(origConf *dhcpd.DhcpIntfConfig, newConf *dhcpd.DhcpIntfConfig, attrset []bool, ...) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartServer ¶
func StartServer(logger *logging.Writer, handler *DHCPHandler, paramDir string)
Types ¶
type ClientJson ¶
type DHCPHandler ¶
type DHCPHandler struct {
// contains filtered or unexported fields
}
func NewDHCPHandler ¶
func NewDHCPHandler(server *server.DHCPServer, logger *logging.Writer) *DHCPHandler
func (*DHCPHandler) CreateDhcpGlobalConfig ¶
func (h *DHCPHandler) CreateDhcpGlobalConfig(conf *dhcpd.DhcpGlobalConfig) (bool, error)
func (*DHCPHandler) CreateDhcpIntfConfig ¶
func (h *DHCPHandler) CreateDhcpIntfConfig(conf *dhcpd.DhcpIntfConfig) (bool, error)
func (*DHCPHandler) DeleteDhcpGlobalConfig ¶
func (h *DHCPHandler) DeleteDhcpGlobalConfig(conf *dhcpd.DhcpGlobalConfig) (bool, error)
func (*DHCPHandler) DeleteDhcpIntfConfig ¶
func (h *DHCPHandler) DeleteDhcpIntfConfig(conf *dhcpd.DhcpIntfConfig) (bool, error)
func (*DHCPHandler) SendSetDhcpGlobalConfig ¶
func (h *DHCPHandler) SendSetDhcpGlobalConfig(conf *dhcpd.DhcpGlobalConfig) error
func (*DHCPHandler) SendSetDhcpIntfConfig ¶
func (h *DHCPHandler) SendSetDhcpIntfConfig(conf *dhcpd.DhcpIntfConfig) error
func (*DHCPHandler) UpdateDhcpGlobalConfig ¶
func (h *DHCPHandler) UpdateDhcpGlobalConfig(origConf *dhcpd.DhcpGlobalConfig, newConf *dhcpd.DhcpGlobalConfig, attrset []bool, op []*dhcpd.PatchOpInfo) (bool, error)
func (*DHCPHandler) UpdateDhcpIntfConfig ¶
func (h *DHCPHandler) UpdateDhcpIntfConfig(origConf *dhcpd.DhcpIntfConfig, newConf *dhcpd.DhcpIntfConfig, attrset []bool, op []*dhcpd.PatchOpInfo) (bool, error)
Click to show internal directories.
Click to hide internal directories.