Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for DomainNames (0.05 sec)

  1. internal/config/dns/etcd_dns.go

    // constructor initializes.
    func DomainNames(domainNames []string) EtcdOption {
    	return func(args *CoreDNS) {
    		args.domainNames = domainNames
    	}
    }
    
    // DomainIPs set a list of custom domain IPs, note this will
    // fail if set to empty when constructor initializes.
    func DomainIPs(domainIPs set.StringSet) EtcdOption {
    	return func(args *CoreDNS) {
    		args.domainIPs = domainIPs
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 26 15:03:08 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. cmd/config-current.go

    				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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
Back to top