Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,910 for example1 (0.18 sec)

  1. platforms/documentation/docs/src/docs/userguide/authoring-builds/structuring/multi_project_builds.adoc

    The project path is assumed to be equal to the relative physical file system path.
    For example, a path `services:api` is mapped by default to a folder `./services/api` (relative to the project root `.`).
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 25 00:33:43 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. src/errors/example_test.go

    	}
    	// Output:
    	// err1
    	// err2
    	// err is err1
    	// err is err2
    }
    
    func ExampleIs() {
    	if _, err := os.Open("non-existing"); err != nil {
    		if errors.Is(err, fs.ErrNotExist) {
    			fmt.Println("file does not exist")
    		} else {
    			fmt.Println(err)
    		}
    	}
    
    	// Output:
    	// file does not exist
    }
    
    func ExampleAs() {
    	if _, err := os.Open("non-existing"); err != nil {
    		var pathError *fs.PathError
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 02:08:40 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/body-fields.md

    You will learn more about adding extra information later in the docs, when learning to declare examples.
    
    !!! warning
        Extra keys passed to `Field` will also be present in the resulting OpenAPI schema for your application.
        As these keys may not necessarily be part of the OpenAPI specification, some OpenAPI tools, for example [the OpenAPI validator](https://validator.swagger.io/), may not work with your generated schema.
    
    ## Recap
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 17 05:59:11 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/request-forms.md

    With `Form` you can declare the same configurations as with `Body` (and `Query`, `Path`, `Cookie`), including validation, examples, an alias (e.g. `user-name` instead of `username`), etc.
    
    !!! info
        `Form` is a class that inherits directly from `Body`.
    
    !!! tip
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Mar 13 19:02:19 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. docs/en/docs/how-to/async-sql-encode-databases.md

    It is compatible with:
    
    * PostgreSQL
    * MySQL
    * SQLite
    
    In this example, we'll use **SQLite**, because it uses a single file and Python has integrated support. So, you can copy this example and run it as is.
    
    Later, for your production application, you might want to use a database server like **PostgreSQL**.
    
    !!! tip
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/cmd/phases/init/kubelet.go

    	"k8s.io/kubernetes/cmd/kubeadm/app/cmd/phases/workflow"
    	cmdutil "k8s.io/kubernetes/cmd/kubeadm/app/cmd/util"
    	kubeletphase "k8s.io/kubernetes/cmd/kubeadm/app/phases/kubelet"
    )
    
    var (
    	kubeletStartPhaseExample = cmdutil.Examples(`
    		# Writes a dynamic environment file with kubelet flags from a InitConfiguration file.
    		kubeadm init phase kubelet-start --config config.yaml
    		`)
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Aug 20 09:18:00 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  7. manifests/charts/README.md

    of the conventional `istio-injected: true`. The name of the environment is defined as the namespace
    where the corresponding control plane components (config, discovery, auto-injection) are running.
    In the examples below, by default this is the `istio-control` namespace. Pod annotations can also
    be used to select a different 'environment'.
    
    ## Installing
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 07 17:53:24 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. hack/pin-dependency.sh

            ;;
    esac
    
    if [[ -z "${dep}" || -z "${replacement}" || -z "${sha}" ]]; then
      echo "Usage:"
      echo "  hack/pin-dependency.sh \$MODULE[=\$REPLACEMENT] \$SHA-OR-TAG"
      echo ""
      echo "Examples:"
      echo "  hack/pin-dependency.sh github.com/docker/docker 501cb131a7b7"
      echo "  hack/pin-dependency.sh github.com/docker/docker=github.com/johndoe/docker my-experimental-branch"
      echo ""
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 05:44:43 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/project/collector/MultiModuleCollectionStrategy.java

         * We should always check whether the request pom project is collected.
         * The integration tests for MNG-6223 are examples for this scenario.
         *
         * @return true if the collected projects contain the requested project (for example with -f)
         */
        private boolean isRequestedProjectCollected(MavenExecutionRequest request, List<MavenProject> projects) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Sep 22 09:07:17 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/cmd/phases/init/kubeletfinalize.go

    		Short:   "Updates settings relevant to the kubelet after TLS bootstrap",
    		Example: kubeletFinalizePhaseExample,
    		Phases: []workflow.Phase{
    			{
    				Name:           "all",
    				Short:          "Run all kubelet-finalize phases",
    				InheritFlags:   []string{options.CfgPath, options.CertificatesDir, options.DryRun},
    				Example:        kubeletFinalizePhaseExample,
    				RunAllSiblings: true,
    			},
    			{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 10:54:51 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top