Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DnsmasqConfiguration ¶
type DockerDnsService ¶
type DockerDnsService struct {
// contains filtered or unexported fields
}
func (DockerDnsService) Restart ¶
func (s DockerDnsService) Restart() (bool, error)
func (DockerDnsService) Start ¶
func (s DockerDnsService) Start() (bool, error)
func (DockerDnsService) Status ¶
func (s DockerDnsService) Status() bool
isComtainerRunning checks whether the dnsmasq container is in running state.
func (DockerDnsService) Stop ¶
func (s DockerDnsService) Stop() (bool, error)
type SystemdDnsService ¶
type SystemdDnsService struct {
// contains filtered or unexported fields
}
func (SystemdDnsService) Restart ¶
func (s SystemdDnsService) Restart() (bool, error)
func (SystemdDnsService) Start ¶
func (s SystemdDnsService) Start() (bool, error)
func (SystemdDnsService) Status ¶
func (s SystemdDnsService) Status() bool
isServiceRunning checks whether the dnsmasq service is running
func (SystemdDnsService) Stop ¶
func (s SystemdDnsService) Stop() (bool, error)
Click to show internal directories.
Click to hide internal directories.