Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 155 for Bool (0.17 sec)

  1. cni/pkg/iptables/iptables_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	compareToGolden(t, false, tt.name, ext.ExecutedAll)
    }
    
    func ipstr(ipv6 bool) string {
    	if ipv6 {
    		return "ipv6"
    	}
    	return "ipv4"
    }
    
    func compareToGolden(t *testing.T, ipv6 bool, name string, actual []string) {
    	t.Helper()
    	gotBytes := []byte(strings.Join(actual, "\n"))
    	goldenFile := filepath.Join("testdata", name+".golden")
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  2. istioctl/pkg/util/configdump/route.go

    func (w *Wrapper) GetDynamicRouteDump(stripVersions bool) (*admin.RoutesConfigDump, error) {
    	routeDump, err := w.GetRouteConfigDump()
    	if err != nil {
    		return nil, err
    	}
    	drc := routeDump.GetDynamicRouteConfigs()
    	// Support v2 or v3 in config dump. See ads.go:RequestedTypes for more info.
    	for i := range drc {
    		drc[i].RouteConfig.TypeUrl = v3.RouteType
    	}
    	sort.Slice(drc, func(i, j int) bool {
    		r := &route.RouteConfiguration{}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Nov 03 08:41:32 GMT 2022
    - 3.2K bytes
    - Viewed (0)
  3. cni/pkg/ipset/nldeps_mock.go

    }
    
    func (m *MockedIpsetDeps) ipsetIPHashCreate(name string, v6 bool) error {
    	args := m.Called(name, v6)
    	return args.Error(0)
    }
    
    func (m *MockedIpsetDeps) destroySet(name string) error {
    	args := m.Called(name)
    	return args.Error(0)
    }
    
    func (m *MockedIpsetDeps) addIP(name string, ip netip.Addr, ipProto uint8, comment string, replace bool) error {
    	args := m.Called(name, ip, ipProto, comment, replace)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  4. istioctl/pkg/util/ambient/util.go

    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    
    	"istio.io/api/label"
    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/kube"
    )
    
    func IsZtunnelPod(client kube.CLIClient, podName, podNamespace string) bool {
    	isZtunnel := strings.HasPrefix(podName, "ztunnel")
    	if client == nil {
    		return isZtunnel
    	}
    	pod, err := client.Kube().CoreV1().Pods(podNamespace).Get(context.Background(), podName, metav1.GetOptions{})
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Jan 04 03:08:06 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/core/v1/generated.proto

      // Defaults to false.
      // +optional
      optional bool stdin = 1;
    
      // Stdout if true indicates that stdout is to be redirected for the attach call.
      // Defaults to true.
      // +optional
      optional bool stdout = 2;
    
      // Stderr if true indicates that stderr is to be redirected for the attach call.
      // Defaults to true.
      // +optional
      optional bool stderr = 3;
    
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 255.8K bytes
    - Viewed (0)
  6. operator/cmd/mesh/manifest-generate.go

    	EnableClusterSpecific bool
    
    	// Set is a string with element format "path=value" where path is an IstioOperator path and the value is a
    	// value to set the node at that path to.
    	Set []string
    	// Force proceeds even if there are validation errors
    	Force bool
    	// ManifestsPath is a path to a charts and profiles directory in the local filesystem with a release tgz.
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  7. istioctl/pkg/util/configdump/cluster.go

    func (w *Wrapper) GetDynamicClusterDump(stripVersions bool) (*admin.ClustersConfigDump, error) {
    	clusterDump, err := w.GetClusterConfigDump()
    	if err != nil {
    		return nil, err
    	}
    	dac := clusterDump.GetDynamicActiveClusters()
    	// Allow sorting to work even if we don't have the exact same type
    	for i := range dac {
    		dac[i].Cluster.TypeUrl = v3.ClusterType
    	}
    	sort.Slice(dac, func(i, j int) bool {
    		cluster := &cluster.Cluster{}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Nov 03 08:41:32 GMT 2022
    - 2.1K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/discovery/v1/generated.proto

      // +optional
      optional bool ready = 1;
    
      // serving is identical to ready except that it is set regardless of the
      // terminating state of endpoints. This condition should be set to true for
      // a ready endpoint that is terminating. If nil, consumers should defer to
      // the ready condition.
      // +optional
      optional bool serving = 2;
    
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 8K bytes
    - Viewed (0)
  9. cni/pkg/install/kubeconfig_test.go

    	constants.ServiceAccountPath = tmp
    	cases := []struct {
    		name               string
    		expectedFailure    bool
    		k8sServiceProtocol string
    		k8sServiceHost     string
    		k8sServicePort     string
    		kubeCAFilepath     string
    		skipTLSVerify      bool
    	}{
    		{
    			name:            "k8s service host not set",
    			expectedFailure: true,
    		},
    		{
    			name:            "k8s service port not set",
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Feb 08 03:52:24 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  10. common-protos/k8s.io/apimachinery/pkg/apis/testapigroup/v1/generated.proto

      // +k8s:conversion-gen=false
      // +optional
      optional bool hostNetwork = 11;
    
      // Use the host's pid namespace.
      // Optional: Default to false.
      // +k8s:conversion-gen=false
      // +optional
      optional bool hostPID = 12;
    
      // Use the host's ipc namespace.
      // Optional: Default to false.
      // +k8s:conversion-gen=false
      // +optional
      optional bool hostIPC = 13;
    
      // Specifies the hostname of the Carp
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 7.7K bytes
    - Viewed (0)
Back to top