Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,470 for watch (0.15 sec)

  1. docs_src/response_model/tutorial003_02.py

    app = FastAPI()
    
    
    @app.get("/portal")
    async def get_portal(teleport: bool = False) -> Response:
        if teleport:
            return RedirectResponse(url="https://www.youtube.com/watch?v=dQw4w9WgXcQ")
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 10 16:22:47 GMT 2023
    - 381 bytes
    - Viewed (0)
  2. manifests/charts/istio-operator/values.yaml

      # Specify image pull policy if default behavior isn't desired.
      # Default behavior: latest images will be Always else IfNotPresent.
      imagePullPolicy: ""
    
      # Used to replace istioNamespace to support operator watch multiple namespaces.
      watchedNamespaces: istio-system
      waitForResourcesTimeout: 300s
    
      # Used for helm2 to add the CRDs to templates.
      enableCRDTemplates: false
    
      # revision for the operator resources
    Others
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Wed Jan 10 05:10:03 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  3. docs_src/response_model/tutorial003_05.py

    app = FastAPI()
    
    
    @app.get("/portal", response_model=None)
    async def get_portal(teleport: bool = False) -> Union[Response, dict]:
        if teleport:
            return RedirectResponse(url="https://www.youtube.com/watch?v=dQw4w9WgXcQ")
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 10 16:22:47 GMT 2023
    - 405 bytes
    - Viewed (0)
  4. cni/pkg/install/install.go

    // If an error occurs or context is canceled, the function will return an error.
    func (in *Installer) sleepWatchInstall(ctx context.Context, installedBinFiles sets.String) error {
    	// Watch our specific binaries, in each configured binary dir.
    	// We may or may not be the only CNI plugin in play, and if we are not
    	// we shouldn't fire events for binaries that are not ours.
    	var binPaths []string
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Feb 08 18:52:24 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  5. manifests/charts/istio-operator/templates/deployment.yaml

    {{- if .Values.imagePullPolicy }}
              imagePullPolicy: {{ .Values.imagePullPolicy }}
    {{- end }}
              resources:
    {{ toYaml .Values.operator.resources | trim | indent 12 }}
              env:
                - name: WATCH_NAMESPACE
                  value: {{.Values.watchedNamespaces | quote}}
                - name: LEADER_ELECTION_NAMESPACE
                  value: {{.Release.Namespace | quote}}
                - name: POD_NAME
                  valueFrom:
    Others
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Aug 25 19:10:42 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/apidiscovery/v2beta1/generated.proto

      optional string singularResource = 4;
    
      // verbs is a list of supported API operation types (this includes
      // but is not limited to get, list, watch, create, update, patch,
      // delete, deletecollection, and proxy).
      // +listType=set
      repeated string verbs = 5;
    
      // shortNames is a list of suggested short names of the resource.
      // +listType=set
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  7. cni/pkg/util/pluginutil.go

    	}
    
    	fileModified, errChan := make(chan struct{}), make(chan error)
    	go watchFiles(watcher, fileModified, errChan)
    
    	for _, path := range paths {
    		if !file.Exists(path) {
    			log.Infof("file watcher skipping watch on non-existent path: %v", path)
    			continue
    		}
    		if err := watcher.Add(path); err != nil {
    			if closeErr := watcher.Close(); closeErr != nil {
    				err = fmt.Errorf("%s: %w", closeErr.Error(), err)
    			}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_response_model/test_tutorial003_02.py

    def test_get_redirect():
        response = client.get("/portal", params={"teleport": True}, follow_redirects=False)
        assert response.status_code == 307, response.text
        assert response.headers["location"] == "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  9. ci/official/wheel_test/update_requirements.sh

    # if there is a change in requirements.in then all lock files will be updated
    # accordingly.
    
    # -e: abort script if one command fails
    # -u: error if undefined variable used
    # -o pipefail: entire command fails if pipe fails. watch out for yes | ...
    # -o history: record shell history
    set -euo pipefail -o history
    
    # Check for required arguments
    if [ -z "$1" ]; then
      echo "Usage: $0 <path_to_tensorflow_wheel> <python_version>"
      exit 1
    fi
    
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 31 18:17:57 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/SmbWatchHandle.java

         * it will return an empty list of changes.
         * 
         * @return changes since the last invocation
         * @throws CIFSException
         */
        List<FileNotifyInformation> watch () throws CIFSException;
    
    
        /**
         * {@inheritDoc}
         *
         * @see java.util.concurrent.Callable#call()
         */
        @Override
        List<FileNotifyInformation> call () throws CIFSException;
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.3K bytes
    - Viewed (0)
Back to top