Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 74 for meshNetworks (0.16 sec)

  1. pkg/config/analysis/analyzers/multicluster/meshnetworks.go

    }
    
    // Metadata implements Analyzer
    func (s *MeshNetworksAnalyzer) Metadata() analysis.Metadata {
    	return analysis.Metadata{
    		Name:        "meshnetworks.MeshNetworksAnalyzer",
    		Description: "Check the validity of MeshNetworks in the cluster",
    		Inputs: []config.GroupVersionKind{
    			gvk.MeshNetworks,
    			gvk.Secret,
    		},
    	}
    }
    
    // Analyze implements Analyzer
    func (s *MeshNetworksAnalyzer) Analyze(c analysis.Context) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 01 01:34:15 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. pkg/config/mesh/networks_watcher.go

    	"istio.io/istio/pkg/util/protomarshal"
    )
    
    // NetworksHolder is a holder of a mesh networks configuration.
    type NetworksHolder interface {
    	SetNetworks(*meshconfig.MeshNetworks)
    	Networks() *meshconfig.MeshNetworks
    	PrevNetworks() *meshconfig.MeshNetworks
    }
    
    // WatcherHandlerRegistration will be returned to caller to remove the handler later.
    type WatcherHandlerRegistration struct {
    	handler func()
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 20 18:33:38 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  3. pkg/config/mesh/kubemesh/watcher.go

    		meshNetworks, err := ReadNetworksConfigMap(cm, "meshNetworks")
    		if err != nil {
    			// Keep the last known config in case there's a misconfiguration issue.
    			log.Errorf("failed to read meshNetworks config from ConfigMap: %v", err)
    			return
    		}
    		if meshNetworks != nil {
    			w.SetNetworks(meshNetworks)
    		}
    		if multiWatch {
    			meshConfig := meshConfigMapData(cm, key)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 25 20:54:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. pkg/config/mesh/mesh.go

    }
    
    // EmptyMeshNetworks configuration with no networks
    func EmptyMeshNetworks() meshconfig.MeshNetworks {
    	return meshconfig.MeshNetworks{
    		Networks: map[string]*meshconfig.Network{},
    	}
    }
    
    // ParseMeshNetworks returns a new MeshNetworks decoded from the
    // input YAML.
    func ParseMeshNetworks(yaml string) (*meshconfig.MeshNetworks, error) {
    	out := EmptyMeshNetworks()
    	if err := protomarshal.ApplyYAML(yaml, &out); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 12K bytes
    - Viewed (0)
  5. pkg/config/schema/kind/resources.gen.go

    		return "Ingress"
    	case IngressClass:
    		return "IngressClass"
    	case KubernetesGateway:
    		return "Gateway"
    	case Lease:
    		return "Lease"
    	case MeshConfig:
    		return "MeshConfig"
    	case MeshNetworks:
    		return "MeshNetworks"
    	case MutatingWebhookConfiguration:
    		return "MutatingWebhookConfiguration"
    	case Namespace:
    		return "Namespace"
    	case Node:
    		return "Node"
    	case PeerAuthentication:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 07:19:38 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/controller/network_test.go

    )
    
    func TestNetworkUpdateTriggers(t *testing.T) {
    	test.SetForTest(t, &features.MultiNetworkGatewayAPI, true)
    	meshNetworks := mesh.NewFixedNetworksWatcher(nil)
    	c, _ := NewFakeControllerWithOptions(t, FakeControllerOptions{
    		ClusterID:       constants.DefaultClusterName,
    		NetworksWatcher: meshNetworks,
    		DomainSuffix:    "cluster.local",
    		CRDs:            []schema.GroupVersionResource{gvr.KubernetesGateway},
    	})
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  7. pkg/config/schema/collections/collections.agent.gen.go

    		ValidateProto: validation.EmptyValidate,
    	}.MustBuild()
    
    	MeshNetworks = resource.Builder{
    		Identifier:    "MeshNetworks",
    		Group:         "",
    		Kind:          "MeshNetworks",
    		Plural:        "meshnetworks",
    		Version:       "v1alpha1",
    		Proto:         "istio.mesh.v1alpha1.MeshNetworks",
    		ReflectType:   reflect.TypeOf(&istioioapimeshv1alpha1.MeshNetworks{}).Elem(),
    		ProtoPackage:  "istio.io/api/mesh/v1alpha1",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  8. pkg/config/analysis/local/istiod_analyze.go

    	}
    	// Create a store containing meshnetworks. There should be exactly one.
    	_, err = sa.internalStore.Create(config.Config{
    		Meta: config.Meta{
    			Name:             "meshnetworks",
    			Namespace:        sa.istioNamespace.String(),
    			GroupVersionKind: gvk.MeshNetworks,
    		},
    		Spec: sa.meshNetworks,
    	})
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 21:06:13 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  9. pkg/config/mesh/networks_watcher_test.go

    	g := NewWithT(t)
    
    	path := newTempFile(t)
    	defer removeSilent(path)
    
    	n := meshconfig.MeshNetworks{
    		Networks: make(map[string]*meshconfig.Network),
    	}
    	writeMessage(t, path, &n)
    
    	w := newNetworksWatcher(t, path)
    	g.Expect(w.Networks()).To(Equal(&n))
    
    	doneCh := make(chan struct{}, 1)
    
    	var newN *meshconfig.MeshNetworks
    	w.AddNetworksHandler(func() {
    		newN = w.Networks()
    		close(doneCh)
    	})
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  10. manifests/charts/istio-control/istio-discovery/templates/configmap.yaml

        operator.istio.io/component: "Pilot"
        release: {{ .Release.Name }}
    data:
    
      # Configuration file for the mesh networks to be used by the Split Horizon EDS.
      meshNetworks: |-
      {{- if .Values.global.meshNetworks }}
        networks:
    {{ toYaml .Values.global.meshNetworks | trim | indent 6 }}
      {{- else }}
        networks: {}
      {{- end }}
    
      mesh: |-
    {{- if .Values.meshConfig }}
    {{ $mesh | toYaml | indent 4 }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 18:16:49 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top