Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for FindContainer (0.19 sec)

  1. pkg/kubelet/kubelet_pods.go

    	// TODO: allowlist logs we are willing to serve
    	kl.logServer.ServeHTTP(w, req)
    }
    
    // findContainer finds and returns the container with the given pod ID, full name, and container name.
    // It returns nil if not found.
    func (kl *Kubelet) findContainer(ctx context.Context, podFullName string, podUID types.UID, containerName string) (*kubecontainer.Container, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet.go

    func (kl *Kubelet) CheckpointContainer(
    	ctx context.Context,
    	podUID types.UID,
    	podFullName,
    	containerName string,
    	options *runtimeapi.CheckpointContainerRequest,
    ) error {
    	container, err := kl.findContainer(ctx, podFullName, podUID, containerName)
    	if err != nil {
    		return err
    	}
    	if container == nil {
    		return fmt.Errorf("container %v not found", containerName)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
Back to top