Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getAttach (0.17 sec)

  1. pkg/kubelet/server/server_test.go

    	return url.Parse(resp.GetUrl())
    }
    
    func (fk *fakeKubelet) GetAttach(_ context.Context, podFullName string, podUID types.UID, containerName string, streamOpts remotecommandserver.Options) (*url.URL, error) {
    	if fk.getAttachCheck != nil {
    		fk.getAttachCheck(podFullName, podUID, containerName, streamOpts)
    	}
    	// Always use testContainerID
    	resp, err := fk.streamingRuntime.GetAttach(&runtimeapi.AttachRequest{
    		ContainerId: testContainerID,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/kuberuntime_container.go

    	}
    	resp, err := m.runtimeService.Exec(ctx, req)
    	if err != nil {
    		return nil, err
    	}
    
    	return url.Parse(resp.Url)
    }
    
    // GetAttach gets the endpoint the runtime will serve the attach request from.
    func (m *kubeGenericRuntimeManager) GetAttach(ctx context.Context, id kubecontainer.ContainerID, stdin, stdout, stderr, tty bool) (*url.URL, error) {
    	req := &runtimeapi.AttachRequest{
    		ContainerId: id.ID,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 54.7K bytes
    - Viewed (0)
Back to top