Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 135 for isBlock (0.14 sec)

  1. pkg/volume/hostpath/host_path_test.go

    				t.Errorf("[%d: %q] expected character device, got unexpected socket file: %s", i, tc.name, path)
    			}
    			if oftc.IsBlock() {
    				t.Errorf("[%d: %q] expected character device, got unexpected block device: %s", i, tc.name, path)
    			}
    		}
    
    		if tc.isBlock {
    			if !oftc.IsBlock() {
    				t.Errorf("[%d: %q] expected block device, got unexpected: %s", i, tc.name, path)
    			}
    			if oftc.IsDir() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:37:30 UTC 2023
    - 20.5K bytes
    - Viewed (0)
  2. pkg/volume/hostpath/host_path.go

    }
    
    type hostPathTypeChecker interface {
    	Exists() bool
    	IsFile() bool
    	MakeFile() error
    	IsDir() bool
    	MakeDir() error
    	IsBlock() bool
    	IsChar() bool
    	IsSocket() bool
    	GetPath() string
    }
    
    type fileTypeChecker struct {
    	path string
    	hu   hostutil.HostUtils
    }
    
    func (ftc *fileTypeChecker) Exists() bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  3. pkg/volume/local/local_test.go

    	}
    	if plug.GetPluginName() != localVolumePluginName {
    		t.Errorf("Wrong name: %s", plug.GetPluginName())
    	}
    	return source, plug
    }
    
    func getTestVolume(readOnly bool, path string, isBlock bool, mountOptions []string) *volume.Spec {
    	pv := &v1.PersistentVolume{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: testPVName,
    		},
    		Spec: v1.PersistentVolumeSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 08 10:53:39 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/_gen/rulegen.go

    		if d != 0 {
    			log.Fatalf("imbalanced expression: %q", s)
    		}
    		if nonsp {
    			r = append(r, strings.TrimSpace(s))
    		}
    		break
    	}
    	return r
    }
    
    // isBlock reports whether this op is a block opcode.
    func isBlock(name string, arch arch) bool {
    	for _, b := range genericBlocks {
    		if b.name == name {
    			return true
    		}
    	}
    	for _, b := range arch.blocks {
    		if b.name == name {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 02 22:09:21 UTC 2023
    - 48.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/testdata/HEAD/extensions.v1beta1.NetworkPolicy.json

                      "operator": "operatorValue",
                      "values": [
                        "valuesValue"
                      ]
                    }
                  ]
                },
                "ipBlock": {
                  "cidr": "cidrValue",
                  "except": [
                    "exceptValue"
                  ]
                }
              }
            ]
          }
        ],
        "egress": [
          {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 18:19:25 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/testdata/HEAD/networking.k8s.io.v1.NetworkPolicy.yaml

      resourceVersion: resourceVersionValue
      selfLink: selfLinkValue
      uid: uidValue
    spec:
      egress:
      - ports:
        - endPort: 3
          port: portValue
          protocol: protocolValue
        to:
        - ipBlock:
            cidr: cidrValue
            except:
            - exceptValue
          namespaceSelector:
            matchExpressions:
            - key: keyValue
              operator: operatorValue
              values:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 18:19:25 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/v1.30.0/networking.k8s.io.v1.NetworkPolicy.json

                      "operator": "operatorValue",
                      "values": [
                        "valuesValue"
                      ]
                    }
                  ]
                },
                "ipBlock": {
                  "cidr": "cidrValue",
                  "except": [
                    "exceptValue"
                  ]
                }
              }
            ]
          }
        ],
        "egress": [
          {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/testdata/v1.30.0/extensions.v1beta1.NetworkPolicy.json

                      "operator": "operatorValue",
                      "values": [
                        "valuesValue"
                      ]
                    }
                  ]
                },
                "ipBlock": {
                  "cidr": "cidrValue",
                  "except": [
                    "exceptValue"
                  ]
                }
              }
            ]
          }
        ],
        "egress": [
          {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/v1.29.0/networking.k8s.io.v1.NetworkPolicy.yaml

      resourceVersion: resourceVersionValue
      selfLink: selfLinkValue
      uid: uidValue
    spec:
      egress:
      - ports:
        - endPort: 3
          port: portValue
          protocol: protocolValue
        to:
        - ipBlock:
            cidr: cidrValue
            except:
            - exceptValue
          namespaceSelector:
            matchExpressions:
            - key: keyValue
              operator: operatorValue
              values:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/HEAD/networking.k8s.io.v1.NetworkPolicy.json

                      "operator": "operatorValue",
                      "values": [
                        "valuesValue"
                      ]
                    }
                  ]
                },
                "ipBlock": {
                  "cidr": "cidrValue",
                  "except": [
                    "exceptValue"
                  ]
                }
              }
            ]
          }
        ],
        "egress": [
          {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 18:19:25 UTC 2023
    - 3.8K bytes
    - Viewed (0)
Back to top