Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 38 for HelloWorld (0.21 sec)

  1. samples/custom-bootstrap/README.md

    # Custom Envoy Bootstrap Configuration
    
    This sample creates a simple helloworld service that bootstraps the Envoy proxy with a custom configuration file.
    
    ## Starting the service
    
    First, we need to create a `ConfigMap` resource with our bootstrap configuration.
    
    ```bash
    kubectl apply -f custom-bootstrap.yaml
    ```
    
    Next, we can create a service that uses this bootstrap configuration.
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 05 22:34:00 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/repository/ResolvingFromMultipleCustomPluginRepositorySpec.groovy

                plugins {
                    id "org.gradle.hello-world" version "0.2" //exits in the plugin portal
                }
            """
            use(repoA, repoB)
    
            when:
            fails("helloWorld")
    
            then:
            failure.assertThatDescription(containsNormalizedString("""
                - Plugin Repositories (could not resolve plugin artifact 'org.gradle.hello-world:org.gradle.hello-world.gradle.plugin:0.2')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 19:30:55 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. samples/builder/README.md

    It will also build `linux/amd64,linux/arm64` which you can override with `PLATFORMS`.
    
    You can also build a set of images instead of all of them:
    
    ```bash
    docker buildx bake --push examples-helloworld-v1 tcp-echo-server
    ```
    
    ## Updating images
    
    When updating images, increment the version for the image in the `tags` config.
    You will also want to update the sample YAMLs
    
    ## Building official images
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 16 22:03:02 UTC 2024
    - 928 bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/recipes/kt/SynchronousGet.kt

    import okhttp3.OkHttpClient
    import okhttp3.Request
    
    class SynchronousGet {
      private val client = OkHttpClient()
    
      fun run() {
        val request =
          Request.Builder()
            .url("https://publicobject.com/helloworld.txt")
            .build()
    
        client.newCall(request).execute().use { response ->
          if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
          for ((name, value) in response.headers) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/kt/AsynchronousGet.kt

    import okhttp3.Request
    import okhttp3.Response
    
    class AsynchronousGet {
      private val client = OkHttpClient()
    
      fun run() {
        val request =
          Request.Builder()
            .url("http://publicobject.com/helloworld.txt")
            .build()
    
        client.newCall(request).enqueue(
          object : Callback {
            override fun onFailure(
              call: Call,
              e: IOException,
            ) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/CheckHandshake.java

          .addNetworkInterceptor(CHECK_HANDSHAKE_INTERCEPTOR)
          .build();
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("https://publicobject.com/helloworld.txt")
            .build();
    
        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/repository/ResolvingFromSingleCustomPluginRepositorySpec.groovy

                }
            """
    
            and:
            useCustomRepository(PathType.ABSOLUTE)
    
            expect:
            fails("helloWorld")
            failure.assertHasDescription("Plugin [id: 'org.gradle.hello-world', version: '0.2'] was not found in any of the following sources:")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 19:30:55 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/recipes/kt/CacheResponse.kt

              // 1 MiB.
              maxSize = 10L * 1024L * 1024L,
            ),
          )
          .build()
    
      fun run() {
        val request =
          Request.Builder()
            .url("http://publicobject.com/helloworld.txt")
            .build()
    
        val response1Body =
          client.newCall(request).execute().use {
            if (!it.isSuccessful) throw IOException("Unexpected code $it")
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/compile/BasicZincScalaCompilerIntegrationTest.groovy

    }"""
        }
    
        def goodCodeUsingJavaInterface() {
            file("src/main/scala/compile/test/Demo.scala") << """
                package compile.test
    
                object Demo {
                  MyInterface.helloWorld();
                }
            """.stripIndent()
        }
    
    
        def goodJavaInterfaceCode() {
            file("src/main/java/compile/test/MyInterface.java") << """
                package compile.test;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  10. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/JavaExecWithExecutableJarIntegrationTest.groovy

                        attributes('Main-Class': 'driver.Driver')
                    }
                }
            """
    
            when:
            succeeds taskName
    
            then:
            file("out.txt").text == """helloworld"""
    
            where:
            method                    | taskName
            'JavaExec task'           | 'runWithTask'
            'project.javaexec'        | 'runWithJavaExec'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top