Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ExecLocation (0.21 sec)

  1. pkg/registry/core/pod/rest/subresources.go

    	execOpts, ok := opts.(*api.PodExecOptions)
    	if !ok {
    		return nil, fmt.Errorf("invalid options object: %#v", opts)
    	}
    	location, transport, err := pod.ExecLocation(ctx, r.Store, r.KubeletConn, name, execOpts)
    	if err != nil {
    		return nil, err
    	}
    	handler := newThrottledUpgradeAwareProxyHandler(location, transport, false, true, responder)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:10:30 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  2. pkg/registry/core/pod/strategy.go

    ) (*url.URL, http.RoundTripper, error) {
    	return streamLocation(ctx, getter, connInfo, name, opts, opts.Container, "attach")
    }
    
    // ExecLocation returns the exec URL for a pod container. If opts.Container is blank
    // and only one container is present in the pod, that container is used.
    func ExecLocation(
    	ctx context.Context,
    	getter ResourceGetter,
    	connInfo client.ConnectionInfoGetter,
    	name string,
    	opts *api.PodExecOptions,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 17:51:48 UTC 2024
    - 29.8K bytes
    - Viewed (0)
Back to top