Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 30 for Jade (0.21 sec)

  1. internal/rest/client.go

    	// HealthCheckTimeout determines timeout for each call.
    	HealthCheckTimeout time.Duration
    
    	// MaxErrResponseSize is the maximum expected response size.
    	// Should only be modified before any calls are made.
    	MaxErrResponseSize int64
    
    	// Avoid metrics update if set to true
    	NoMetrics bool
    
    	// TraceOutput will print debug information on non-200 calls if set.
    	TraceOutput io.Writer // Debug trace output
    
    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)
  2. cni/pkg/nodeagent/cni-watcher_test.go

    	assert.Equal(t, err, nil)
    
    	// Push it thru the handler
    	pluginServer.ReconcileCNIAddEvent(ctx, addEvent)
    
    	waitForMockCalls()
    
    	assertPodAnnotated(t, client, pod)
    	// Assert expected calls actually made
    	fs.AssertExpectations(t)
    }
    
    func TestCNIPluginServerPrefersCNIProvidedPodIP(t *testing.T) {
    	fakePodIP := "11.1.1.12"
    	_, addr, _ := net.ParseCIDR(fakePodIP + "/32")
    	valid := CNIPluginAddEvent{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 21:29:40 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  3. cmd/tier-journal.go

    	}
    	return j
    }
    
    // Init initializes an in-memory journal built using a
    // buffered channel for new journal entries. It also initializes the on-disk
    // journal only to process existing journal entries made from previous versions.
    func (t *TierJournal) Init(ctx context.Context) error {
    	for _, diskPath := range globalEndpoints.LocalDisksPaths() {
    		t.diskPath = diskPath
    
    Go
    - Registered: Sun Feb 25 19:28:16 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  4. internal/s3select/message.go

    	"strconv"
    	"sync/atomic"
    	"time"
    )
    
    // A message is in the format specified in
    // https://docs.aws.amazon.com/AmazonS3/latest/API/images/s3select-frame-diagram-frame-overview.png
    // hence the calculation is made accordingly.
    func totalByteLength(headerLength, payloadLength int) int {
    	return 4 + 4 + 4 + headerLength + payloadLength + 4
    }
    
    func genMessage(header, payload []byte) []byte {
    	headerLength := len(header)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 30 15:26:43 GMT 2022
    - 15.2K bytes
    - Viewed (0)
  5. docs/debugging/xl-meta/main.go

    	// This will prevent downgrades to incompatible versions.
    	xlVersionMajor = 1
    
    	// Non breaking changes.
    	// Bumping this is informational, but should be done
    	// if any change is made to the data stored, bumping this
    	// will allow to detect the exact version later.
    	xlVersionMinor = 1
    )
    
    func init() {
    	binary.LittleEndian.PutUint16(xlVersionCurrent[0:2], xlVersionMajor)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:56:22 GMT 2024
    - 20.2K bytes
    - Viewed (1)
  6. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInsecureSSECustomerRequest: {
    		Code:           "InvalidRequest",
    		Description:    "Requests specifying Server Side Encryption with Customer provided keys must be made over a secure connection.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrSSEMultipartEncrypted: {
    		Code:           "InvalidRequest",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  7. cmd/iam.go

    // elsewhere), the AssumeRole case (because the parent user is real and their
    // policy is associated via policy-set API) and the AssumeRoleWithLDAP case
    // (because the policy association is made via policy-set API).
    func (sys *IAMSys) SetTempUser(ctx context.Context, accessKey string, cred auth.Credentials, policyName string) (time.Time, error) {
    	if !sys.Initialized() {
    		return time.Time{}, errServerNotInitialized
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  8. src/cmd/asm/internal/lex/tokenizer.go

    	"strings"
    	"text/scanner"
    	"unicode"
    
    	"cmd/asm/internal/flags"
    	"cmd/internal/objabi"
    	"cmd/internal/src"
    )
    
    // A Tokenizer is a simple wrapping of text/scanner.Scanner, configured
    // for our purposes and made a TokenReader. It forms the lowest level,
    // turning text from readers into tokens.
    type Tokenizer struct {
    	tok  ScanToken
    	s    *scanner.Scanner
    	base *src.PosBase
    	line int
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Aug 04 20:35:21 GMT 2022
    - 3K bytes
    - Viewed (0)
  9. cmd/metrics-v3.go

    	}
    
    	// Bucket metrics are special, they always include the bucket label. These
    	// metrics required a list of buckets to be passed to the loader, and the list
    	// of buckets is not known until the request is made. So we keep a separate
    	// map for bucket metrics and handle them specially.
    
    	// Add the serverName and poolIndex labels to all non-cluster metrics.
    	//
    	// Also create metric group maps and set the cache.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 17:37:57 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  10. cmd/http-stats.go

    	for k, v := range stats.apiStats {
    		if toLower {
    			k = strings.ToLower(k)
    		}
    		apiStats[k] = v
    	}
    	return apiStats
    }
    
    // HTTPStats holds statistics information about
    // HTTP requests made by all clients
    type HTTPStats struct {
    	s3RequestsInQueue       int32 // ref: https://golang.org/pkg/sync/atomic/#pkg-note-BUG
    	_                       int32 // For 64 bits alignment
    	s3RequestsIncoming      uint64
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 11.4K bytes
    - Viewed (0)
Back to top