Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for skydns (0.11 sec)

  1. internal/config/dns/etcd_dns_test.go

    	}
    }
    
    func TestPath(t *testing.T) {
    	for _, path := range []string{"mydns", "skydns"} {
    		result := msgPath("service.staging.skydns.local.", path)
    		if result != etcdPathSeparator+path+"/local/skydns/staging/service" {
    			t.Errorf("Failure to get domain's path with prefix: %s", result)
    		}
    	}
    }
    
    func TestUnPath(t *testing.T) {
    	result1 := msgUnPath("/skydns/local/cluster/staging/service/")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 26 15:03:08 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. internal/config/dns/dns_path.go

    package dns
    
    import (
    	"path"
    	"strings"
    
    	"github.com/miekg/dns"
    )
    
    // msgPath converts a domainname to an etcd path. If s looks like service.staging.skydns.local.,
    // the resulting key will be /skydns/local/skydns/staging/service .
    func msgPath(s, prefix string) string {
    	l := dns.SplitDomainName(s)
    	for i, j := 0, len(l)-1; i < j; i, j = i+1, j-1 {
    		l[i], l[j] = l[j], l[i]
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 26 15:03:08 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. docs/config/README.md

    path_prefix      (path)      namespace prefix to isolate tenants e.g. "customer1/"
    coredns_path     (path)      shared bucket DNS records, default is "/skydns"
    client_cert      (path)      client cert for mTLS authentication
    client_cert_key  (path)      client cert key for mTLS authentication
    comment          (sentence)  optionally add a comment to this setting
    ```
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 16 08:43:49 UTC 2024
    - 17.9K bytes
    - Viewed (1)
  4. internal/config/dns/etcd_dns.go

    			return nil, err
    		}
    		srvRecord.Key = strings.TrimPrefix(string(n.Key), key)
    		srvRecord.Key = strings.TrimSuffix(srvRecord.Key, srvRecord.Host)
    
    		// Skip non-bucket entry like for a key
    		// /skydns/net/miniocloud/10.0.0.1 that may exist as
    		// dns entry for the server (rather than the bucket
    		// itself).
    		if srvRecord.Key == "" {
    			continue
    		}
    
    		srvRecord.Key = msgUnPath(srvRecord.Key)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 26 15:03:08 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. internal/config/etcd/etcd.go

    var (
    	DefaultKVS = config.KVS{
    		config.KV{
    			Key:   Endpoints,
    			Value: "",
    		},
    		config.KV{
    			Key:   PathPrefix,
    			Value: "",
    		},
    		config.KV{
    			Key:   CoreDNSPath,
    			Value: "/skydns",
    		},
    		config.KV{
    			Key:   ClientCert,
    			Value: "",
    		},
    		config.KV{
    			Key:   ClientCertKey,
    			Value: "",
    		},
    	}
    )
    
    // Config - server etcd config.
    type Config struct {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 28 23:17:22 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top