- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 77 for item (0.2 sec)
-
buildscripts/heal-manual.go
fmt.Println("Healstatus on items ===") for _, item := range status.Items { if err = enc.Encode(&item); err != nil { log.Fatalln(err) } } break } if status.Summary == "stopped" { fmt.Println("Healstatus on items ===") fmt.Println("Heal failed with", status.FailureDetail) break } for _, item := range status.Items { if err = enc.Encode(&item); err != nil {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Feb 27 09:47:58 GMT 2024 - 2.3K bytes - Viewed (0) -
internal/s3select/simdj/reader_amd64_test.go
if err != nil { t.Fatal(err) } i := pj.Iter() cpy := i b, err := cpy.MarshalJSON() if err != nil { t.Fatal(err) } if false { t.Log(string(b)) } // _ = os.WriteFile(filepath.Join("testdata", tt.name+".json"), b, os.ModePerm) parser: for { var next simdjson.Iter typ, err := i.AdvanceIter(&next) if err != nil { t.Fatal(err)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Sep 19 18:05:16 GMT 2022 - 3.9K bytes - Viewed (0) -
istioctl/pkg/util/handlers/handlers.go
podList, err := client.Pods(namespace).List(context.TODO(), options) if err != nil { return []string{}, "", err } pods := []string{} for i := range podList.Items { pods = append(pods, podList.Items[i].Name) } return pods, namespace, nil } func getClientForResource(resname, ns string, factory cmdutil.Factory) (*corev1client.CoreV1Client, string, string, string, error) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Feb 06 15:01:41 GMT 2024 - 6.2K bytes - Viewed (0) -
istioctl/pkg/multixds/gather.go
for { list, err := kubeClient.GetProxyPods(context.TODO(), int64(kubeClientGetPodLimit), token) if err != nil { return nil, err } // Iterate all the pod. for _, pod := range list.Items { touchedPods++ if options.XdsViaAgentsLimit != 0 && touchedPods > options.XdsViaAgentsLimit { fmt.Fprintf(options.MessageWriter, "Some proxies may be missing from the list"+
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 08 08:38:19 GMT 2024 - 13.6K bytes - Viewed (0) -
istioctl/pkg/writer/compare/sds/writer.go
) // printSecretItemsTabular prints the secret in table format func (w *sdsWriter) printSecretItemsTabular(secrets []SecretItem) error { if len(secrets) == 0 { fmt.Fprintln(w.w, "No secret items to show.") return nil } tw := new(tabwriter.Writer).Init(w.w, 0, 5, 5, ' ', 0) fmt.Fprintln(tw, strings.Join(secretItemColumns, "\t")) for _, s := range secrets { if includeConfigType {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 21 14:17:23 GMT 2023 - 4.1K bytes - Viewed (0) -
tests/associations_belongs_to_test.go
tx.AutoMigrate(&ItemParent{}, &ItemChild{}) item := ItemChild{ Name: "name", ItemParent: ItemParent{ Logo: "logo", }, } if err := tx.Create(&item).Error; err != nil { t.Fatalf("failed to create items, got error: %v", err) } // test replace if err := tx.Model(&item).Association("ItemParent").Unscoped().Replace(&ItemParent{ Logo: "updated logo",
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Mon Oct 30 09:15:49 GMT 2023 - 9.3K bytes - Viewed (0) -
istioctl/pkg/checkinject/checkinject.go
whs, err := kubeClient.Kube().AdmissionregistrationV1().MutatingWebhookConfigurations().List(context.TODO(), metav1.ListOptions{}) if err != nil { return err } checkResults := analyzeRunningWebhooks(whs.Items, podLabels, nsLabels) return printCheckInjectorResults(cmd.OutOrStdout(), checkResults) }, ValidArgsFunction: completion.ValidPodsNameArgs(ctx), } cmd.PersistentFlags().StringVarP(&labelPairs, "labels", "l", "",
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 9.3K bytes - Viewed (0) -
callbacks/associations.go
} return db.AddError(tx.Create(values).Error) } // check association values has been saved // if values kind is Struct, check it has been saved // if values kind is Slice/Array, check all items have been saved var visitMapStoreKey = "gorm:saved_association_map" func checkAssociationsSaved(db *gorm.DB, values reflect.Value) bool { if visit, ok := db.Get(visitMapStoreKey); ok {
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Tue Apr 11 03:06:13 GMT 2023 - 14.3K bytes - Viewed (0) -
operator/cmd/mesh/manifest_shared_test.go
objects.SetGroupVersionKind(gvk) if err := testClient.List(context.TODO(), objects); err != nil { log.Error(err.Error()) continue } for _, o := range objects.Items { no := o.DeepCopy() out = append(out, object.NewK8sObject(no, nil, nil)) } } return out } // readFile reads a file and returns the contents. func readFile(path string) (string, error) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Feb 20 22:39:28 GMT 2024 - 11.7K bytes - Viewed (1) -
cmd/api-errors.go
HTTPStatusCode: http.StatusServiceUnavailable, }, ErrSiteReplicationIAMError: { Code: "XMinioSiteReplicationIAMError", Description: "Error while replicating an IAM item", HTTPStatusCode: http.StatusServiceUnavailable, }, ErrSiteReplicationConfigMissing: { Code: "XMinioSiteReplicationConfigMissingError",
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)