Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for ServerInfo (0.15 sec)

  1. src/net/smtp/auth.go

    	// If Next returns a non-nil error, the SMTP client aborts
    	// the authentication attempt and closes the connection.
    	Next(fromServer []byte, more bool) (toServer []byte, err error)
    }
    
    // ServerInfo records information about an SMTP server.
    type ServerInfo struct {
    	Name string   // SMTP server name
    	TLS  bool     // using TLS, with valid certificate for Name
    	Auth []string // advertised authentication mechanisms
    }
    
    type plainAuth struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/reconcilers/peer_endpoint_lease_test.go

    	if err != nil {
    		t.Fatalf("Error creating storage: %v", err)
    	}
    	t.Cleanup(dFunc)
    
    	tests := []struct {
    		testName     string
    		servers      []serverInfo
    		expectLeases []string
    	}{
    		{
    			testName: "existing IP satisfy",
    			servers: []serverInfo{{
    				existingIP:     "4.3.2.1",
    				id:             "server-1",
    				ports:          []corev1.EndpointPort{{Name: "foo", Port: 8080, Protocol: "TCP"}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  3. pkg/version/version.go

    	BuildStatus   string `json:"status"`
    	GitTag        string `json:"tag"`
    }
    
    // ServerInfo contains the version for a single control plane component
    type ServerInfo struct {
    	Component string
    	Revision  string
    	Info      BuildInfo
    }
    
    // MeshInfo contains the versions for all Istio control plane components
    type MeshInfo []ServerInfo
    
    // NodeType decides the responsibility of the proxy serves in the mesh
    type NodeType string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 29 14:15:26 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  4. pkg/kube/client.go

    		// Ref From common/scripts/report_build_info.sh
    		serverInfo.Version = strings.Join(versionParts[:nParts-2], "-")
    		serverInfo.GitRevision = versionParts[nParts-2]
    		serverInfo.BuildStatus = versionParts[nParts-1]
    		if serverInfo.GitRevision == "dirty" {
    			serverInfo.GitRevision = strings.Join([]string{versionParts[nParts-3], "dirty"}, "-")
    			serverInfo.Version = strings.Join(versionParts[:nParts-3], "-")
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 39K bytes
    - Viewed (0)
  5. src/net/smtp/smtp_test.go

    }
    
    func TestAuthPlain(t *testing.T) {
    
    	tests := []struct {
    		authName string
    		server   *ServerInfo
    		err      string
    	}{
    		{
    			authName: "servername",
    			server:   &ServerInfo{Name: "servername", TLS: true},
    		},
    		{
    			// OK to use PlainAuth on localhost without TLS
    			authName: "localhost",
    			server:   &ServerInfo{Name: "localhost", TLS: false},
    		},
    		{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  6. istioctl/pkg/version/version.go

    		if err != nil {
    			return nil, err
    		}
    		*outXDS = xdsResponse
    		if xdsResponse.ControlPlane == nil {
    			return &istioVersion.MeshInfo{
    				istioVersion.ServerInfo{
    					Component: "MISSING CP ID",
    					Info: istioVersion.BuildInfo{
    						Version: "MISSING CP ID",
    					},
    					Revision: "MISSING CP ID",
    				},
    			}, nil
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 01:18:49 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  7. pkg/version/cobra.go

    	}
    
    	return cmd
    }
    
    func coalesceVersions(remoteVersion *MeshInfo) *MeshInfo {
    	if identicalVersions(*remoteVersion) {
    		return &MeshInfo{
    			ServerInfo{
    				Component: "control plane",
    				Info:      (*remoteVersion)[0].Info,
    			},
    		}
    	}
    
    	return remoteVersion
    }
    
    func identicalVersions(remoteVersion MeshInfo) bool {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 16:43:05 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  8. cmd/api-headers.go

    	w.Header().Set("X-Accel-Buffering", "no")      // nginx to turn off buffering
    }
    
    // Write http common headers
    func setCommonHeaders(w http.ResponseWriter) {
    	// Set the "Server" http header.
    	w.Header().Set(xhttp.ServerInfo, MinioStoreName)
    
    	// Set `x-amz-bucket-region` only if region is set on the server
    	// by default minio uses an empty region.
    	if region := globalSite.Region(); region != "" {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 04:44:00 UTC 2024
    - 7K bytes
    - Viewed (0)
  9. cmd/notification.go

    	for _, sinfo := range replies {
    		storageInfo.Disks = append(storageInfo.Disks, sinfo.Disks...)
    	}
    
    	return storageInfo
    }
    
    // ServerInfo - calls ServerInfo RPC call on all peers.
    func (sys *NotificationSys) ServerInfo(ctx context.Context, metrics bool) []madmin.ServerProperties {
    	reply := make([]madmin.ServerProperties, len(sys.peerClients))
    	var wg sync.WaitGroup
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 44.9K bytes
    - Viewed (0)
  10. src/crypto/tls/handshake_client_test.go

    	if len(test.extensions) > 0 {
    		var serverInfo bytes.Buffer
    		for _, ext := range test.extensions {
    			pem.Encode(&serverInfo, &pem.Block{
    				Type:  fmt.Sprintf("SERVERINFO FOR EXTENSION %d", byteorder.BeUint16(ext)),
    				Bytes: ext,
    			})
    		}
    		serverInfoPath := tempFile(serverInfo.String())
    		defer os.Remove(serverInfoPath)
    		command = append(command, "-serverinfo", serverInfoPath)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 88.7K bytes
    - Viewed (0)
Back to top