Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 369 for opzione (0.3 sec)

  1. migrator/migrator.go

    //	// CREATE OR REPLACE VIEW `users_view` AS SELECT * FROM `users` WITH CHECK OPTION
    //	q := DB.Model(&User{})
    //	DB.Debug().Migrator().CreateView("user_view", gorm.ViewOption{Query: q, Replace: true, CheckOption: "WITH CHECK OPTION"})
    //
    // [subquery]: https://gorm.io/docs/advanced_query.html#SubQuery
    func (m Migrator) CreateView(name string, option gorm.ViewOption) error {
    	if option.Query == nil {
    		return gorm.ErrSubQueryRequired
    	}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Apr 26 07:15:49 GMT 2024
    - 29K bytes
    - Viewed (0)
  2. cmd/etcd.go

    	etcdLogIf(ctx, err)
    	return etcdErrToErr(err, client.Endpoints())
    }
    
    func saveKeyEtcd(ctx context.Context, client *etcd.Client, key string, data []byte, opts ...options) error {
    	timeoutCtx, cancel := context.WithTimeout(ctx, defaultContextTimeout)
    	defer cancel()
    	if len(opts) > 0 {
    		return saveKeyEtcdWithTTL(ctx, client, key, data, opts[0].ttl)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  3. cmd/warm-backend-minio.go

    	}
    
    	u, err := url.Parse(conf.Endpoint)
    	if err != nil {
    		return nil, err
    	}
    
    	creds := credentials.NewStaticV4(conf.AccessKey, conf.SecretKey, "")
    	opts := &minio.Options{
    		Creds:           creds,
    		Secure:          u.Scheme == "https",
    		Transport:       globalRemoteTargetTransport,
    		TrailingHeaders: true,
    	}
    	client, err := minio.New(u.Host, opts)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  4. internal/cachevalue/cache.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cachevalue
    
    import (
    	"sync"
    	"sync/atomic"
    	"time"
    )
    
    // Opts contains options for the cache.
    type Opts struct {
    	// When set to true, return the last cached value
    	// even if updating the value errors out.
    	// Returns the last good value AND the error.
    	ReturnLastGood bool
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 16:00:42 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  5. internal/http/listener.go

    	listeners := make([]net.Listener, 0, len(serverAddrs))
    	listenErrs = make([]error, len(serverAddrs))
    
    	// Unix listener with special TCP options.
    	listenCfg := net.ListenConfig{
    		Control: setTCPParametersFn(opts),
    	}
    
    	for i, serverAddr := range serverAddrs {
    		l, e := listenCfg.Listen(ctx, "tcp", serverAddr)
    		if e != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  6. cmd/iam-etcd-store.go

    	return ies.saveIAMConfig(ctx, mp, getMappedPolicyPath(name, userType, isGroup), opts...)
    }
    
    func (ies *IAMEtcdStore) saveUserIdentity(ctx context.Context, name string, userType IAMUserType, u UserIdentity, opts ...options) error {
    	return ies.saveIAMConfig(ctx, u, getUserIdentityPath(name, userType), opts...)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  7. cmd/batch-rotate.go

    // BatchJobKeyRotateEncryption defines key rotation encryption options passed
    type BatchJobKeyRotateEncryption struct {
    	Type       BatchKeyRotationType `yaml:"type" json:"type"`
    	Key        string               `yaml:"key" json:"key"`
    	Context    string               `yaml:"context" json:"context"`
    	kmsContext kms.Context          `msg:"-"`
    }
    
    // Validate validates input key rotation encryption options.
    func (e BatchJobKeyRotateEncryption) Validate() error {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  8. istioctl/pkg/multixds/gather.go

    			for _, pod := range list.Items {
    				touchedPods++
    				if options.XdsViaAgentsLimit != 0 && touchedPods > options.XdsViaAgentsLimit {
    					fmt.Fprintf(options.MessageWriter, "Some proxies may be missing from the list"+
    						" because the number of visited pod hits the limit %d,"+
    						" which can be set by `--xds-via-agents-limit` flag.\n", options.XdsViaAgentsLimit)
    					break GetProxyLoop
    				}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  9. cmd/sftp-server.go

    		server := sftp.NewRequestServer(channel, NewSFTPDriver(sconn.Permissions), sftp.WithRSAllocator())
    		defer server.Close()
    		server.Serve()
    	}
    
    	sftpServer, err := xsftp.NewServer(&xsftp.Options{
    		PublicIP: publicIP,
    		Port:     port,
    		// OpensSSH default handshake timeout is 2 minutes.
    		SSHHandshakeDeadline: 2 * time.Minute,
    		Logger:               new(sftpLogger),
    		SSHConfig:            sshConfig,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  10. cmd/api-router.go

    	},
    	{
    		api:     "analytics",
    		methods: []string{http.MethodDelete, http.MethodPut, http.MethodGet},
    		queries: []string{"analytics", ""},
    	},
    }
    
    // Set of s3 handler options as bit flags.
    type s3HFlag uint8
    
    const (
    	// when provided, disables Gzip compression.
    	noGZS3HFlag = 1 << iota
    
    	// when provided, enables only tracing of headers. Otherwise, both headers
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 22.8K bytes
    - Viewed (0)
Back to top