Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewCoreDNS (0.06 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 26 15:03:08 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top