Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for remotecommand (0.17 sec)

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

    	apierrors "k8s.io/apimachinery/pkg/api/errors"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/util/httpstream/spdy"
    	constants "k8s.io/apimachinery/pkg/util/remotecommand"
    	"k8s.io/apiserver/pkg/util/proxy/metrics"
    	"k8s.io/client-go/tools/remotecommand"
    	"k8s.io/client-go/util/exec"
    )
    
    // StreamTranslatorHandler is a handler which translates WebSocket stream data
    // to SPDY to proxy to kubelet (and ContainerRuntime).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 27 23:21:55 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/util/proxy/websocket.go

    	"io"
    	"net/http"
    	"time"
    
    	apierrors "k8s.io/apimachinery/pkg/api/errors"
    	"k8s.io/apimachinery/pkg/util/httpstream/wsstream"
    	constants "k8s.io/apimachinery/pkg/util/remotecommand"
    	"k8s.io/apimachinery/pkg/util/runtime"
    	"k8s.io/client-go/tools/remotecommand"
    )
    
    const (
    	// idleTimeout is the read/write deadline set for websocket server connection. Reading
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/util/httpstream/wsstream/doc.go

    //
    // "v3.channel.k8s.io"
    //
    // The third version of the Websocket RemoteCommand subprotocol adds another channel
    // for terminal resizing events. This channel is prepended with the byte '3', and it
    // transmits two window sizes (encoding TerminalSize struct) with integers in the range
    // (0,65536].
    //
    // "v4.channel.k8s.io"
    //
    // The fourth version of the Websocket RemoteCommand subprotocol adds a channel for
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 05 18:37:18 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/util/remotecommand/constants.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package remotecommand
    
    import (
    	"time"
    
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    )
    
    const (
    	DefaultStreamCreationTimeout = 30 * time.Second
    
    	// The SPDY subprotocol "channel.k8s.io" is used for remote command
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 05 18:37:18 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/util/proxy/metrics/metrics.go

    		&metrics.CounterOpts{
    			Subsystem:      subsystem,
    			Name:           "stream_translator_requests_total",
    			Help:           "Total number of requests that were handled by the StreamTranslatorProxy, which processes streaming RemoteCommand/V5",
    			StabilityLevel: metrics.ALPHA,
    		},
    		[]string{statuscode},
    	)
    )
    
    func Register() {
    	registerMetricsOnce.Do(func() {
    		legacyregistry.MustRegister(streamTranslatorRequestsTotal)
    	})
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 27 23:21:55 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/util/proxy/doc.go

    // stream proxies: streamtranslator.go and streamtunnel.go. Both of
    // these proxies allow the inter-connection of WebSocket and SPDY
    // streaming connections.
    //
    // The stream translator proxy is used for the RemoteCommand
    // subprotocol (e.g. kubectl exec, cp, and attach), and it connects
    // the output streams of a WebSocket connection (e.g. STDIN, STDOUT,
    // STDERR, TTY resize, and error streams) to the input streams of a
    // SPDY connection.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 17:56:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. staging/publishing/import-restrictions.yaml

      - "./staging/src/k8s.io/client-go/tools/record"
      - "./staging/src/k8s.io/client-go/tools/events"
      - "./staging/src/k8s.io/client-go/tools/reference"
      - "./staging/src/k8s.io/client-go/tools/remotecommand"
      allowedImports:
      - k8s.io/apimachinery
      - k8s.io/client-go
      - k8s.io/klog
      - k8s.io/utils
    
    - baseImportPath: "./staging/src/k8s.io/apiserver"
      allowedImports:
      - k8s.io/api
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 13:13:22 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top