Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for PortForward (0.15 sec)

  1. pkg/kube/portforwarder.go

    	fw, err := portforward.NewOnAddresses(dialer,
    		[]string{f.localAddress},
    		[]string{fmt.Sprintf("%d:%d", f.localPort, f.podPort)},
    		f.stopCh,
    		readyCh,
    		io.Discard,
    		os.Stderr)
    	if err != nil {
    		return nil, fmt.Errorf("failed establishing port-forward: %v", err)
    	}
    
    	// Run the same check as k8s.io/kubectl/pkg/cmd/portforward/portforward.go
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 14 02:12:37 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/portforward/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 portforward
    
    const (
    	PortForwardV1Name                    = "portforward.k8s.io"
    	WebsocketsSPDYTunnelingPrefix        = "SPDY/3.1+"
    	KubernetesSuffix                     = ".k8s.io"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:10:30 UTC 2024
    - 855 bytes
    - Viewed (0)
  3. pkg/client/tests/portfoward_test.go

    	"testing"
    	"time"
    
    	"k8s.io/apimachinery/pkg/types"
    	restclient "k8s.io/client-go/rest"
    	. "k8s.io/client-go/tools/portforward"
    	"k8s.io/client-go/transport/spdy"
    	"k8s.io/kubelet/pkg/cri/streaming/portforward"
    )
    
    // fakePortForwarder simulates port forwarding for testing. It implements
    // portforward.PortForwarder.
    type fakePortForwarder struct {
    	lock sync.Mutex
    	// stores data expected from the stream per port
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 05 06:08:18 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  4. pkg/kubelet/server/server_websocket_test.go

    				}
    
    				return nil
    			}
    
    			var url string
    			if test.uid {
    				url = fmt.Sprintf("ws://%s/portForward/%s/%s/%s?port=%s", fw.testHTTPServer.Listener.Addr().String(), podNamespace, podName, testUID, test.port)
    			} else {
    				url = fmt.Sprintf("ws://%s/portForward/%s/%s?port=%s", fw.testHTTPServer.Listener.Addr().String(), podNamespace, podName, test.port)
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 05 06:08:18 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  5. pkg/registry/core/pod/rest/subresources.go

    }
    
    // NewConnectOptions returns the versioned object that represents the
    // portforward parameters
    func (r *PortForwardREST) NewConnectOptions() (runtime.Object, bool, string) {
    	return &api.PodPortForwardOptions{}, false, ""
    }
    
    // ConnectMethods returns the methods supported by portforward
    func (r *PortForwardREST) ConnectMethods() []string {
    	return upgradeableMethods
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:10:30 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. pkg/kubelet/server/auth_test.go

    		"/metrics/probes":                     "metrics",
    		"/metrics/resource":                   "metrics",
    		"/pods/":                              "proxy",
    		"/portForward/{podNamespace}/{podID}": "proxy",
    		"/portForward/{podNamespace}/{podID}/{uid}":         "proxy",
    		"/run/{podNamespace}/{podID}/{containerName}":       "proxy",
    		"/run/{podNamespace}/{podID}/{uid}/{containerName}": "proxy",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 19 18:09:38 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. operator/cmd/mesh/testdata/operator/output/operator-dump.json

                    "configmaps",
                    "endpoints",
                    "events",
                    "namespaces",
                    "pods",
                    "pods/proxy",
                    "pods/portforward",
                    "persistentvolumeclaims",
                    "secrets",
                    "services",
                    "serviceaccounts",
                    "resourcequotas"
                ],
                "verbs": [
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 10 01:35:08 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  8. manifests/charts/istio-operator/templates/clusterrole.yaml

      - leases
      verbs:
      - get
      - create
      - update
    - apiGroups:
      - ""
      resources:
      - configmaps
      - endpoints
      - events
      - namespaces
      - pods
      - pods/proxy
      - pods/portforward
      - persistentvolumeclaims
      - secrets
      - services
      - serviceaccounts
      - resourcequotas
      verbs:
      - '*'
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/util/proxy/doc.go

    // STDERR, TTY resize, and error streams) to the input streams of a
    // SPDY connection.
    //
    // The stream tunnel proxy tunnels SPDY frames through a WebSocket
    // connection, and it is used for the PortForward subprotocol (e.g.
    // kubectl port-forward). This proxy implements tunneling by transparently
    // encoding and decoding SPDY framed data into and out of the payload of a
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 17:56:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. pkg/kubeapiserver/admission/exclusion/resources.go

    	{Group: "", Resource: "bindings"},
    	{Group: "", Resource: "pods/attach"},
    	{Group: "", Resource: "pods/binding"},
    	{Group: "", Resource: "pods/eviction"},
    	{Group: "", Resource: "pods/exec"},
    	{Group: "", Resource: "pods/portforward"},
    
    	// ref: https://github.com/kubernetes/kubernetes/issues/122205#issuecomment-1927390823
    	{Group: "", Resource: "serviceaccounts/token"},
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 23:31:18 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top