Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for setupDir (0.28 sec)

  1. pkg/volume/emptydir/empty_dir.go

    	}
    
    	return fmt.Sprintf("%s=%s", hugePagesPageSizeMountOption, pageSize.String()), nil
    
    }
    
    // setupDir creates the directory with the default permissions specified by the perm constant.
    func (ed *emptyDir) setupDir(dir string) error {
    	// Create the directory if it doesn't already exist.
    	if err := os.MkdirAll(dir, perm); err != nil {
    		return err
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. pkg/volume/emptydir/empty_dir_test.go

    				mountDetector: &testMountDetector{
    					pageSize: &resource.Quantity{},
    					isMnt:    false,
    					err:      nil,
    				},
    			},
    			shouldFail: true,
    		},
    		"Invalid: setupDir fails": {
    			path: "",
    			ed: &emptyDir{
    				medium: v1.StorageMediumHugePages,
    				pod: &v1.Pod{
    					Spec: v1.PodSpec{
    						Containers: []v1.Container{
    							{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/cmd/phases/reset/cleanupnode_test.go

    	}
    }
    
    func TestConfigDirCleaner(t *testing.T) {
    	tests := map[string]struct {
    		resetDir        string
    		setupDirs       []string
    		setupFiles      []string
    		verifyExists    []string
    		verifyNotExists []string
    	}{
    		"simple reset": {
    			setupDirs: []string{
    				"manifests",
    				"pki",
    			},
    			setupFiles: []string{
    				"manifests/etcd.yaml",
    				"manifests/kube-apiserver.yaml",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. pkg/test/framework/components/echo/echotest/run.go

    		t.toEachDeployment(ctx, func(ctx framework.TestContext, to echo.Instances) {
    			// Build and apply per-destination config
    			t.cfg.Context(ctx).BuildFromAndTo(firstCaller, to.Services()).Apply()
    
    			t.setupPair(ctx, callers, echo.Services{to})
    			t.fromEachWorkloadCluster(ctx, from, func(ctx framework.TestContext, from echo.Instance) {
    				filteredDst := t.applyCombinationFilters(from, to)
    				if len(filteredDst) == 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Sep 27 22:08:42 UTC 2023
    - 13K bytes
    - Viewed (0)
  5. pkg/test/framework/components/echo/echotest/setup.go

    	return t
    }
    
    func (t *T) hasDestinationSetup() bool {
    	return len(t.deploymentPairSetup)+len(t.destinationDeploymentSetup) > 0
    }
    
    func (t *T) setupPair(ctx framework.TestContext, from echo.Callers, dsts echo.Services) {
    	if !t.hasDestinationSetup() {
    		ctx.SkipDumping()
    		scopes.Framework.Debugf("No echotest setup; skipping test dump at this scope.")
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 20 19:13:32 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/NtlmContext.java

                    }
                }
    
                this.ntlmsspFlags &= msg2.getFlags();
                Type3Message msg3 = createType3Message(msg2);
                msg3.setupMIC(this.type1Bytes, token);
    
                byte[] out = msg3.toByteArray();
    
                if ( log.isTraceEnabled() ) {
                    log.trace(msg3.toString());
                    log.trace(Hexdump.toHexString(token));
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 15.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/ntlmssp/Type3Message.java

        }
    
    
        /**
         * Sets the MIC
         * 
         * @param type1
         * @param type2
         * @throws GeneralSecurityException
         * @throws IOException
         */
        public void setupMIC ( byte[] type1, byte[] type2 ) throws GeneralSecurityException, IOException {
            byte[] sk = this.masterKey;
            if ( sk == null ) {
                return;
            }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 30.6K bytes
    - Viewed (0)
Back to top