Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for WaitForStateChange (0.13 sec)

  1. pkg/kubelet/cm/dra/plugin/plugin.go

    		}),
    	)
    	if err != nil {
    		return nil, err
    	}
    
    	ctx, cancel := context.WithTimeout(context.Background(), time.Second)
    	defer cancel()
    
    	if ok := conn.WaitForStateChange(ctx, connectivity.Connecting); !ok {
    		return nil, errors.New("timed out waiting for gRPC connection to be ready")
    	}
    
    	p.conn = conn
    	return p.conn, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 19 16:27:05 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top