Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for longName (0.19 sec)

  1. cmd/kubeadm/app/phases/certs/certlist.go

    type configMutatorsFunc func(*kubeadmapi.InitConfiguration, *pkiutil.CertConfig) error
    
    // KubeadmCert represents a certificate that Kubeadm will create to function properly.
    type KubeadmCert struct {
    	Name     string
    	LongName string
    	BaseName string
    	CAName   string
    	// Some attributes will depend on the InitConfiguration, only known at runtime.
    	// These functions will be run in series, passed both the InitConfiguration and a cert Config.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  2. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/DefaultOutputDirSelector.groovy

        }
    
        private static String shortenPath(String longName, int expectedMaxLength) {
            if (longName.length() <= expectedMaxLength) {
                return longName
            } else {
                return longName.substring(0, expectedMaxLength - 10) + "." + longName.substring(longName.length() - 9)
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/phases/certs/renewal/manager.go

    		rm.cas[ca.Name] = &CAExpirationHandler{
    			Name:       ca.Name,
    			LongName:   ca.LongName,
    			FileName:   ca.BaseName,
    			readwriter: pkiReadWriter,
    		}
    	}
    
    	// gets the list of certificates that should be considered for renewal
    	kubeConfigs := []struct {
    		longName string
    		fileName string
    	}{
    		{
    			longName: "certificate embedded in the kubeconfig file for the admin to use and for kubeadm itself",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 15K bytes
    - Viewed (0)
  4. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/AbstractTestDirectoryProvider.java

         */
        private String shortenPath(String longName, int expectedMaxLength) {
            if (longName.length() <= expectedMaxLength) {
                return longName;
            } else {
                return longName.substring(0, expectedMaxLength - 5) + "." + longName.substring(longName.length() - 4);
            }
        }
    
        @Override
        public TestFile getTestDirectory() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. src/cmd/go/internal/base/base.go

    		return true
    	}
    	for _, sub := range c.Commands {
    		if hasFlag(sub, name) {
    			return true
    		}
    	}
    	return false
    }
    
    // LongName returns the command's long name: all the words in the usage line between "go" and a flag or argument,
    func (c *Command) LongName() string {
    	name := c.UsageLine
    	if i := strings.Index(name, " ["); i >= 0 {
    		name = name[:i]
    	}
    	if name == "go" {
    		return ""
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/cmd/certs.go

    		// get the cobra.Command skeleton for this command
    		cmd := &cobra.Command{
    			Use:   handler.Name,
    			Short: fmt.Sprintf("Renew the %s", handler.LongName),
    			Long:  fmt.Sprintf(genericCertRenewLongDesc, handler.LongName),
    		}
    		addRenewFlags(cmd, flags)
    		// get the implementation of renewing this certificate
    		renewalFunc := func(handler *renewal.CertificateRenewHandler) func() error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  7. src/archive/tar/writer_test.go

    				Typeflag: TypeReg,
    				Name:     strings.Repeat("longname/", 15) + "16gig.txt",
    				Size:     16 << 30,
    				Mode:     0644,
    				Uid:      1000,
    				Gid:      1000,
    				Uname:    "guillaume",
    				Gname:    "guillaume",
    				ModTime:  time.Unix(1399583047, 0),
    			}, nil},
    		},
    	}, {
    		// This file was produced using GNU tar v1.17.
    		//	gnutar -b 4 --format=ustar (longname/)*15 + file.txt
    		file: "testdata/ustar.tar",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 38.7K bytes
    - Viewed (0)
  8. src/cmd/go/internal/help/help.go

    	{{.Name | printf "%-11s"}} {{.Short}}{{end}}{{end}}
    
    Use "go help{{with .LongName}} {{.}}{{end}} <command>" for more information about a command.
    {{if eq (.UsageLine) "go"}}
    Additional help topics:
    {{range .Commands}}{{if and (not .Runnable) (not .Commands)}}
    	{{.Name | printf "%-15s"}} {{.Short}}{{end}}{{end}}
    
    Use "go help{{with .LongName}} {{.}}{{end}} <topic>" for more information about that topic.
    {{end}}
    `
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  9. src/os/file_posix.go

    	}
    	// No mapping for Go's ModeTemporary (plan9 only).
    	return
    }
    
    // See docs in file.go:Chmod.
    func chmod(name string, mode FileMode) error {
    	longName := fixLongPath(name)
    	e := ignoringEINTR(func() error {
    		return syscall.Chmod(longName, syscallMode(mode))
    	})
    	if e != nil {
    		return &PathError{Op: "chmod", Path: name, Err: e}
    	}
    	return nil
    }
    
    // See docs in file.go:(*File).Chmod.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/cmd/phases/init/certs.go

    	phase := workflow.Phase{
    		Name:  certSpec.Name,
    		Short: fmt.Sprintf("Generate the %s", certSpec.LongName),
    		Long: fmt.Sprintf(
    			genericLongDesc,
    			certSpec.LongName,
    			certSpec.BaseName,
    			getSANDescription(certSpec),
    		),
    		Run:          run,
    		InheritFlags: getCertPhaseFlags(certSpec.Name),
    	}
    	return phase
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 06:35:45 UTC 2024
    - 9.8K bytes
    - Viewed (0)
Back to top