Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 566 for Mesh (0.03 sec)

  1. pilot/pkg/networking/core/accesslog.go

    	mesh := push.Mesh
    	cfgs := push.Telemetry.AccessLogging(push, proxy, class, svc)
    
    	if len(cfgs) == 0 {
    		// No Telemetry API configured, fall back to legacy mesh config setting
    		if mesh.AccessLogFile != "" {
    			tcp.AccessLog = append(tcp.AccessLog, b.buildFileAccessLog(mesh))
    		}
    
    		if mesh.EnableEnvoyAccessLogService {
    			// Setting it to TCP as the low level one.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. pkg/config/mesh/watcher_test.go

    	. "github.com/onsi/gomega"
    	"google.golang.org/protobuf/proto"
    
    	meshconfig "istio.io/api/mesh/v1alpha1"
    	"istio.io/istio/pkg/config/mesh"
    	"istio.io/istio/pkg/filewatcher"
    	"istio.io/istio/pkg/test/util/assert"
    	"istio.io/istio/pkg/util/protomarshal"
    )
    
    func TestNewWatcherWithBadInputShouldFail(t *testing.T) {
    	g := NewWithT(t)
    	_, err := mesh.NewFileWatcher(filewatcher.NewWatcher(), "", false)
    	g.Expect(err).ToNot(BeNil())
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 3K bytes
    - Viewed (0)
  3. pkg/config/mesh/networks_watcher.go

    // limitations under the License.
    
    package mesh
    
    import (
    	"fmt"
    	"reflect"
    	"sync"
    
    	meshconfig "istio.io/api/mesh/v1alpha1"
    	"istio.io/istio/pkg/filewatcher"
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/slices"
    	"istio.io/istio/pkg/util/protomarshal"
    )
    
    // NetworksHolder is a holder of a mesh networks configuration.
    type NetworksHolder interface {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 20 18:33:38 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  4. pkg/config/mesh/mesh_test.go

    	t.Run("apply proxy metadata to mesh config", func(t *testing.T) {
    		config := mesh.DefaultMeshConfig()
    		config.DefaultConfig.ProxyMetadata = map[string]string{
    			"merged":  "original",
    			"default": "foo",
    		}
    		mc, err := mesh.ApplyMeshConfig(`defaultConfig:
      proxyMetadata: {"merged":"override","override":"bar"}`, config)
    		if err != nil {
    			t.Fatal(err)
    		}
    		// Ensure we didn't modify the passed in mesh config
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  5. pkg/test/loadbalancersim/lb_test.go

    				wg.Done()
    			})
    		}()
    	}
    
    	wg.Wait()
    
    	c := s.mesh.Clients()[0]
    	clientLocality := c.Locality()
    	clientLatency := clientLatencies[0]
    
    	nodesSameZone := s.mesh.Nodes().Select(locality.MatchZone(clientLocality))
    	nodesSameRegion := s.mesh.Nodes().Select(locality.MatchOtherZoneInSameRegion(clientLocality))
    	nodesOtherRegion := s.mesh.Nodes().Select(locality.Not(locality.MatchRegion(clientLocality)))
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 19 23:29:30 UTC 2022
    - 11K bytes
    - Viewed (0)
  6. operator/pkg/validate/validate_test.go

    `}),
    		},
    		{
    			desc: "Unknown mesh config",
    			yamlStr: `
    meshConfig:
      foo: bar
    `,
    			wantErrs: makeErrors([]string{`failed to unmarshall mesh config: unknown field "foo" in istio.mesh.v1alpha1.MeshConfig`}),
    		},
    		{
    			desc: "Unknown mesh config values",
    			yamlStr: `
    values:
      meshConfig:
        foo: bar
    `,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Jun 25 11:44:31 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  7. pkg/config/mesh/kubemesh/watcher.go

    	meshconfig "istio.io/api/mesh/v1alpha1"
    	"istio.io/istio/pkg/config/mesh"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/kube/watcher/configmapwatcher"
    	"istio.io/istio/pkg/log"
    )
    
    // NewConfigMapWatcher creates a new Watcher for changes to the given ConfigMap.
    func NewConfigMapWatcher(client kube.Client, namespace, name, key string, multiWatch bool, stop <-chan struct{}) *mesh.MultiWatcher {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 25 20:54:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. security/pkg/server/ca/authenticate/xfcc_authenticator_test.go

    			caller: &security.Caller{
    				AuthSource: security.AuthSourceClientCertificate,
    				Identities: []string{
    					"spiffe://mesh.example.com/ns/firstns/sa/firstsa",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 17:05:56 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  9. pkg/config/mesh/kubemesh/watcher_test.go

    	client.RunAndWait(stop)
    
    	var mu sync.Mutex
    	newM := mesh.DefaultMeshConfig()
    	w.AddMeshHandler(func() {
    		mu.Lock()
    		defer mu.Unlock()
    		newM = w.Mesh()
    	})
    
    	steps := []struct {
    		added   *v1.ConfigMap
    		updated *v1.ConfigMap
    		deleted *v1.ConfigMap
    
    		expect *meshconfig.MeshConfig
    	}{
    		{expect: mesh.DefaultMeshConfig()},
    		{added: cm, expect: m},
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  10. pilot/cmd/pilot-agent/config/config.go

    	mc := mesh.DefaultMeshConfig()
    	if fileOverride != "" {
    		log.Infof("Apply mesh config from file %v", fileOverride)
    		fileMesh, err := mesh.ApplyMeshConfig(fileOverride, mc)
    		if err != nil || fileMesh == nil {
    			return nil, fmt.Errorf("failed to unmarshal mesh config from file [%v]: %v", fileOverride, err)
    		}
    		mc = fileMesh
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top