Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 821 - 830 of 1,615 for var0 (0.02 seconds)

  1. internal/config/etcd/etcd.go

    	EnvEtcdCoreDNSPath   = "MINIO_ETCD_COREDNS_PATH"
    	EnvEtcdClientCert    = "MINIO_ETCD_CLIENT_CERT"
    	EnvEtcdClientCertKey = "MINIO_ETCD_CLIENT_CERT_KEY"
    )
    
    // DefaultKVS - default KV settings for etcd.
    var (
    	DefaultKVS = config.KVS{
    		config.KV{
    			Key:   Endpoints,
    			Value: "",
    		},
    		config.KV{
    			Key:   PathPrefix,
    			Value: "",
    		},
    		config.KV{
    			Key:   CoreDNSPath,
    			Value: "/skydns",
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 16 14:27:42 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  2. internal/config/identity/openid/provider/keycloak.go

    	if err != nil {
    		return err
    	}
    	req.Header.Set("Content-Type", "application/x-www-form-urlencoded")
    
    	resp, err := k.client.Do(req)
    	if err != nil {
    		return err
    	}
    	defer resp.Body.Close()
    
    	var accessToken Token
    	if err = json.NewDecoder(resp.Body).Decode(&accessToken); err != nil {
    		return err
    	}
    
    	k.Lock()
    	k.accessToken = accessToken
    	k.Unlock()
    	return nil
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Jul 14 18:12:07 GMT 2024
    - 4.6K bytes
    - Click Count (0)
  3. cmd/bucket-replication-utils.go

    		// rely on replication action from target that actually performed replication now.
    		if t.PrevReplicationStatus != replication.Completed {
    			return t.ReplicationAction
    		}
    	}
    	return replicateNone
    }
    
    var replStatusRegex = regexp.MustCompile(`([^=].*?)=([^,].*?);`)
    
    // TargetReplicationStatus - returns replication status of a target
    func (ri ReplicateObjectInfo) TargetReplicationStatus(arn string) (status replication.StatusType) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 26.1K bytes
    - Click Count (0)
  4. cmd/object-api-utils_test.go

    			defer r.Close()
    
    			var rdrBuf bytes.Buffer
    			_, err := io.CopyBuffer(&rdrBuf, r, buf)
    			if err != nil {
    				t.Fatal(err)
    			}
    			r.Close()
    			idx := idxCB()
    			if !tt.wantIdx && len(idx) > 0 {
    				t.Errorf("index returned above threshold")
    			}
    			if tt.wantIdx {
    				if idx == nil {
    					t.Errorf("no index returned")
    				}
    				var index s2.Index
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 24.1K bytes
    - Click Count (0)
  5. schema/field.go

    				fieldValue = reflect.ValueOf(v)
    			}
    
    			// Use the field struct's first field type as data type, e.g: use `string` for sql.NullString
    			var getRealFieldValue func(reflect.Value)
    			getRealFieldValue = func(v reflect.Value) {
    				var (
    					rv     = reflect.Indirect(v)
    					rvType = rv.Type()
    				)
    
    				if rv.Kind() == reflect.Struct && !rvType.ConvertibleTo(TimeReflectType) {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Nov 22 03:14:36 GMT 2025
    - 32.2K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt

       *     `*.android.com`.
       */
      private fun verifyHostname(
        hostname: String?,
        pattern: String?,
      ): Boolean {
        var hostname = hostname
        var pattern = pattern
        if (hostname.isNullOrEmpty() ||
          hostname.startsWith(".") ||
          hostname.endsWith("..")
        ) {
          // Invalid domain name.
          return false
        }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 7.6K bytes
    - Click Count (0)
  7. internal/bucket/lifecycle/filter_test.go

    								<Value>value1</Value>
    							</Tag>
    						</Filter>`,
    			expectedErr: errInvalidFilter,
    		},
    	}
    	for i, tc := range testCases {
    		t.Run(fmt.Sprintf("Test %d", i+1), func(t *testing.T) {
    			var filter Filter
    			err := xml.Unmarshal([]byte(tc.inputXML), &filter)
    			if err != nil {
    				t.Fatalf("%d: Expected no error but got %v", i+1, err)
    			}
    			err = filter.Validate()
    			if err != tc.expectedErr {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 27 00:01:20 GMT 2024
    - 7.2K bytes
    - Click Count (0)
  8. internal/hash/checksum_test.go

    	part2Checksum := NewChecksumFromData(checksumType, part2Data)
    	part3Checksum := NewChecksumFromData(checksumType, part3Data)
    
    	// Combine the raw checksums (this is what happens in CompleteMultipartUpload)
    	var checksumCombined []byte
    	checksumCombined = append(checksumCombined, part1Checksum.Raw...)
    	checksumCombined = append(checksumCombined, part2Checksum.Raw...)
    	checksumCombined = append(checksumCombined, part3Checksum.Raw...)
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 22 14:15:21 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  9. internal/config/identity/openid/jwt_test.go

    			DummyRoleARN: &provider,
    		},
    		ProviderCfgs: map[string]*providerCfg{
    			"1": &provider,
    		},
    		closeRespFn: func(rc io.ReadCloser) {
    			rc.Close()
    		},
    	}
    
    	var claims jwtgo.MapClaims
    	if err = cfg.Validate(t.Context(), DummyRoleARN, token, "", "", claims); err != nil {
    		t.Fatal(err)
    	}
    }
    
    func TestJWT(t *testing.T) {
    	const jsonkey = `{"keys":
           [
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  10. docs/ko/docs/how-to/conditional-openapi.md

    * 필요한 곳에 OAuth2 범위를 사용하여 더 세분화된 권한 제어를 추가하세요.
    * ...등등.
    
    그럼에도 불구하고, 특정 환경(예: 프로덕션)에서 또는 환경 변수의 설정에 따라 API docs를 비활성화해야 하는 매우 특정한 사용 사례가 있을 수 있습니다.
    
    ## 설정 및 환경변수의 조건부 OpenAPI { #conditional-openapi-from-settings-and-env-vars }
    
    동일한 Pydantic 설정을 사용하여 생성된 OpenAPI 및 docs UI를 쉽게 구성할 수 있습니다.
    
    예를 들어:
    
    {* ../../docs_src/conditional_openapi/tutorial001_py310.py hl[6,11] *}
    
    여기서 `openapi_url` 설정을 기본값인 `"/openapi.json"`으로 선언합니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 2.7K bytes
    - Click Count (0)
Back to Top