- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 3,278 for save (0.02 sec)
-
internal/event/target/redis.go
return false, store.ErrNotConnected } return false, pingErr } return true, nil } // Save - saves the events to the store if questore is configured, which will be replayed when the redis connection is active. func (target *RedisTarget) Save(eventData event.Event) error { if target.store != nil { _, err := target.store.Put(eventData) return err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 9.1K bytes - Viewed (0) -
internal/logger/console.go
// and freely move in the screen. for _, line := range strings.Split(errMsg, "\n") { if len(line) == 0 { // No more text to print, just quit. break } for { // Save the attributes of the current cursor helps // us save the text color of the passed error message ansiSaveAttributes() // Print banner with or without the log tag if !tagPrinted { fmt.Fprint(Output, logBanner) tagPrinted = true
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 12 20:51:54 UTC 2024 - 7.5K bytes - Viewed (0) -
ci/official/containers/ml_build/setup.python.sh
/usr/bin/$VERSION get-pip.py /usr/bin/$VERSION -m pip install --no-cache-dir --upgrade pip /usr/bin/$VERSION -m pip install -U setuptools # Disable the cache dir to save image space, and install packages
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Oct 16 23:34:34 UTC 2024 - 2.2K bytes - Viewed (0) -
cni/pkg/plugin/testdata/custom-uid-tproxy.txt.golden
-A ISTIO_INBOUND -p tcp --dport 15090 -j RETURN -A ISTIO_INBOUND -p tcp -m conntrack --ctstate RELATED,ESTABLISHED -j ISTIO_DIVERT -A ISTIO_INBOUND -p tcp -j ISTIO_TPROXY -A PREROUTING -p tcp -m mark --mark 1337 -j CONNMARK --save-mark -A OUTPUT -p tcp -o lo -m mark --mark 1337 -j RETURN -A OUTPUT ! -d 127.0.0.1/32 -p tcp -o lo -m owner --uid-owner 1000670000 -j MARK --set-mark 1338
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Apr 26 16:39:28 UTC 2023 - 2K bytes - Viewed (0) -
cmd/batch-rotate.go
JobType: string(job.Type()), StartTime: job.Started, } if err := ri.loadOrInit(ctx, api, job); err != nil { return err } if ri.Complete { return nil } globalBatchJobsMetrics.save(job.ID, ri) lastObject := ri.Object retryAttempts := job.KeyRotate.Flags.Retry.Attempts if retryAttempts <= 0 { retryAttempts = batchKeyRotateJobDefaultRetries } delay := job.KeyRotate.Flags.Retry.Delay
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Sep 18 17:59:03 UTC 2024 - 14.7K bytes - Viewed (0) -
cni/pkg/iptables/iptables_e2e_test.go
// Put a new file we have permission to access over xtables.lock xtables := filepath.Join(t.TempDir(), "xtables.lock") _, err := os.Create(xtables) assert.NoError(t, err) _ = os.Mkdir("/run", 0o777) _ = mountns.BindMount(xtables, "/run/xtables.lock") }) } func iptablesSave(t *testing.T) string { res, err := exec.Command("iptables-save").CombinedOutput() assert.NoError(t, err)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Oct 15 15:39:28 UTC 2024 - 2.9K bytes - Viewed (0) -
cni/pkg/plugin/plugin_dryrun_test.go
// If table is not empty, get table name from the first line lines := strings.Split(strings.Trim(table, "\n"), "\n") lines = slices.Filter(lines, func(line string) bool { return line != "iptables-save" && line != "ip6tables-save" }) if len(lines) >= 1 && strings.HasPrefix(lines[0], "* ") { tableName := lines[0][2:] lines = append(lines, "COMMIT") tables[tableName] = strings.Join(lines, "\n") } }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Aug 27 16:44:45 UTC 2024 - 8.5K bytes - Viewed (0) -
tests/multi_primary_keys_test.go
} blog := Blog{ Locale: "ZH", Subject: "subject", Body: "body", Tags: []Tag{ {Locale: "ZH", Value: "tag1"}, {Locale: "ZH", Value: "tag2"}, }, } DB.Save(&blog) if !compareTags(blog.Tags, []string{"tag1", "tag2"}) { t.Fatalf("Blog should has two tags") } // Append tag3 := &Tag{Locale: "ZH", Value: "tag3"} DB.Model(&blog).Association("Tags").Append([]*Tag{tag3})
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Jan 06 07:02:53 UTC 2022 - 12.8K bytes - Viewed (0) -
cni/pkg/plugin/testdata/tproxy.txt.golden
-A ISTIO_INBOUND -p tcp --dport 15090 -j RETURN -A ISTIO_INBOUND -p tcp -m conntrack --ctstate RELATED,ESTABLISHED -j ISTIO_DIVERT -A ISTIO_INBOUND -p tcp -j ISTIO_TPROXY -A PREROUTING -p tcp -m mark --mark 1337 -j CONNMARK --save-mark -A OUTPUT -p tcp -o lo -m mark --mark 1337 -j RETURN -A OUTPUT ! -d 127.0.0.1/32 -p tcp -o lo -m owner --uid-owner 1337 -j MARK --set-mark 1338
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Feb 16 22:54:20 UTC 2023 - 1.9K bytes - Viewed (0) -
internal/event/target/amqp.go
if !confirmed.Ack { return fmt.Errorf("failed delivery of delivery tag: %d", confirmed.DeliveryTag) } } return nil } // Save - saves the events to the store which will be replayed when the amqp connection is active. func (target *AMQPTarget) Save(eventData event.Event) error { if target.store != nil { _, err := target.store.Put(eventData) return err } if err := target.init(); err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 10K bytes - Viewed (0)