Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 1,089 for net (0.17 sec)

  1. pkg/bootstrap/platform/gcp.go

    		host = metadataIP
    	}
    	_, err := net.DialTimeout("tcp", defaultPort(host, "80"), 5*time.Second)
    	if err != nil {
    		log.Warnf("cannot reach the Google Instance metadata endpoint %v", err)
    		return false
    	}
    	return true
    }
    
    // defaultPort appends the default port, if a port is not already present
    func defaultPort(hostMaybePort, dp string) string {
    	_, _, err := net.SplitHostPort(hostMaybePort)
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 15 00:37:33 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  2. pkg/kubelet/network/dns/dns.go

    type Configurer struct {
    	recorder         record.EventRecorder
    	getHostDNSConfig func(string) (*runtimeapi.DNSConfig, error)
    	nodeRef          *v1.ObjectReference
    	nodeIPs          []net.IP
    
    	// If non-nil, use this for container DNS server.
    	clusterDNS []net.IP
    	// If non-empty, use this for container DNS search.
    	ClusterDomain string
    	// The path to the DNS resolver configuration file used as the base to generate
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 04 11:37:10 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/genericapiserver_graceful_termination_test.go

    */
    
    package server
    
    import (
    	"context"
    	"crypto/tls"
    	"crypto/x509"
    	"errors"
    	"fmt"
    	"io"
    	"log"
    	"net"
    	"net/http"
    	"net/http/httptrace"
    	"os"
    	"reflect"
    	"sync"
    	"syscall"
    	"testing"
    	"time"
    
    	utilnet "k8s.io/apimachinery/pkg/util/net"
    	"k8s.io/apimachinery/pkg/util/wait"
    	auditinternal "k8s.io/apiserver/pkg/apis/audit"
    	"k8s.io/apiserver/pkg/audit"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 38.3K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/optimizing-performance/gradle_daemon.adoc

    * `file.encoding`
    * `user.language`
    * `user.country`
    * `user.variant`
    * `java.io.tmpdir`
    * `javax.net.ssl.keyStore`
    * `javax.net.ssl.keyStorePassword`
    * `javax.net.ssl.keyStoreType`
    * `javax.net.ssl.trustStore`
    * `javax.net.ssl.trustStorePassword`
    * `javax.net.ssl.trustStoreType`
    * `com.sun.management.jmxremote`
    
    The following JVM attributes controlled by startup arguments are also immutable:
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 12:43:14 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  5. pkg/registry/core/rest/storage_core.go

    limitations under the License.
    */
    
    package rest
    
    import (
    	"crypto/tls"
    	goerrors "errors"
    	"fmt"
    	"net"
    	"net/http"
    	"sync"
    	"time"
    
    	corev1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	utilnet "k8s.io/apimachinery/pkg/util/net"
    	"k8s.io/apiserver/pkg/registry/generic"
    	"k8s.io/apiserver/pkg/registry/rest"
    	genericapiserver "k8s.io/apiserver/pkg/server"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:05 UTC 2023
    - 19.1K bytes
    - Viewed (0)
  6. pkg/registry/core/pod/strategy.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package pod
    
    import (
    	"context"
    	"fmt"
    	"net"
    	"net/http"
    	"net/url"
    	"strconv"
    	"strings"
    	"time"
    
    	apiv1 "k8s.io/api/core/v1"
    	apiequality "k8s.io/apimachinery/pkg/api/equality"
    	"k8s.io/apimachinery/pkg/api/errors"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 17:51:48 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  7. src/net/tcpsock_test.go

    	// Each pair creates 4 goroutines: client reader/writer and server reader/writer.
    	// The benchmark stresses concurrent reading and writing to the same connection.
    	// Such pattern is used in net/http and net/rpc.
    
    	b.StopTimer()
    
    	P := runtime.GOMAXPROCS(0)
    	N := b.N / P
    	W := 1000
    
    	// Setup P client/server connections.
    	clients := make([]Conn, P)
    	servers := make([]Conn, P)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/preflight/checks.go

    import (
    	"bufio"
    	"bytes"
    	"crypto/tls"
    	"crypto/x509"
    	"encoding/json"
    	"fmt"
    	"io"
    	"net"
    	"net/http"
    	"net/url"
    	"os"
    	"path/filepath"
    	"runtime"
    	"strings"
    	"time"
    
    	"github.com/pkg/errors"
    
    	v1 "k8s.io/api/core/v1"
    	netutil "k8s.io/apimachinery/pkg/util/net"
    	"k8s.io/apimachinery/pkg/util/sets"
    	"k8s.io/apimachinery/pkg/util/validation"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 11:20:55 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  9. pkg/registry/core/service/ipallocator/controller/repairip.go

    // ipToAddr converts a net.IP to a netip.Addr
    // if the net.IP is not valid it returns an empty netip.Addr{}
    func ipToAddr(ip net.IP) netip.Addr {
    	// https://pkg.go.dev/net/netip#AddrFromSlice can return an IPv4 in IPv6 format
    	// so we have to check the IP family to return exactly the format that we want
    	// address, _ := netip.AddrFromSlice(net.ParseIPSloppy(192.168.0.1)) returns
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  10. src/net/smtp/smtp_test.go

    		}
    	}()
    	<-clientDone
    	<-serverDone
    }
    
    func newLocalListener(t *testing.T) net.Listener {
    	ln, err := net.Listen("tcp", "127.0.0.1:0")
    	if err != nil {
    		ln, err = net.Listen("tcp6", "[::1]:0")
    	}
    	if err != nil {
    		t.Fatal(err)
    	}
    	return ln
    }
    
    type smtpSender struct {
    	w io.Writer
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
Back to top