Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1011 - 1020 of 1,615 for var0 (0.03 seconds)

  1. internal/config/browser/help.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package browser
    
    import "github.com/minio/minio/internal/config"
    
    // Help template for browser feature.
    var (
    	defaultHelpPostfix = func(key string) string {
    		return config.DefaultHelpPostfix(DefaultKVS, key)
    	}
    
    	Help = config.HelpKVS{
    		config.HelpKV{
    			Key:         browserCSPPolicy,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Jan 01 16:36:33 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  2. internal/event/targetid.go

    func (tid TargetID) MarshalJSON() ([]byte, error) {
    	return json.Marshal(tid.String())
    }
    
    // UnmarshalJSON - decodes JSON data.
    func (tid *TargetID) UnmarshalJSON(data []byte) error {
    	var s string
    	if err := json.Unmarshal(data, &s); err != nil {
    		return err
    	}
    
    	targetID, err := parseTargetID(s)
    	if err != nil {
    		return err
    	}
    
    	*tid = *targetID
    	return nil
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.8K bytes
    - Click Count (0)
  3. internal/bucket/replication/and.go

    type And struct {
    	XMLName xml.Name `xml:"And" json:"And"`
    	Prefix  string   `xml:"Prefix,omitempty" json:"Prefix,omitempty"`
    	Tags    []Tag    `xml:"Tag,omitempty" json:"Tag,omitempty"`
    }
    
    var errDuplicateTagKey = Errorf("Duplicate Tag Keys are not allowed")
    
    // isEmpty returns true if Tags field is null
    func (a And) isEmpty() bool {
    	return len(a.Tags) == 0 && a.Prefix == ""
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.8K bytes
    - Click Count (0)
  4. internal/bucket/lifecycle/rule.go

    	NoncurrentVersionExpiration NoncurrentVersionExpiration `xml:"NoncurrentVersionExpiration,omitempty"`
    	NoncurrentVersionTransition NoncurrentVersionTransition `xml:"NoncurrentVersionTransition,omitempty"`
    }
    
    var (
    	errInvalidRuleID                  = Errorf("ID length is limited to 255 characters")
    	errEmptyRuleStatus                = Errorf("Status should not be empty")
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Nov 25 20:12:21 GMT 2024
    - 6.4K bytes
    - Click Count (0)
  5. src/main/webapp/WEB-INF/view/admin/reqheader/admin_reqheader_edit.jsp

                                            <la:select styleId="webConfigId" property="webConfigId"
                                                       styleClass="form-control">
                                                <c:forEach var="item" items="${webConfigItems}">
                                                    <la:option value="${f:u(item.value)}">${f:h(item.label)}</la:option>
                                                </c:forEach>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  6. internal/config/help.go

    		}
    	}
    	return HelpKV{}, false
    }
    
    // DefaultComment used across all sub-systems.
    const DefaultComment = "optionally add a comment to this setting"
    
    // Region help is documented in default config
    var (
    	SiteHelp = HelpKVS{
    		HelpKV{
    			Key:         NameKey,
    			Type:        "string",
    			Description: `name for the site e.g. "cal-rack0"`,
    			Optional:    true,
    		},
    		HelpKV{
    			Key:         RegionKey,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Jun 23 14:45:27 GMT 2023
    - 2.8K bytes
    - Click Count (0)
  7. cmd/bucket-lifecycle.go

    	stats expiryStats
    }
    
    // PendingTasks returns the number of pending ILM expiry tasks.
    func (es *expiryState) PendingTasks() int {
    	w := es.workers.Load()
    	if w == nil || len(*w) == 0 {
    		return 0
    	}
    	var tasks int
    	for _, wrkr := range *w {
    		tasks += len(wrkr)
    	}
    	return tasks
    }
    
    // enqueueTierJournalEntry enqueues a tier journal entry referring to a remote
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 33.7K bytes
    - Click Count (0)
  8. tests/compose.yml

        hostname: opengauss-server
        ports:
          - "127.0.0.1:9950:5432"
        environment:
          - TZ=Asia/Shanghai
          - GS_PASSWORD=Gaussdb@123
          - GS_CLUSTER_NAME=opengauss_cluster
          - PGDATA=/var/lib/opengauss/data
        entrypoint: ""
        command: |-
          /bin/sh -c 'set -euo pipefail;
          /usr/local/bin/entrypoint.sh gaussdb &
          counter=1;
          while [ "$$counter" -le 20 ]; do
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Aug 04 04:07:30 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  9. internal/config/identity/openid/rsa-sha3_contrib.go

    	"crypto"
    
    	"github.com/golang-jwt/jwt/v4"
    
    	// Needed for SHA3 to work - See: https://golang.org/src/crypto/crypto.go?s=1034:1288
    	_ "golang.org/x/crypto/sha3"
    )
    
    // Specific instances for RS256 and company
    var (
    	SigningMethodRS3256 *jwt.SigningMethodRSA
    	SigningMethodRS3384 *jwt.SigningMethodRSA
    	SigningMethodRS3512 *jwt.SigningMethodRSA
    )
    
    func init() {
    	// RS3256
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 16 14:27:42 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  10. docs/zh/docs/how-to/conditional-openapi.md

    - 实现并使用成熟的密码学工具,比如 pwdlib 和 JWT 令牌等。
    - 在需要的地方使用 OAuth2 作用域添加更细粒度的权限控制。
    - ...等。
    
    尽管如此,你可能确实有非常特定的用例,需要在某些环境(例如生产环境)禁用 API 文档,或根据环境变量的配置来决定。
    
    ## 基于设置和环境变量的条件式 OpenAPI { #conditional-openapi-from-settings-and-env-vars }
    
    你可以很容易地使用相同的 Pydantic 设置来配置生成的 OpenAPI 和文档 UI。
    
    例如:
    
    {* ../../docs_src/conditional_openapi/tutorial001_py310.py hl[6,11] *}
    
    这里我们声明了设置项 `openapi_url`,其默认值同样是 `"/openapi.json"`。
    
    然后在创建 `FastAPI` 应用时使用它。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 2.2K bytes
    - Click Count (0)
Back to Top