Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 144 for Changes (0.19 sec)

  1. cmd/format-meta.go

    // formatMetaV1 should be inherited by backend format structs. Please look at format-fs.go
    // and format-xl.go for details.
    
    // Ideally we will never have a situation where we will have to change the
    // fields of this struct and deal with related migration.
    type formatMetaV1 struct {
    	// Version of the format config.
    	Version string `json:"version"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 1.7K bytes
    - Viewed (0)
  2. cmd/warm-backend.go

    package cmd
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"io"
    	"strings"
    
    	"github.com/minio/madmin-go/v3"
    	xhttp "github.com/minio/minio/internal/http"
    )
    
    // WarmBackendGetOpts is used to express byte ranges within an object. The zero
    // value represents the entire byte range of an object.
    type WarmBackendGetOpts struct {
    	startOffset int64
    	length      int64
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  3. operator/cmd/mesh/operator-init.go

    		Args:  cobra.ExactArgs(0),
    		PreRunE: func(cmd *cobra.Command, args []string) error {
    			if !labels.IsDNS1123Label(oiArgs.common.revision) && cmd.PersistentFlags().Changed("revision") {
    				return fmt.Errorf("invalid revision specified: %v", oiArgs.common.revision)
    			}
    			return nil
    		},
    		RunE: func(cmd *cobra.Command, args []string) error {
    			client, err := ctx.CLIClient()
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  4. internal/kms/kes.go

    	if len(config.Endpoints) == 0 {
    		return nil, errors.New("kms: no server endpoints")
    	}
    	endpoints := make([]string, len(config.Endpoints)) // Copy => avoid being affect by any changes to the original slice
    	copy(endpoints, config.Endpoints)
    
    	var client *kes.Client
    	if config.APIKey != nil {
    		cert, err := kes.GenerateCertificate(config.APIKey)
    		if err != nil {
    			return nil, err
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 16 15:43:39 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  5. cni/pkg/install/cniconfig.go

    		return cniConfigFilepath, err
    	}
    
    	if cfg.chainedCNIPlugin && strings.HasSuffix(cniConfigFilepath, ".conf") {
    		// If the old CNI config filename ends with .conf, rename it to .conflist, because it has to be changed to a list
    		installLog.Infof("Renaming %s extension to .conflist", cniConfigFilepath)
    		err = os.Rename(cniConfigFilepath, cniConfigFilepath+"list")
    		if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  6. cmd/storage-rest-client.go

    		// make sure to check if the disk is offline, since the underlying
    		// value is cached we should attempt to invalidate it if such calls
    		// were attempted. This can lead to false success under certain conditions
    		// - this change attempts to avoid stale information if the underlying
    		// transport is already down.
    		return "", errDiskNotFound
    	}
    
    	// This call should never be over the network, this is always
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  7. internal/event/target/amqp.go

    	PublisherConfirms bool     `json:"publisherConfirms"`
    	QueueDir          string   `json:"queueDir"`
    	QueueLimit        uint64   `json:"queueLimit"`
    }
    
    //lint:file-ignore ST1003 We cannot change these exported names.
    
    // AMQP input constants.
    const (
    	AmqpQueueDir   = "queue_dir"
    	AmqpQueueLimit = "queue_limit"
    
    	AmqpURL               = "url"
    	AmqpExchange          = "exchange"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 10K bytes
    - Viewed (0)
  8. internal/rest/client.go

    		}()
    		return true
    	}
    	return false
    }
    
    // MarkOffline - will mark a client as being offline and spawns
    // a goroutine that will attempt to reconnect if HealthCheckFn is set.
    // returns true if the node changed state from online to offline
    func (c *Client) MarkOffline(err error) bool {
    	c.Lock()
    	c.lastErr = err
    	c.lastErrTime = time.Now()
    	atomic.StoreInt64(&c.lastConn, time.Now().UnixNano())
    	c.Unlock()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  9. cmd/format-erasure.go

    		}
    		if len(formatErasure.Erasure.Sets[0]) != setDriveCount {
    			return fmt.Errorf("%s drive is already formatted with %d drives per erasure set. This cannot be changed to %d", disks[i], len(formatErasure.Erasure.Sets[0]), setDriveCount)
    		}
    	}
    	return nil
    }
    
    // Get backend Erasure format in quorum `format.json`.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  10. cmd/config-current.go

    			return
    		}
    
    		aKey, err := manager.HMAC(GlobalContext, stat.DefaultKey, []byte("root access key"))
    		if errors.Is(err, kes.ErrNotAllowed) {
    			return // If we don't have permission to compute the HMAC, don't change the cred.
    		}
    		if err != nil {
    			logger.Fatal(err, "Unable to generate root access key using KMS")
    		}
    
    		sKey, err := manager.HMAC(GlobalContext, stat.DefaultKey, []byte("root secret key"))
    		if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 30.8K bytes
    - Viewed (0)
Back to top