- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 1,124 for nil (0.06 sec)
-
istioctl/pkg/writer/envoy/configdump/cluster.go
return err } } _, _ = fmt.Fprintln(c.Stdout, string(out)) return nil } func (c *ConfigWriter) setupClusterConfigWriter() (*tabwriter.Writer, []*cluster.Cluster, error) { clusters, err := c.retrieveSortedClusterSlice() if err != nil { return nil, nil, err } w := new(tabwriter.Writer).Init(c.Stdout, 0, 8, 5, ' ', 0) return w, clusters, nil }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu May 11 05:38:17 UTC 2023 - 5.9K bytes - Viewed (0) -
tests/associations_belongs_to_test.go
if err := DB.Model(&users[0]).Association("Company").Append(&company); err != nil { t.Errorf("Error happened when append company to user, got %v", err) } if err := DB.Model(&users[1]).Association("Company").Append(&company); err != nil { t.Errorf("Error happened when append company to user, got %v", err) } if users[0].CompanyID == nil || users[1].CompanyID == nil || *users[0].CompanyID != *users[1].CompanyID {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Oct 30 09:15:49 UTC 2023 - 9.3K bytes - Viewed (0) -
cmd/sts-handlers_test.go
isDir: false, sys: nil, }) if zerr != nil { adminLogIf(ctx, zerr) return nil } header.Method = zip.Deflate zwriter, zerr := zipWriter.CreateHeader(header) if zerr != nil { adminLogIf(ctx, zerr) return nil } if _, err := io.Copy(zwriter, r); err != nil { adminLogIf(ctx, err) } return nil } for _, f := range iamExportFiles {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 10 23:40:37 UTC 2024 - 97.1K bytes - Viewed (0) -
internal/s3select/parquet/reader.go
fr, err := parquetgo.NewFileReader(rsc) if err != nil { return nil, errParquetParsingError(err) } return &Reader{Closer: rsc, r: fr}, nil } func (pr *Reader) Read(dst sql.Record) (rec sql.Record, rerr error) { nextRow, err := pr.r.NextRow() if err != nil { if err == io.EOF { return nil, err } return nil, errParquetParsingError(err) } kvs := jstream.KVS{}
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 4.5K bytes - Viewed (0) -
istioctl/pkg/util/configdump/listener.go
} // GetListenerConfigDump retrieves the listener config dump from the ConfigDump func (w *Wrapper) GetListenerConfigDump() (*admin.ListenersConfigDump, error) { listenerDumpAny, err := w.getSection(listeners) if err != nil { return nil, err } listenerDump := &admin.ListenersConfigDump{} err = listenerDumpAny.UnmarshalTo(listenerDump) if err != nil { return nil, err }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Nov 03 08:41:32 UTC 2022 - 2.5K bytes - Viewed (0) -
schema/field.go
field.ReflectValueOf(ctx, value).SetInt(int64(**data)) } case **int8: if data != nil && *data != nil { field.ReflectValueOf(ctx, value).SetInt(int64(**data)) } case **int16: if data != nil && *data != nil { field.ReflectValueOf(ctx, value).SetInt(int64(**data)) } case **int32: if data != nil && *data != nil {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Apr 15 03:20:20 UTC 2024 - 32K bytes - Viewed (0) -
internal/ioutil/ioutil_test.go
fi1, err := os.Stat(tmpFile) if err != nil { t.Fatalf("Error Stat(): %v", err) } fi2, err := os.Stat(tmpFile) if err != nil { t.Fatalf("Error Stat(): %v", err) } if !SameFile(fi1, fi2) { t.Fatal("Expected the files to be same") } if err = os.WriteFile(tmpFile, []byte("aaa"), 0o644); err != nil { t.Fatal(err) } fi2, err = os.Stat(tmpFile) if err != nil { t.Fatalf("Error Stat(): %v", err)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 22 23:07:14 UTC 2024 - 5.5K 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) -
internal/config/identity/openid/openid.go
if err != nil { return nil, err } present := false for _, cfg := range openIDConfigs { if cfg == cfgName { present = true break } } if !present { return nil, ErrProviderConfigNotFound } kvsrcs, err := s.GetResolvedConfigParams(config.IdentityOpenIDSubSys, cfgName, true) if err != nil { return nil, err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 10 20:16:44 UTC 2024 - 16.6K bytes - Viewed (0) -
istioctl/pkg/writer/pilot/status.go
clientConfig := xdsstatus.ClientConfig{} err := resource.UnmarshalTo(&clientConfig) if err != nil { return nil, nil, fmt.Errorf("could not unmarshal ClientConfig: %w", err) } meta, err := model.ParseMetadata(clientConfig.GetNode().GetMetadata()) if err != nil { return nil, nil, fmt.Errorf("could not parse node metadata: %w", err) } if s.Namespace != "" && meta.Namespace != s.Namespace {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jun 21 22:47:20 UTC 2024 - 6.5K bytes - Viewed (0)