Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for domain (0.24 sec)

  1. istioctl/pkg/clioptions/central.go

    		"XDS Subject Alternative Name (for example istiod.istio-system.svc)")
    	cmd.PersistentFlags().BoolVar(&o.InsecureSkipVerify, "insecure", viper.GetBool("INSECURE"),
    		"Skip server certificate and domain verification. (NOT SECURE!)")
    	cmd.PersistentFlags().BoolVar(&o.Plaintext, "plaintext", viper.GetBool("PLAINTEXT"),
    		"Use plain-text HTTP/2 when connecting to server (no TLS).")
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Jun 06 03:39:27 GMT 2022
    - 3.2K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/envoy/configdump/route_test.go

    	tests := []struct {
    		desc     string
    		domains  []string
    		expected string
    	}{
    		{
    			desc:     "test zero domain",
    			domains:  []string{},
    			expected: "",
    		},
    		{
    			desc:     "test only one domain",
    			domains:  []string{"example.com"},
    			expected: "example.com",
    		},
    		{
    			desc:     "test domains with port",
    			domains:  []string{"example.com", "example.com:8080"},
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Nov 29 12:37:14 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  3. cni/pkg/plugin/plugin_test.go

    	"type": "sample",
        "capabilities": {
            "testCapability": false
        },
        "ipam": {
            "type": "testIPAM"
        },
        "dns": {
            "nameservers": ["testNameServer"],
            "domain": "testDomain",
            "search": ["testSearch"],
            "options": ["testOption"]
        },
        "prevResult": {
            "cniversion": "%s",
            "interfaces": [
                {
                    "name": "%s",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  4. istioctl/pkg/validate/validate.go

    	data, err := fromSchemaAndJSONMap(schema, un.Object["spec"])
    	if err != nil {
    		return nil, err
    	}
    
    	return &config.Config{
    		Meta: config.Meta{
    			GroupVersionKind:  schema.GroupVersionKind(),
    			Name:              un.GetName(),
    			Namespace:         un.GetNamespace(),
    			Domain:            domain,
    			Labels:            un.GetLabels(),
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Jan 22 17:58:52 GMT 2024
    - 15K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/envoy/configdump/route.go

    			}
    		}
    	}
    	return w.Flush()
    }
    
    func describeRouteDomains(domains []string) string {
    	if len(domains) == 0 {
    		return ""
    	}
    	if len(domains) == 1 {
    		return domains[0]
    	}
    
    	// Return the shortest non-numeric domain.  Count of domains seems uninteresting.
    	max := 2
    	withoutPort := make([]string, 0, len(domains))
    	for _, d := range domains {
    		if !strings.Contains(d, ":") {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 11 05:38:17 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  6. istioctl/cmd/istioctl/main.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package main
    
    import (
    	"fmt"
    	"os"
    
    	// import all known client auth plugins
    	_ "k8s.io/client-go/plugin/pkg/client/auth"
    
    	"istio.io/istio/istioctl/cmd"
    	"istio.io/istio/pkg/log"
    )
    
    func main() {
    	if err := cmd.ConfigAndEnvProcessing(); err != nil {
    		fmt.Fprintf(os.Stderr, "Could not initialize: %v\n", err)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue May 23 17:08:31 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/envoy/configdump/listener.go

    func getMatchAllCluster(er *route.RouteConfiguration) string {
    	if len(er.GetVirtualHosts()) != 1 {
    		return ""
    	}
    	vh := er.GetVirtualHosts()[0]
    	if !reflect.DeepEqual(vh.Domains, []string{"*"}) {
    		return ""
    	}
    	if len(vh.GetRoutes()) != 1 {
    		return ""
    	}
    	r := vh.GetRoutes()[0]
    	if r.GetMatch().GetPrefix() != "/" {
    		return ""
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Nov 29 12:37:14 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  8. istioctl/pkg/describe/describe.go

    	if vhRoute == nil {
    		return false
    	}
    
    	// Infer from VirtualHost domains matching <service>.<namespace>.svc.cluster.local
    	re := regexp.MustCompile(`(?P<service>[^\.]+)\.(?P<namespace>[^\.]+)\.svc\.cluster\.local$`)
    	for _, domain := range vh.Domains {
    		ss := re.FindStringSubmatch(domain)
    		if ss != nil {
    			if ss[1] == svc.ObjectMeta.Name && ss[2] == svc.ObjectMeta.Namespace {
    				return true
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
  9. istioctl/pkg/workload/workload.go

    	}
    	md["CANONICAL_SERVICE"], md["CANONICAL_REVISION"] = labels.CanonicalService(lbls, wg.Name)
    	md["POD_NAMESPACE"] = wg.Namespace
    	md["SERVICE_ACCOUNT"] = we.ServiceAccount
    	md["TRUST_DOMAIN"] = meshConfig.TrustDomain
    
    	md["ISTIO_META_CLUSTER_ID"] = clusterID
    	md["ISTIO_META_MESH_ID"] = meshConfig.DefaultConfig.MeshId
    	md["ISTIO_META_NETWORK"] = we.Network
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 17 20:06:41 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  10. cni/cmd/install-cni/main.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package main
    
    import (
    	"context"
    	"os"
    	"os/signal"
    	"syscall"
    
    	"istio.io/istio/cni/pkg/cmd"
    	"istio.io/istio/pkg/log"
    )
    
    func main() {
    	// Create context that cancels on termination signal
    	ctx, cancel := context.WithCancel(context.Background())
    	sigChan := make(chan os.Signal, 1)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue May 23 17:08:31 GMT 2023
    - 1.2K bytes
    - Viewed (0)
Back to top