Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 73 for canRotate (0.16 sec)

  1. docs/ru/docs/deployment/docker.md

    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    ```
    
    ### Dockerfile
    
    В этой же директории создайте файл `Dockerfile` и заполните его:
    
    ```{ .dockerfile .annotate }
    # (1)
    FROM python:3.9
    
    # (2)
    WORKDIR /code
    
    # (3)
    COPY ./requirements.txt /code/requirements.txt
    
    # (4)
    RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
    
    # (5)
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/informers.go

    			// then assume this event was generated by the CNI plugin labeling the pod on startup,
    			// and skip the event.
    			//
    			// This isn't perfect (someone could manually annotate an unready pod,
    			// then install Istio, then the pod goes ready, and we'd miss capture) - but that
    			// seems vanishingly unlikely
    			wasReady := kube.CheckPodReadyOrComplete(oldPod)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 21:31:35 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/phases/upgrade/postupgrade.go

    	}
    
    	// Write the new kubelet config down to disk and the env file if needed
    	if err := WriteKubeletConfigFiles(cfg, patchesDir, dryRun, out); err != nil {
    		errs = append(errs, err)
    	}
    
    	// Annotate the node with the crisocket information, sourced either from the InitConfiguration struct or
    	// --cri-socket.
    	// TODO: In the future we want to use something more official like NodeStatus or similar for detecting this properly
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  4. docs/en/docs/deployment/docker.md

    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    ```
    
    ### Dockerfile
    
    Now in the same project directory create a file `Dockerfile` with:
    
    ```{ .dockerfile .annotate }
    # (1)
    FROM python:3.9
    
    # (2)
    WORKDIR /code
    
    # (3)
    COPY ./requirements.txt /code/requirements.txt
    
    # (4)
    RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
    
    # (5)
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 34K bytes
    - Viewed (0)
  5. src/go/types/typestring.go

    	paramNames   bool           // if set, write function parameter names, otherwise, write types only
    	tpSubscripts bool           // if set, write type parameter indices as subscripts
    	pkgInfo      bool           // package-annotate first unexported-type field to avoid confusing type description
    }
    
    func newTypeWriter(buf *bytes.Buffer, qf Qualifier) *typeWriter {
    	return &typeWriter{buf, make(map[Type]bool), qf, nil, nil, true, false, false}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  6. docs/pt/docs/deployment/docker.md

    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    ```
    
    ### Dockerfile
    
    Agora, no mesmo diretório do projeto, crie um arquivo `Dockerfile` com:
    
    ```{ .dockerfile .annotate }
    # (1)
    FROM python:3.9
    
    # (2)
    WORKDIR /code
    
    # (3)
    COPY ./requirements.txt /code/requirements.txt
    
    # (4)
    RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
    
    # (5)
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/typestring.go

    	paramNames   bool           // if set, write function parameter names, otherwise, write types only
    	tpSubscripts bool           // if set, write type parameter indices as subscripts
    	pkgInfo      bool           // package-annotate first unexported-type field to avoid confusing type description
    }
    
    func newTypeWriter(buf *bytes.Buffer, qf Qualifier) *typeWriter {
    	return &typeWriter{buf, make(map[Type]bool), qf, nil, nil, true, false, false}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/custom-response.md

    This includes many libraries to interact with cloud storage, video processing, and others.
    
    ```{ .python .annotate hl_lines="2  10-12  14" }
    {!../../../docs_src/custom_response/tutorial008.py!}
    ```
    
    1. This is the generator function. It's a "generator function" because it contains `yield` statements inside.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  9. docs/zh/docs/deployment/docker.md

    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    ```
    
    ### Dockerfile
    
    现在在相同的project目录创建一个名为`Dockerfile`的文件:
    
    ```{ .dockerfile .annotate }
    # (1)
    FROM python:3.9
    
    # (2)
    WORKDIR /code
    
    # (3)
    COPY ./requirements.txt /code/requirements.txt
    
    # (4)
    RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
    
    # (5)
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  10. pkg/kubelet/config/config.go

    	updatePodsFunc := func(newPods []*v1.Pod, oldPods, pods map[types.UID]*v1.Pod) {
    		filtered := filterInvalidPods(newPods, source, s.recorder)
    		for _, ref := range filtered {
    			// Annotate the pod with the source before any comparison.
    			if ref.Annotations == nil {
    				ref.Annotations = make(map[string]string)
    			}
    			ref.Annotations[kubetypes.ConfigSourceAnnotationKey] = source
    			// ignore static pods
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 16.7K bytes
    - Viewed (0)
Back to top