Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for workloadMode (0.12 sec)

  1. pilot/pkg/model/extensions_test.go

    			listenerInfo: WasmPluginListenerInfo{
    				Port:  1234,
    				Class: networking.ListenerClassSidecarInbound,
    			},
    			want: true,
    		},
    		{
    			desc: "only workloadMode of the traffic selector is given",
    			wasmPlugin: &WasmPluginWrapper{WasmPlugin: &extensions.WasmPlugin{
    				Selector: nil,
    				Match: []*extensions.WasmPlugin_TrafficSelector{
    					{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  2. pilot/pkg/model/extensions.go

    			return true
    		}
    	}
    	return false
    }
    
    func matchMode(workloadMode typeapi.WorkloadMode, class istionetworking.ListenerClass) bool {
    	switch workloadMode {
    	case typeapi.WorkloadMode_CLIENT_AND_SERVER, typeapi.WorkloadMode_UNDEFINED:
    		return true
    	default:
    		return workloadMode == workloadModeForListenerClass(class)
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. pilot/pkg/model/telemetry.go

    func metricProviderModeKey(provider string, mode tpb.WorkloadMode) string {
    	return fmt.Sprintf("%s/%s", provider, mode)
    }
    
    func getProviderNames(providers []*tpb.ProviderRef) []string {
    	res := make([]string, 0, len(providers))
    	for _, p := range providers {
    		res = append(res, p.GetName())
    	}
    	return res
    }
    
    func getModes(mode tpb.WorkloadMode) []tpb.WorkloadMode {
    	switch mode {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 18:14:09 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  4. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    		ValidArgsFunction: completion.ValidPodsNameArgs(ctx),
    	}
    
    	common.attach(cmd)
    
    	return cmd
    }
    
    func workloadConfigCmd(ctx cli.Context) *cobra.Command {
    	var workloadsNamespace string
    	var workloadNode string
    
    	var address string
    
    	common := new(commonFlags)
    	cmd := &cobra.Command{
    		Use:   "workload [<type>/]<name>[.<namespace>]",
    		Short: "Retrieves workload configuration for the specified Ztunnel pod.",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 20:18:34 UTC 2024
    - 22K bytes
    - Viewed (0)
  5. pkg/config/analysis/msg/messages.yaml

        args:
          - name: conflictingSidecars
            type: "[]string"
          - name: namespace
            type: string
          - name: workloadPod
            type: string
    
      - name: "MultipleSidecarsWithoutWorkloadSelectors"
        code: IST0111
        level: Error
        description: "More than one sidecar resource in a namespace has no workload selector"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 22 10:13:03 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  6. pkg/config/analysis/msg/messages.gen.go

    func NewConflictingSidecarWorkloadSelectors(r *resource.Instance, conflictingSidecars []string, namespace string, workloadPod string) diag.Message {
    	return diag.NewMessage(
    		ConflictingSidecarWorkloadSelectors,
    		r,
    		conflictingSidecars,
    		namespace,
    		workloadPod,
    	)
    }
    
    // NewMultipleSidecarsWithoutWorkloadSelectors returns a new diag.Message based on MultipleSidecarsWithoutWorkloadSelectors.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 22 10:13:03 UTC 2024
    - 43.2K bytes
    - Viewed (0)
Back to top