Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for Goff (0.12 sec)

  1. utils/tests/models.go

    	AppliesToProduct []*CouponProduct `gorm:"foreignKey:CouponId;constraint:OnDelete:CASCADE"`
    	AmountOff        uint32           `gorm:"column:amount_off"`
    	PercentOff       float32          `gorm:"column:percent_off"`
    }
    
    type CouponProduct struct {
    	CouponId  int    `gorm:"primarykey;size:255"`
    	ProductId string `gorm:"primarykey;size:255"`
    	Desc      string
    }
    
    type Order struct {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Dec 15 08:36:08 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  2. internal/config/cache/cache.go

    	EnvEndpoint  = "MINIO_CACHE_ENDPOINT"
    	EnvBlockSize = "MINIO_CACHE_BLOCK_SIZE"
    )
    
    // DefaultKVS - default KV config for cache settings
    var DefaultKVS = config.KVS{
    	config.KV{
    		Key:   Enable,
    		Value: "off",
    	},
    	config.KV{
    		Key:   Endpoint,
    		Value: "",
    	},
    	config.KV{
    		Key:   BlockSize,
    		Value: "",
    	},
    }
    
    // Config represents the subnet related configuration
    type Config struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  3. internal/config/identity/ldap/config.go

    	if ldapServer == "" {
    		return l, nil
    	}
    	l.LDAP = ldap.Config{
    		RootCAs:       rootCAs,
    		ServerAddr:    ldapServer,
    		SRVRecordName: getCfgVal(SRVRecordName),
    	}
    
    	// Parse explicitly set enable=on/off flag.
    	isEnableFlagExplicitlySet := false
    	if v := getCfgVal(config.Enable); v != "" {
    		isEnableFlagExplicitlySet = true
    		l.LDAP.Enabled, err = config.ParseBool(v)
    		if err != nil {
    			return l, err
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 7.9K bytes
    - Viewed (2)
  4. cmd/net.go

    // isHostIP - helper for validating if the provided arg is an ip address.
    func isHostIP(ipAddress string) bool {
    	host, _, err := net.SplitHostPort(ipAddress)
    	if err != nil {
    		host = ipAddress
    	}
    	// Strip off IPv6 zone information.
    	if i := strings.Index(host, "%"); i > -1 {
    		host = host[:i]
    	}
    	return net.ParseIP(host) != nil
    }
    
    // extractHostPort - extracts host/port from many address formats
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 26 15:00:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  5. cmd/os_unix.go

    		}
    
    	}
    	defer syscall.Close(fd)
    
    	bufp := direntPool.Get().(*[]byte)
    	defer direntPool.Put(bufp)
    	buf := *bufp
    
    	boff := 0 // starting read position in buf
    	nbuf := 0 // end valid data in buf
    
    	for {
    		if boff >= nbuf {
    			boff = 0
    			stop := globalOSMetrics.time(osMetricReadDirent)
    			nbuf, err = syscall.ReadDirent(fd, buf)
    			stop()
    			if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  6. internal/logger/help.go

    			Optional:    true,
    			Type:        "on|off",
    		},
    		config.HelpKV{
    			Key:         KafkaTLS,
    			Description: "set to 'on' to enable TLS",
    			Optional:    true,
    			Type:        "on|off",
    		},
    		config.HelpKV{
    			Key:         KafkaTLSSkipVerify,
    			Description: `trust server TLS without verification, defaults to "on" (verify)`,
    			Optional:    true,
    			Type:        "on|off",
    		},
    		config.HelpKV{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 07 20:17:46 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  7. cmd/signature-v4-parser.go

    	ch, s3Err := parseCredentialHeader("Credential="+r.Form.Get(xhttp.AmzCredential), region, stype)
    	if s3Err != ErrNone {
    		// Strip off the Algorithm prefix.
    		v4Auth := strings.TrimPrefix(r.Header.Get("Authorization"), signV4Algorithm)
    		authFields := strings.Split(strings.TrimSpace(v4Auth), ",")
    		if len(authFields) != 3 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  8. cmd/update-notifier.go

    	}
    
    	topLeftChar := "┏"
    	topRightChar := "┓"
    	bottomLeftChar := "┗"
    	bottomRightChar := "┛"
    	horizBarChar := "━"
    	vertBarChar := "┃"
    	// on windows terminal turn off unicode characters.
    	if runtime.GOOS == globalWindowsOSName {
    		topLeftChar = "+"
    		topRightChar = "+"
    		bottomLeftChar = "+"
    		bottomRightChar = "+"
    		horizBarChar = "-"
    		vertBarChar = "|"
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  9. internal/config/api/help.go

    			Optional:    true,
    			Type:        "boolean",
    		},
    		config.HelpKV{
    			Key:         apiRootAccess,
    			Description: "turn 'off' root credential access for all API calls including s3, admin operations" + defaultHelpPostfix(apiRootAccess),
    			Optional:    true,
    			Type:        "boolean",
    		},
    		config.HelpKV{
    			Key:         apiSyncEvents,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 15 01:07:19 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  10. istioctl/pkg/cli/context.go

    }
    
    func newKubeClientWithRevision(kubeconfig, configContext, revision string) (kube.CLIClient, error) {
    	rc, err := kube.DefaultRestConfig(kubeconfig, configContext, func(config *rest.Config) {
    		// We are running a one-off command locally, so we don't need to worry too much about rate limiting
    		// Bumping this up greatly decreases install time
    		config.QPS = 50
    		config.Burst = 100
    	})
    	if err != nil {
    		return nil, err
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 6.4K bytes
    - Viewed (0)
Back to top