Documentation ¶
Overview ¶
the package dhcphosts provides utilities to work with configuration in the dhcphosts (see man 8 dnsmasq) format
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddressRequestFromArgs ¶
func AddressRequestFromArgs(args []string) (*pb.AddressRequest, error)
Types ¶
type QueryDelete ¶
type QueryDelete struct { Name string // contains filtered or unexported fields }
func (*QueryDelete) RunWith ¶
func (ql *QueryDelete) RunWith(ctx context.Context, c pb.DNSMasqManagerClient) (string, string, error)
func (*QueryDelete) SetupArgs ¶
func (ql *QueryDelete) SetupArgs(args []string) error
func (*QueryDelete) String ¶
func (ql *QueryDelete) String() string
type QueryLookup ¶
type QueryLookup struct { Name string // contains filtered or unexported fields }
func (*QueryLookup) RunWith ¶
func (ql *QueryLookup) RunWith(ctx context.Context, c pb.DNSMasqManagerClient) (string, string, error)
func (*QueryLookup) SetupArgs ¶
func (ql *QueryLookup) SetupArgs(args []string) error
func (*QueryLookup) String ¶
func (ql *QueryLookup) String() string
type QueryRequest ¶
type QueryRequest struct { Name string // contains filtered or unexported fields }
func (*QueryRequest) RunWith ¶
func (qr *QueryRequest) RunWith(ctx context.Context, c pb.DNSMasqManagerClient) (string, string, error)
func (*QueryRequest) SetupArgs ¶
func (qr *QueryRequest) SetupArgs(args []string) error
func (*QueryRequest) String ¶
func (qr *QueryRequest) String() string
Click to show internal directories.
Click to hide internal directories.