Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 128 for con2 (0.05 sec)

  1. cmd/kubeadm/app/cmd/phases/join/kubelet.go

    	if err != nil && !apierrors.IsNotFound(err) {
    		return errors.Wrapf(err, "cannot get Node %q", nodeName)
    	}
    	for _, cond := range node.Status.Conditions {
    		if cond.Type == v1.NodeReady && cond.Status == v1.ConditionTrue {
    			return errors.Errorf("a Node with name %q and status %q already exists in the cluster. "+
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. internal/kms/config.go

    				return nil, err
    			}
    			certificate.Watch(ctx, 15*time.Minute, syscall.SIGHUP)
    
    			conf.GetClientCertificate = func(*tls.CertificateRequestInfo) (*tls.Certificate, error) {
    				cert := certificate.Get()
    				return &cert, nil
    			}
    		}
    
    		var caDir string
    		if opts != nil {
    			caDir = opts.CADir
    		}
    		conf.RootCAs, err = certs.GetRootCAs(env.Get(EnvKESServerCA, caDir))
    		if err != nil {
    			return nil, err
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 12 14:31:26 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  3. src/net/net.go

    	// A zero value for t means Write will not time out.
    	SetWriteDeadline(t time.Time) error
    }
    
    type conn struct {
    	fd *netFD
    }
    
    func (c *conn) ok() bool { return c != nil && c.fd != nil }
    
    // Implementation of the Conn interface.
    
    // Read implements the Conn Read method.
    func (c *conn) Read(b []byte) (int, error) {
    	if !c.ok() {
    		return 0, syscall.EINVAL
    	}
    	n, err := c.fd.Read(b)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/devicemanager/pod_devices_test.go

    	expectResourceDeviceInstances(t, resp, expected)
    
    	cond = map[string]sets.Set[string]{
    		"foo": sets.New[string]("dev-foo1", "dev-foo2"),
    		"bar": sets.New[string]("dev-bar1"),
    	}
    	resp = devs.Filter(cond)
    	expected = `{"bar":{"dev-bar1":{"ID":"bar1"}},"foo":{"dev-foo1":{"ID":"foo1"},"dev-foo2":{"ID":"foo2"}}}`
    	expectResourceDeviceInstances(t, resp, expected)
    
    	cond = map[string]sets.Set[string]{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  5. internal/grid/connection.go

    }
    
    // monitorState will monitor the state of the connection and close the net.Conn if it changes.
    func (c *Connection) monitorState(conn net.Conn, cancel context.CancelCauseFunc) {
    	c.connChange.L.Lock()
    	defer c.connChange.L.Unlock()
    	for {
    		newState := c.State()
    		if newState != StateConnected {
    			conn.Close()
    			cancel(ErrDisconnected)
    			return
    		}
    		// Unlock and wait for state change.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  6. cni/pkg/plugin/plugin.go

    	}
    	return pluginResponse(conf)
    }
    
    func doAddRun(args *skel.CmdArgs, conf *Config, kClient kubernetes.Interface, rulesMgr InterceptRuleMgr) error {
    	setupLogging(conf)
    
    	var loggedPrevResult any
    	if conf.PrevResult == nil {
    		loggedPrevResult = "none"
    	} else {
    		loggedPrevResult = conf.PrevResult
    	}
    	log.WithLabels("if", args.IfName).Debugf("istio-cni CmdAdd config: %+v", conf)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:35 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/stmt.go

    			break
    		}
    
    		check.openScope(s, "for")
    		defer check.closeScope()
    
    		check.simpleStmt(s.Init)
    		if s.Cond != nil {
    			var x operand
    			check.expr(nil, &x, s.Cond)
    			if x.mode != invalid && !allBoolean(x.typ) {
    				check.error(s.Cond, InvalidCond, "non-boolean condition in for statement")
    			}
    		}
    		check.simpleStmt(s.Post)
    		// spec: "The init statement may be a short variable
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  8. src/net/conf.go

    		// non-existent resolv.conf means "lookup" defaults
    		// to only "files", without DNS lookups.
    		if errors.Is(dnsConf.err, fs.ErrNotExist) {
    			return hostLookupFiles, dnsConf
    		}
    
    		lookup := dnsConf.lookup
    		if len(lookup) == 0 {
    			// https://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man5/resolv.conf.5
    			// "If the lookup keyword is not used in the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 03:13:26 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  9. src/crypto/tls/quic.go

    }
    
    func newQUICConn(conn *Conn, config *QUICConfig) *QUICConn {
    	conn.quic = &quicState{
    		signalc:                 make(chan struct{}),
    		blockedc:                make(chan struct{}),
    		enableStoreSessionEvent: config.EnableStoreSessionEvent,
    	}
    	conn.quic.events = conn.quic.eventArr[:0]
    	return &QUICConn{
    		conn: conn,
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  10. src/crypto/tls/tls.go

    	"net"
    	"os"
    	"strings"
    )
    
    // Server returns a new TLS server side connection
    // using conn as the underlying transport.
    // The configuration config must be non-nil and must include
    // at least one certificate or else set GetCertificate.
    func Server(conn net.Conn, config *Config) *Conn {
    	c := &Conn{
    		conn:   conn,
    		config: config,
    	}
    	c.handshakeFn = c.serverHandshake
    	return c
    }
    
    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