Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewCoreDNS (0.08 sec)

  1. internal/config/dns/etcd_dns.go

    // if empty then c.prefixPath is used i.e "/skydns"
    func CoreDNSPath(prefix string) EtcdOption {
    	return func(args *CoreDNS) {
    		args.prefixPath = prefix
    	}
    }
    
    // NewCoreDNS - initialize a new coreDNS set/unset values.
    func NewCoreDNS(cfg clientv3.Config, setters ...EtcdOption) (Store, error) {
    	etcdClient, err := clientv3.New(cfg)
    	if err != nil {
    		return nil, err
    	}
    
    	args := &CoreDNS{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 8.3K bytes
    - Viewed (0)
Back to top