Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for DefaultConfig (0.13 sec)

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

    	// Defaulted config we will use to get SAN certs
    	defaultConfig := &kubeadmapiv1.InitConfiguration{
    		LocalAPIEndpoint: kubeadmapiv1.APIEndpoint{
    			// GetAPIServerAltNames errors without an AdvertiseAddress; this is as good as any.
    			AdvertiseAddress: "127.0.0.1",
    		},
    	}
    
    	defaultInternalConfig := &kubeadmapi.InitConfiguration{}
    
    	kubeadmscheme.Scheme.Default(defaultConfig)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 06:35:45 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. src/crypto/tls/tls.go

    		return nil, err
    	}
    
    	colonPos := strings.LastIndex(addr, ":")
    	if colonPos == -1 {
    		colonPos = len(addr)
    	}
    	hostname := addr[:colonPos]
    
    	if config == nil {
    		config = defaultConfig()
    	}
    	// If no ServerName is set, infer the ServerName
    	// from the hostname we're connecting to.
    	if config.ServerName == "" {
    		// Make a copy to avoid polluting argument or default.
    		c := config.Clone()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top