Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for ConfigType (0.13 sec)

  1. istioctl/cmd/root.go

    func ConfigAndEnvProcessing() error {
    	configPath := filepath.Dir(root.IstioConfig)
    	baseName := filepath.Base(root.IstioConfig)
    	configType := filepath.Ext(root.IstioConfig)
    	configName := baseName[0 : len(baseName)-len(configType)]
    	if configType != "" {
    		configType = configType[1:]
    	}
    
    	// Allow users to override some variables through $HOME/.istioctl/config.yaml
    	// and environment variables.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 15:59:33 UTC 2024
    - 10K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/accesslog_test.go

    			},
    			tcp:   &tcp.TcpProxy{},
    			class: networking.ListenerClassSidecarInbound,
    			expected: &tcp.TcpProxy{
    				AccessLog: []*accesslog.AccessLog{
    					{
    						Name:       wellknown.FileAccessLog,
    						ConfigType: &accesslog.AccessLog_TypedConfig{TypedConfig: protoconv.MessageToAny(defaultJSONLabelsOut)},
    					},
    				},
    			},
    		},
    		{
    			name: "log-selector-unmatched-telemetry",
    			push: env.PushContext(),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  3. pilot/pkg/model/telemetry_logging_test.go

    				Name:       wellknown.FileAccessLog,
    				ConfigType: &accesslog.AccessLog_TypedConfig{TypedConfig: protoconv.MessageToAny(stdout)},
    			},
    		},
    		{
    			name: "stderr",
    			meshConfig: &meshconfig.MeshConfig{
    				AccessLogEncoding: meshconfig.MeshConfig_TEXT,
    			},
    			fp: stderr,
    			expected: &accesslog.AccessLog{
    				Name:       wellknown.FileAccessLog,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 54K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/listener_inbound.go

    		}
    		// Ensure consistent ordering as we are looping over a map
    		sort.Ints(ports)
    		filter := &listener.ListenerFilter{
    			Name:           wellknown.TLSInspector,
    			ConfigType:     xdsfilters.TLSInspector.ConfigType,
    			FilterDisabled: listenerPredicateExcludePorts(ports),
    		}
    		return filter
    	}
    	ports := make([]int, 0, len(inspectors))
    	// Collect all ports where TLS inspector is disabled.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  5. pilot/pkg/model/telemetry_logging.go

    					},
    				},
    			},
    			TransportApiVersion:     core.ApiVersion_V3,
    			FilterStateObjectsToLog: filterObjects,
    		},
    	}
    
    	return &accesslog.AccessLog{
    		Name:       TCPEnvoyALSName,
    		ConfigType: &accesslog.AccessLog_TypedConfig{TypedConfig: protoconv.MessageToAny(fl)},
    	}
    }
    
    func fileAccessLogFromTelemetry(prov *meshconfig.MeshConfig_ExtensionProvider_EnvoyFileAccessLogProvider) *accesslog.AccessLog {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 23K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/listener_waypoint.go

    			StartChildSpan:       false,
    			SuppressDebugHeaders: ph.SuppressDebugHeaders,
    		}),
    	}
    	return []*listener.Filter{
    		{
    			Name:       wellknown.HTTPConnectionManager,
    			ConfigType: &listener.Filter_TypedConfig{TypedConfig: protoconv.MessageToAny(h)},
    		},
    	}
    }
    
    func (lb *ListenerBuilder) buildConnectTerminateListener(routes []*route.Route) *listener.Listener {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/cluster_test.go

    				t.Fatalf("got diff: %v", diff)
    			}
    		})
    	}
    }
    
    func buildTestClustersWithTCPKeepalive(t testing.TB, configType ConfigType) []*cluster.Cluster {
    	// Set mesh wide defaults.
    	m := testMesh()
    	if configType != None {
    		m.TcpKeepalive = &networking.ConnectionPoolSettings_TCPSettings_TcpKeepalive{
    			Time: &durationpb.Duration{
    				Seconds: MeshWideTCPKeepaliveSeconds,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  8. pilot/pkg/networking/util/util.go

    	filterConfig := MaybeBuildStatefulSessionFilterConfig(svc)
    	if filterConfig == nil {
    		return nil
    	}
    
    	return &hcm.HttpFilter{
    		Name: StatefulSessionFilter,
    		ConfigType: &hcm.HttpFilter_TypedConfig{
    			TypedConfig: protoconv.MessageToAny(filterConfig),
    		},
    	}
    }
    
    func MaybeBuildStatefulSessionFilterConfig(svc *model.Service) *statefulsession.StatefulSession {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/listener_test.go

    			oldestService = s
    		}
    	}
    	return oldestService
    }
    
    func getFilterConfig(filter *listener.Filter, out proto.Message) error {
    	switch c := filter.ConfigType.(type) {
    	case *listener.Filter_TypedConfig:
    		if err := c.TypedConfig.UnmarshalTo(out); err != nil {
    			return err
    		}
    	}
    	return nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 93.6K bytes
    - Viewed (0)
Back to top