Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for remotecommand (0.31 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/proxy/streamtranslator_test.go

    	"k8s.io/apimachinery/pkg/util/httpstream"
    	"k8s.io/apimachinery/pkg/util/httpstream/spdy"
    	rcconstants "k8s.io/apimachinery/pkg/util/remotecommand"
    	"k8s.io/apimachinery/pkg/util/wait"
    	"k8s.io/apiserver/pkg/util/proxy/metrics"
    	"k8s.io/client-go/rest"
    	"k8s.io/client-go/tools/remotecommand"
    	"k8s.io/client-go/transport"
    	"k8s.io/component-base/metrics/legacyregistry"
    	"k8s.io/component-base/metrics/testutil"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 27 23:21:55 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  2. pkg/client/tests/remotecommand_test.go

    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/apimachinery/pkg/util/httpstream"
    	remotecommandconsts "k8s.io/apimachinery/pkg/util/remotecommand"
    	restclient "k8s.io/client-go/rest"
    	remoteclient "k8s.io/client-go/tools/remotecommand"
    	"k8s.io/client-go/transport/spdy"
    	"k8s.io/kubelet/pkg/cri/streaming/remotecommand"
    	"k8s.io/kubernetes/pkg/api/legacyscheme"
    	api "k8s.io/kubernetes/pkg/apis/core"
    )
    
    type fakeExecutor struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 05 06:08:18 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/util/httpstream/wsstream/conn.go

    	return conn.closeNonThreadSafe()
    }
    
    // protocolSupportsStreamClose returns true if the passed protocol
    // supports the stream close signal (currently only V5 remotecommand);
    // false otherwise.
    func protocolSupportsStreamClose(protocol string) bool {
    	return protocol == remotecommand.StreamProtocolV5Name
    }
    
    // protocolSupportsWebsocketTunneling returns true if the passed protocol
    // is a tunneled Kubernetes spdy protocol; false otherwise.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:10:30 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  4. pkg/kubelet/container/testing/runtime_mock.go

    import (
    	context "context"
    	io "io"
    	url "net/url"
    	reflect "reflect"
    	time "time"
    
    	gomock "go.uber.org/mock/gomock"
    	v1 "k8s.io/api/core/v1"
    	types "k8s.io/apimachinery/pkg/types"
    	remotecommand "k8s.io/client-go/tools/remotecommand"
    	flowcontrol "k8s.io/client-go/util/flowcontrol"
    	v10 "k8s.io/cri-api/pkg/apis/runtime/v1"
    	container "k8s.io/kubernetes/pkg/kubelet/container"
    )
    
    // MockVersion is a mock of Version interface.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 27K bytes
    - Viewed (0)
  5. pkg/kube/client.go

    	if err != nil {
    		return "", "", err
    	}
    	exec, err := remotecommand.NewSPDYExecutorForTransports(wrapper, upgrader, "POST", req.URL())
    	if err != nil {
    		return "", "", err
    	}
    
    	var stdoutBuf, stderrBuf bytes.Buffer
    	err = exec.StreamWithContext(context.Background(), remotecommand.StreamOptions{
    		Stdin:  nil,
    		Stdout: &stdoutBuf,
    		Stderr: &stderrBuf,
    		Tty:    false,
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 39K bytes
    - Viewed (0)
  6. pkg/kubelet/container/runtime.go

    import (
    	"context"
    	"fmt"
    	"io"
    	"net/url"
    	"reflect"
    	"strings"
    	"time"
    
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/resource"
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/client-go/tools/remotecommand"
    	"k8s.io/client-go/util/flowcontrol"
    	runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1"
    	"k8s.io/klog/v2"
    	"k8s.io/kubernetes/pkg/volume"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  7. pkg/features/kube_features.go

    	// owner: @seans3
    	// kep: http://kep.k8s.io/4006
    	// beta: v1.30
    	//
    	// Enables StreamTranslator proxy to handle WebSockets upgrade requests for the
    	// version of the RemoteCommand subprotocol that supports the "close" signal.
    	TranslateStreamCloseWebsocketRequests featuregate.Feature = "TranslateStreamCloseWebsocketRequests"
    
    	// owner: @richabanker
    	// alpha: v1.28
    	//
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 22:51:23 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  8. pkg/kubelet/server/server.go

    	podresourcesapiv1alpha1 "k8s.io/kubelet/pkg/apis/podresources/v1alpha1"
    	"k8s.io/kubelet/pkg/cri/streaming"
    	"k8s.io/kubelet/pkg/cri/streaming/portforward"
    	remotecommandserver "k8s.io/kubelet/pkg/cri/streaming/remotecommand"
    	kubelettypes "k8s.io/kubelet/pkg/types"
    	"k8s.io/kubernetes/pkg/api/legacyscheme"
    	api "k8s.io/kubernetes/pkg/apis/core"
    	"k8s.io/kubernetes/pkg/apis/core/v1/validation"
    	"k8s.io/kubernetes/pkg/features"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 40.1K bytes
    - Viewed (0)
Back to top