Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for exists (0.19 sec)

  1. helm/minio/templates/_helper_create_bucket.txt

    # Ensure bucket exists, purging if asked to
    createBucket() {
    	BUCKET=$1
    	POLICY=$2
    	PURGE=$3
    	VERSIONING=$4
    	OBJECTLOCKING=$5
    
    	# Purge the bucket, if set & exists
    	# Since PURGE is user input, check explicitly for `true`
    	if [ $PURGE = true ]; then
    		if checkBucketExists $BUCKET; then
    			echo "Purging bucket '$BUCKET'."
    			set +e # don't exit if this fails
    			${MC} rm -r --force myminio/$BUCKET
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Jan 12 18:18:57 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  2. helm/minio/templates/_helper_create_user.txt

        echo \"Failed attempts: $ATTEMPTS\" ;
        if [ $ATTEMPTS -gt $LIMIT ]; then
          exit 1 ;
        fi ;
        sleep 2 ; # 1 second intervals between attempts
        $MC_COMMAND ;
        STATUS=$? ;
      done ;
      set -e ; # reset `e` as active
      return 0
    }
    
    # checkUserExists ()
    # Check if the user exists, by using the exit code of `mc admin user info`
    checkUserExists() {
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Dec 12 23:43:32 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  3. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt

    
    fun Directory.parentOrRoot(): Directory = if (this.file("version.txt").asFile.exists()) {
        this
    } else {
        val parent = dir("..")
        when {
            parent.file("version.txt").asFile.exists() -> parent
            this == parent -> throw IllegalStateException("Cannot find 'version.txt' file in root of repository")
            else -> parent.parentOrRoot()
        }
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Feb 09 22:52:01 GMT 2024
    - 5.7K bytes
    - Viewed (2)
  4. cni/pkg/iptables/testdata/hostprobe.golden

    iptables -t nat -N ISTIO_POSTRT
    iptables -t nat -A POSTROUTING -j ISTIO_POSTRT
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 222 bytes
    - Viewed (0)
  5. cni/pkg/iptables/testdata/hostprobe_ipv6.golden

    iptables -t nat -N ISTIO_POSTRT
    iptables -t nat -A POSTROUTING -j ISTIO_POSTRT
    iptables -t nat -A ISTIO_POSTRT -m owner --socket-exists -p tcp -m set --match-set istio-inpod-probes-v4 dst -j SNAT --to-source 169.254.7.127
    ip6tables -t nat -N ISTIO_POSTRT
    ip6tables -t nat -A POSTROUTING -j ISTIO_POSTRT
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 473 bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http/RequestLine.kt

        return !request.isHttps && proxyType == Proxy.Type.HTTP
      }
    
      /**
       * Returns the path to request, like the '/' in 'GET / HTTP/1.1'. Never empty, even if the request
       * URL is. Includes the query component if it exists.
       */
      fun requestPath(url: HttpUrl): String {
        val path = url.encodedPath
        val query = url.encodedQuery
        return if (query != null) "$path?$query" else path
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2K bytes
    - Viewed (0)
  7. helm/minio/templates/_helper_create_svcacct.txt

        echo \"Failed attempts: $ATTEMPTS\" ;
        if [ $ATTEMPTS -gt $LIMIT ]; then
          exit 1 ;
        fi ;
        sleep 2 ; # 2 second intervals between attempts
        $MC_COMMAND ;
        STATUS=$? ;
      done ;
      set -e ; # reset `e` as active
      return 0
    }
    
    # checkSvcacctExists ()
    # Check if the svcacct exists, by using the exit code of `mc admin user svcacct info`
    checkSvcacctExists() {
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 23:20:50 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  8. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/SubprojectsInfo.kt

        }
    
        private
        fun generateSubprojects(): List<GradleSubproject> {
            return generateSubprojectsDirectories()
                .filter {
                    File(it, "build.gradle.kts").exists() ||
                        File(it, "build.gradle").exists()
                }
                .sortedBy { it.name }
                .map(this::generateSubproject)
        }
    
    
        private
        fun generateSubproject(subprojectDir: File): GradleSubproject {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Apr 04 07:21:38 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  9. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/HpackJsonUtil.kt

        val testCaseDirectory = File(resource.toURI()).toOkioPath()
        val result = mutableListOf<String>()
        for (path in fileSystem.list(testCaseDirectory)) {
          val story00 = path / "story_00.json"
          if (!fileSystem.exists(story00)) continue
          try {
            readStory(story00)
            result.add(path.name)
          } catch (ignored: IOException) {
            // Skip this path.
          }
        }
        return result.toTypedArray<String>()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/idn/IdnStringprep.kt

      /** LCat code points; bidi category is "L". */
      val lcatSet: CodePointSet,
    ) {
      /**
       * Returns [input] in canonical form according to these rules, or null if no such canonical form
       * exists for it.
       */
      operator fun invoke(input: String): String? = invoke(Buffer().writeUtf8(input))
    
      internal operator fun invoke(input: BufferedSource): String? {
        // 1. Map.
        val mapResult = Buffer()
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.2K bytes
    - Viewed (0)
Back to top