- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 31 for nil (0.01 sec)
-
src/bufio/bufio_test.go
{[]byte("012345678901234"), true, nil}, {nil, false, nil}, {[]byte("012345678901234"), true, nil}, {nil, false, nil}, {nil, false, io.EOF}, }}, {"0123456789012345\r012345678901234\r", []readLineResult{ {[]byte("0123456789012345"), true, nil}, {[]byte("\r012345678901234"), true, nil}, {[]byte("\r"), false, nil}, {nil, false, io.EOF}, }}, }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Nov 01 21:52:12 UTC 2024 - 51.6K bytes - Viewed (0) -
istioctl/pkg/describe/describe.go
if err != nil { return nil, err } for _, l := range listeners.DynamicListeners { if l.ActiveState == nil { continue } // Support v2 or v3 in config dump. See ads.go:RequestedTypes for more info. l.ActiveState.Listener.TypeUrl = v3.ListenerType listenerTyped := &listener.Listener{} err = l.ActiveState.Listener.UnmarshalTo(listenerTyped) if err != nil { return nil, err }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 17:36:49 UTC 2024 - 50.6K bytes - Viewed (0) -
istioctl/pkg/proxyconfig/proxyconfig.go
if err != nil { return nil, err } return setupConfigdumpEnvoyConfigWriter(debug, out) } func readFile(filename string) ([]byte, error) { file := os.Stdin if filename != "-" { var err error file, err = os.Open(filename) if err != nil { return nil, err } } defer func() { if err := file.Close(); err != nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 15:53:49 UTC 2024 - 50.6K bytes - Viewed (0) -
istioctl/pkg/writer/compare/sds/util.go
if err != nil { log.Debugf("failed to parse secret resource %s from source %s: %v", s.name, s.source, err) result.Valid = false return result, nil } result.SecretMeta = meta result.Valid = meta.Valid return result, nil } result.Valid = false return result, nil }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Oct 28 19:52:53 UTC 2024 - 8.5K bytes - Viewed (0) -
cmd/warm-backend-gcs.go
return nil, errors.New("no bucket name was provided") } credsJSON, err := conf.GetCredentialJSON() if err != nil { return nil, err } client, err := storage.NewClient(context.Background(), option.WithCredentialsJSON(credsJSON), option.WithScopes(storage.ScopeReadWrite), option.WithUserAgent(fmt.Sprintf("gcs-tier-%s", tier)+SlashSeparator+ReleaseTag), ) if err != nil { return nil, err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 31 22:10:24 UTC 2024 - 6.1K bytes - Viewed (0) -
cmd/warm-backend-minio.go
// Validation of credentials if conf.AccessKey == "" || conf.SecretKey == "" { return nil, errors.New("both access and secret keys are required") } if conf.Bucket == "" { return nil, errors.New("no bucket name was provided") } u, err := url.Parse(conf.Endpoint) if err != nil { return nil, err } creds := credentials.NewStaticV4(conf.AccessKey, conf.SecretKey, "")
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 31 22:10:24 UTC 2024 - 4K bytes - Viewed (0) -
cmd/global-heal.go
}() for _, bucket := range healBuckets { if err := bgSeq.healBucket(objAPI, bucket, true); err != nil { // Log bucket healing error if any, we shall retry again. healingLogIf(ctx, err) } } info, err := tracker.disk.DiskInfo(ctx, DiskInfoOptions{}) if err != nil { return fmt.Errorf("unable to get disk information before healing it: %w", err) } var numHealers uint64
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Oct 26 09:58:27 UTC 2024 - 16.3K bytes - Viewed (0) -
istioctl/pkg/install/k8sversion/version_test.go
version: version1_17, expected: 17, errMsg: nil, isValid: true, }, { version: version1_8, expected: 8, errMsg: nil, isValid: true, }, { version: version1_18, expected: 18, errMsg: nil, isValid: true, }, { version: version1_19, expected: 19, errMsg: nil, isValid: true, }, {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 30 21:50:50 UTC 2024 - 6.5K bytes - Viewed (0) -
cmd/xl-storage.go
if contextCanceled(ctx) { return nil, time.Time{}, ctx.Err() } if err := checkPathLength(itemPath); err != nil { return nil, time.Time{}, err } f, err := OpenFile(itemPath, readMode, 0o666) if err != nil { return nil, time.Time{}, err } defer f.Close() stat, err := f.Stat() if err != nil { return nil, time.Time{}, err } if stat.IsDir() {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Oct 26 09:58:27 UTC 2024 - 91.3K bytes - Viewed (0) -
cmd/warm-backend-azure.go
if opts.startOffset < 0 { return nil, InvalidRange{} } resp, err := az.clnt.DownloadStream(ctx, az.Bucket, az.getDest(object), &azblob.DownloadStreamOptions{ Range: blob.HTTPRange{Offset: opts.startOffset, Count: opts.length}, }) if err != nil { return nil, azureToObjectError(err, az.Bucket, az.getDest(object)) } return resp.Body, nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 31 22:10:24 UTC 2024 - 7K bytes - Viewed (0)