Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1051 - 1060 of 1,598 for var1 (0.07 sec)

  1. docs/en/docs/how-to/conditional-openapi.md

    Nevertheless, you might have a very specific use case where you really need to disable the API docs for some environment (e.g. for production) or depending on configurations from environment variables.
    
    ## Conditional OpenAPI from settings and env vars
    
    You can easily use the same Pydantic settings to configure your generated OpenAPI and the docs UIs.
    
    For example:
    
    {* ../../docs_src/conditional_openapi/tutorial001.py hl[6,11] *}
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 11:21:54 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. internal/grid/grid_test.go

    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[StateUnconnected-0]
    	_ = x[StateConnecting-1]
    	_ = x[StateConnected-2]
    	_ = x[StateConnectionError-3]
    	_ = x[StateShutdown-4]
    }
    
    const stateName = "UnconnectedConnectingConnectedConnectionErrorShutdown"
    
    var stateIndex = [...]uint8{0, 11, 21, 30, 45, 53}
    
    func (i State) String() string {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  3. cmd/metrics-v3-system-network.go

    	internodeDialAvgTimeNanos MetricName = "dial_avg_time_nanos"
    	internodeSentBytesTotal   MetricName = "sent_bytes_total"
    	internodeRecvBytesTotal   MetricName = "recv_bytes_total"
    )
    
    var (
    	internodeErrorsTotalMD = NewCounterMD(internodeErrorsTotal,
    		"Total number of failed internode calls")
    	internodeDialedErrorsTotalMD = NewCounterMD(internodeDialErrorsTotal,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Mar 10 09:15:15 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. internal/config/ilm/ilm.go

    package ilm
    
    import (
    	"strconv"
    
    	"github.com/minio/minio/internal/config"
    	"github.com/minio/pkg/v3/env"
    )
    
    // DefaultKVS default configuration values for ILM subsystem
    var DefaultKVS = config.KVS{
    	config.KV{
    		Key:   transitionWorkers,
    		Value: "100",
    	},
    	config.KV{
    		Key:   expirationWorkers,
    		Value: "100",
    	},
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/envoy/configdump/ecds_test.go

    	cw.Prime(cd)
    	err := cw.PrintEcds("json")
    	assert.NoError(t, err)
    
    	// protojson opt out of whitespace randomization, see more details: https://github.com/golang/protobuf/issues/1082
    	var rm json.RawMessage = gotOut.Bytes()
    	jsonOutput, err := json.MarshalIndent(rm, "", "    ")
    	if err != nil {
    		assert.NoError(t, err)
    	}
    	jsonOutput = append(jsonOutput, '\n')
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Dec 13 01:08:07 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  6. okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt

        return Platform.get().newSSLContext().apply {
          init(arrayOf<KeyManager>(keyManager), arrayOf<TrustManager>(trustManager), SecureRandom())
        }
      }
    
      class Builder {
        private var heldCertificate: HeldCertificate? = null
        private var intermediates: Array<X509Certificate>? = null
        private val trustedCertificates = mutableListOf<X509Certificate>()
        private val insecureHosts = mutableListOf<String>()
    
        /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. internal/kms/kes.go

    		Endpoint  string
    		ItemState madmin.ItemState
    	}
    
    	var wg sync.WaitGroup
    	results := make([]Result, len(c.client.Endpoints))
    	for i := range c.client.Endpoints {
    		wg.Add(1)
    		go func(i int) {
    			defer wg.Done()
    
    			client := kes.Client{
    				Endpoints:  []string{c.client.Endpoints[i]},
    				HTTPClient: c.client.HTTPClient,
    			}
    
    			var item madmin.ItemState
    			if _, err := client.Status(ctx); err == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/TestLogHandler.kt

            logs += "${logRecord.level}: ${logRecord.message}"
          }
    
          override fun flush() {
          }
    
          override fun close() {
          }
        }
    
      private var previousLevel: Level? = null
    
      override fun beforeEach(context: ExtensionContext?) {
        previousLevel = logger.level
        logger.addHandler(handler)
        logger.setLevel(Level.FINEST)
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. docs/iam/identity-manager-plugin.go

    }
    
    type Resp struct {
    	User               string                 `json:"user"`
    	MaxValiditySeconds int                    `json:"maxValiditySeconds"`
    	Claims             map[string]interface{} `json:"claims"`
    }
    
    var tokens map[string]Resp = map[string]Resp{
    	"aaa": {
    		User:               "Alice",
    		MaxValiditySeconds: 3600,
    		Claims: map[string]interface{}{
    			"groups": []string{"data-science"},
    		},
    	},
    	"bbb": {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 21:31:13 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. internal/config/identity/openid/provider/provider.go

    }
    
    // User represents information about user.
    type User struct {
    	Name    string `json:"username"`
    	ID      string `json:"id"`
    	Enabled bool   `json:"enabled"`
    }
    
    // Standard errors.
    var (
    	ErrNotImplemented     = errors.New("function not implemented")
    	ErrAccessTokenExpired = errors.New("access_token expired or unauthorized")
    )
    
    // Provider implements identity provider specific admin operations, such as
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top