Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewCoreDNS (0.11 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)
  2. cmd/config-current.go

    				// users are confused.
    				configLogIf(ctx, fmt.Errorf("DNS store is already configured with %s, etcd is not used for DNS store", globalDNSConfig))
    			} else {
    				globalDNSConfig, err = dns.NewCoreDNS(etcdCfg.Config,
    					dns.DomainNames(globalDomainNames),
    					dns.DomainIPs(globalDomainIPs),
    					dns.DomainPort(globalMinioPort),
    					dns.CoreDNSPath(etcdCfg.CoreDNSPath),
    				)
    				if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 08:14:58 UTC 2024
    - 30.8K bytes
    - Viewed (0)
Back to top