...

Package conf

import "github.com/kvaps/dnsmasq-controller/pkg/conf"
Overview
Index

Overview ▾

Index ▾

Package files

conf.go

type Config

type Config struct {
    Generation           int
    WatchNamespace       string
    MyNamespace          string
    MetricsAddr          string
    EnableLeaderElection bool
    ControllerName       string
    LeaderElectionID     string
    SyncDelay            int
    DnsmasqConfDir       string
    DnsmasqOptions       []string
    LogLevel             string
    Development          bool
    CleanupDir           bool
    EnableDHCP           bool
    EnableDNS            bool
}

func GetConfig

func GetConfig() *Config