Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 399 for MeshConfig (0.46 sec)

  1. pilot/pkg/networking/plugin/authn/util_test.go

    package authn
    
    import (
    	"reflect"
    	"testing"
    
    	meshconfig "istio.io/api/mesh/v1alpha1"
    )
    
    func TestTrustDomainsForValidation(t *testing.T) {
    	tests := []struct {
    		name       string
    		meshConfig *meshconfig.MeshConfig
    		want       []string
    	}{
    		{
    			name: "No duplicated trust domain in mesh config",
    			meshConfig: &meshconfig.MeshConfig{
    				TrustDomain:        "cluster.local",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 24 16:11:07 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. pkg/config/validation/agent/extensionprovider_test.go

    	cases := []struct {
    		name   string
    		config *meshconfig.MeshConfig_ExtensionProvider_ZipkinTracingProvider
    		valid  bool
    	}{
    		{
    			name: "zipkin normal",
    			config: &meshconfig.MeshConfig_ExtensionProvider_ZipkinTracingProvider{
    				Service: "zipkin.istio-system",
    				Port:    9411,
    			},
    			valid: true,
    		},
    		{
    			name: "zipkin service with namespace",
    			config: &meshconfig.MeshConfig_ExtensionProvider_ZipkinTracingProvider{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. pkg/config/mesh/mesh_test.go

    	want := mesh.EmptyMeshNetworks()
    	want.Networks = map[string]*meshconfig.Network{
    		"network1": {
    			Endpoints: []*meshconfig.Network_NetworkEndpoints{
    				{
    					Ne: &meshconfig.Network_NetworkEndpoints_FromCidr{
    						FromCidr: "192.168.0.1/24",
    					},
    				},
    			},
    			Gateways: []*meshconfig.Network_IstioNetworkGateway{
    				{
    					Gw: &meshconfig.Network_IstioNetworkGateway_Address{
    						Address: "1.1.1.1",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  4. pilot/pkg/security/authz/builder/builder_test.go

    	httpbin = map[string]string{
    		"app":     "httpbin",
    		"version": "v1",
    	}
    	meshConfigGRPCNoNamespace = &meshconfig.MeshConfig{
    		ExtensionProviders: []*meshconfig.MeshConfig_ExtensionProvider{
    			{
    				Name: "default",
    				Provider: &meshconfig.MeshConfig_ExtensionProvider_EnvoyExtAuthzGrpc{
    					EnvoyExtAuthzGrpc: &meshconfig.MeshConfig_ExtensionProvider_EnvoyExternalAuthorizationGrpcProvider{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  5. pkg/config/validation/agent/extensionprovider.go

    	}
    	return
    }
    
    func validateExtensionProviderMetricsPrometheus(_ *meshconfig.MeshConfig_ExtensionProvider_PrometheusMetricsProvider) error {
    	return nil
    }
    
    func validateExtensionProviderStackdriver(_ *meshconfig.MeshConfig_ExtensionProvider_StackdriverProvider) error {
    	return nil
    }
    
    func validateExtensionProviderEnvoyFileAccessLog(_ *meshconfig.MeshConfig_ExtensionProvider_EnvoyFileAccessLogProvider) error {
    	return nil
    }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. pkg/test/framework/components/istio/configmap.go

    }
    
    func (mc *meshConfig) MeshConfigOrFail(t test.Failer) *meshconfig.MeshConfig {
    	t.Helper()
    	out, err := mc.MeshConfig()
    	if err != nil {
    		t.Fatal(err)
    	}
    	return out
    }
    
    func (mc *meshConfig) UpdateMeshConfig(t resource.Context, update func(*meshconfig.MeshConfig) error, cleanupStrategy cleanup.Strategy) error {
    	// Invalidate the member variable. The next time it's requested, it will get a fresh value.
    	mc.mu.Lock()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  7. pkg/config/mesh/networks_watcher.go

    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 {
    	SetNetworks(*meshconfig.MeshNetworks)
    	Networks() *meshconfig.MeshNetworks
    	PrevNetworks() *meshconfig.MeshNetworks
    }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 20 18:33:38 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  8. pilot/pkg/model/proxy_config.go

    	// root namespace
    	rootNamespace string
    }
    
    // EffectiveProxyConfig generates the correct merged ProxyConfig for a given ProxyConfigTarget.
    func (p *ProxyConfigs) EffectiveProxyConfig(meta *NodeMetadata, mc *meshconfig.MeshConfig) *meshconfig.ProxyConfig {
    	if p == nil || meta == nil {
    		return nil
    	}
    
    	effectiveProxyConfig := mesh.DefaultProxyConfig()
    
    	// Merge the proxy config from default config.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 21 01:23:19 UTC 2023
    - 5K bytes
    - Viewed (0)
  9. pilot/pkg/xds/endpoints/endpoint_builder_test.go

    	"google.golang.org/protobuf/types/known/wrapperspb"
    
    	meshconfig "istio.io/api/mesh/v1alpha1"
    	networking "istio.io/api/networking/v1alpha3"
    	"istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pkg/config"
    )
    
    func TestPopulateFailoverPriorityLabels(t *testing.T) {
    	tests := []struct {
    		name           string
    		dr             *config.Config
    		mesh           *meshconfig.MeshConfig
    		expectedLabels []byte
    	}{
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. 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)
Back to top