isc_dhcpd

package
v0.58.0 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: GPL-3.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	LeasesPath string       `yaml:"leases_path"`
	Pools      []PoolConfig `yaml:"pools"`
}

type DHCPd

type DHCPd struct {
	module.Base
	Config `yaml:",inline"`
	// contains filtered or unexported fields
}

func New

func New() *DHCPd

func (*DHCPd) Charts

func (d *DHCPd) Charts() *module.Charts

func (*DHCPd) Check

func (d *DHCPd) Check() bool

func (DHCPd) Cleanup

func (DHCPd) Cleanup()

func (*DHCPd) Collect

func (d *DHCPd) Collect() map[string]int64

func (*DHCPd) Init

func (d *DHCPd) Init() bool

type PoolConfig

type PoolConfig struct {
	Name     string `yaml:"name"`
	Networks string `yaml:"networks"`
}

Jump to

Keyboard shortcuts

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