- Sort Score
- Result 10 results
- Languages All
Results 781 - 790 of 994 for Structs (0.1 sec)
-
cmd/common-main.go
// This can be used for goroutines that live beyond the parent context. func bgContext(parent context.Context) context.Context { return bgCtx{parent: parent} } type bgCtx struct { parent context.Context } func (a bgCtx) Done() <-chan struct{} { return nil } func (a bgCtx) Err() error { return nil } func (a bgCtx) Deadline() (deadline time.Time, ok bool) { return time.Time{}, false
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 24 21:50:11 UTC 2024 - 31.7K bytes - Viewed (0) -
cmd/object-api-listobjects_test.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 01 11:07:40 UTC 2024 - 73.1K bytes - Viewed (0) -
cmd/signature-v4_test.go
if err != nil { t.Fatal(err) } defer removeRoots([]string{fsDir}) credentialTemplate := "%s/%s/%s/s3/aws4_request" now := UTCNow() accessKey := globalActiveCred.AccessKey testCases := []struct { form http.Header expected APIErrorCode }{ // (0) It should fail if 'X-Amz-Credential' is missing. { form: http.Header{}, expected: ErrCredMalformed, },
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jun 13 22:26:38 UTC 2024 - 10.5K bytes - Viewed (0) -
istioctl/pkg/tag/generate_test.go
CABundle: []byte("ca"), }, }, }, } remoteValidationURL = "https://random.host.com/validate" ) func TestGenerateValidatingWebhook(t *testing.T) { tcs := []struct { name string istioNamespace string webhook admitv1.MutatingWebhookConfiguration whURL string whSVC string whCA string userManaged bool }{
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 12.1K bytes - Viewed (0) -
cmd/iam-store.go
return nil } *d = doc return nil } // key options type options struct { ttl int64 // expiry in seconds } type iamWatchEvent struct { isCreated bool // !isCreated implies a delete event. keyPath string } // iamCache contains in-memory cache of IAM data. type iamCache struct { updatedAt time.Time // map of policy names to policy definitions
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Oct 14 16:35:37 UTC 2024 - 83.2K bytes - Viewed (0) -
cmd/admin-handler-utils.go
return nil, cred } } writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAccessDenied), r.URL) return nil, auth.Credentials{} } // AdminError - is a generic error for all admin APIs. type AdminError struct { Code string Message string StatusCode int } func (ae AdminError) Error() string { return ae.Message } func toAdminAPIErr(ctx context.Context, err error) APIError { if err == nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 03 07:17:20 UTC 2024 - 8.4K bytes - Viewed (0) -
cmd/metacache_test.go
lastHandout: metaCacheTestsetTimestamp.Add(-7 * 24 * time.Hour), dataVersion: metacacheStreamVersion, }, } func Test_baseDirFromPrefix(t *testing.T) { tests := []struct { name string prefix string want string }{ { name: "root", prefix: "object.ext", want: "", }, { name: "rootdotslash", prefix: "./object.ext",
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Sep 08 18:06:45 UTC 2021 - 6.8K bytes - Viewed (0) -
internal/config/scanner/scanner.go
EnvDelayLegacy = "MINIO_CRAWLER_DELAY" EnvMaxWait = "MINIO_SCANNER_MAX_WAIT" EnvMaxWaitLegacy = "MINIO_CRAWLER_MAX_WAIT" ) // Config represents the heal settings. type Config struct { // Delay is the sleep multiplier. Delay float64 `json:"delay"` // Sleep always or based on incoming S3 requests. IdleMode int32 // 0 => on, 1 => off // Alert upon this many excess object versions
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 5.5K bytes - Viewed (0) -
internal/config/crypto.go
return nil, err } if stream.NonceSize() != len(metadata.Nonce) { return nil, sio.NotAuthentic } return stream.DecryptReader(ciphertext, metadata.Nonce, nil), nil } type encryptedObject struct { KeyID string `json:"keyid"` KMSKey []byte `json:"kmskey"` Algorithm sio.Algorithm `json:"algorithm"` Nonce []byte `json:"nonce"`
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue May 07 23:55:37 UTC 2024 - 5K bytes - Viewed (0) -
internal/event/target/kafka_scram_client_contrib.go
// XDGSCRAMClient implements the client-side of an authentication // conversation with a server. A new conversation must be created for // each authentication attempt. type XDGSCRAMClient struct { *scram.Client *scram.ClientConversation scram.HashGeneratorFcn } // Begin constructs a SCRAM client component based on a given hash.Hash
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Nov 09 04:04:01 UTC 2023 - 3.2K bytes - Viewed (0)