- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 87 for albers (0.17 sec)
-
istioctl/pkg/util/ambient/util.go
if client == nil { return isZtunnel } pod, err := client.Kube().CoreV1().Pods(podNamespace).Get(context.Background(), podName, metav1.GetOptions{}) if err != nil { return isZtunnel } if v, ok := pod.Labels["app"]; ok { return v == "ztunnel" } return isZtunnel } // InAmbient returns true if a resource is in ambient data plane mode. func InAmbient(obj metav1.Object) bool { if obj == nil { return false
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu May 02 21:29:40 GMT 2024 - 1.7K bytes - Viewed (0) -
internal/kms/kms.go
// not exist. // // The context is associated and tied to the generated DEK. // The same context must be provided when the generated key // should be decrypted. Therefore, it is the callers // responsibility to remember the corresponding context for // a particular DEK. The context may be nil. GenerateKey(ctx context.Context, keyID string, context Context) (DEK, error)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Mar 01 21:09:42 GMT 2024 - 4.6K bytes - Viewed (0) -
cmd/bucket-object-lock.go
case objectlock.RetGovernance: // In governance mode, users can't overwrite or delete an object // version or alter its lock settings unless they have special // permissions. With governance mode, you protect objects against // being deleted by most users, but you can still grant some users // permission to alter the retention settings or delete the object // if necessary. You can also use governance mode to test retention-period
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Apr 22 17:49:30 GMT 2024 - 13.2K bytes - Viewed (0) -
cmd/tier.go
Buckets: []float64{0.01, 0.1, 1, 2, 5, 10, 60, 5 * 60, 15 * 60, 30 * 60}, }, []string{"tier"}), } func (t *tierMetrics) Observe(tier string, dur time.Duration) { t.histogram.With(prometheus.Labels{"tier": tier}).Observe(dur.Seconds()) } func (t *tierMetrics) logSuccess(tier string) { t.Lock() defer t.Unlock() stat := t.requestsCount[tier] stat.success++ t.requestsCount[tier] = stat
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Apr 17 05:09:58 GMT 2024 - 15.5K bytes - Viewed (0) -
cmd/common-main.go
os.Setenv("CONSOLE_PROMETHEUS_JOB_ID", value) // Support additional labels for more granular filtering. if value := env.Get(config.EnvMinIOPrometheusExtraLabels, ""); value != "" { os.Setenv("CONSOLE_PROMETHEUS_EXTRA_LABELS", value) } } // Support Prometheus Auth Token if value := env.Get(config.EnvMinIOPrometheusAuthToken, ""); value != "" {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sat May 04 00:17:57 GMT 2024 - 35.8K bytes - Viewed (2) -
cmd/xl-storage.go
res["repl-pending-"+tgt] = fmt.Sprintf("%d versions, %d bytes", st.pendingCount, st.pendingSize) } } } if objDeleted { // we return errIgnoreFileContrib to signal this function's // callers to skip this object's contribution towards // usage. return sizeSummary{}, errIgnoreFileContrib } return sizeS, nil }, scanMode, weSleep) if err != nil { return dataUsageInfo, err }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Apr 28 17:53:50 GMT 2024 - 84.7K bytes - Viewed (0) -
istioctl/pkg/metrics/metrics_test.go
` if output != expectedOutput { t.Fatalf("Unexpected output; got:\n %q\nwant:\n %q", output, expectedOutput) } } func (client mockPromAPI) Alerts(ctx context.Context) (promv1.AlertsResult, error) { return promv1.AlertsResult{}, fmt.Errorf("TODO mockPromAPI doesn't mock Alerts") } func (client mockPromAPI) AlertManagers(ctx context.Context) (promv1.AlertManagersResult, error) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Oct 25 02:07:44 GMT 2023 - 7.9K bytes - Viewed (0) -
istioctl/pkg/checkinject/checkinject_test.go
checkResults := analyzeRunningWebhooks(whs, c.pod.Labels, c.ns.Labels) assert.Equal(t, c.expectedMessages, checkResults) }) } } var nsTestObject = func(namespace, injLabelValue, revLabelValue string) *corev1.Namespace { labels := map[string]string{} if injLabelValue != "" { labels["istio-injection"] = injLabelValue } if revLabelValue != "" { labels[label.IoIstioRev.Name] = revLabelValue }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 10.6K bytes - Viewed (0) -
operator/cmd/mesh/test-util_test.go
if objKind == kind { ret.append(v) } } return ret } // labels returns a subset of o where the object's labels match all the given labels. func (o *ObjectSet) labels(labels ...string) *ObjectSet { ret := &ObjectSet{} for _, obj := range o.objMap { hasAll := true for _, l := range labels { lkv := strings.Split(l, "=") if len(lkv) != 2 { panic("label must have format key=value")
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Oct 31 14:48:28 GMT 2023 - 15.3K bytes - Viewed (0) -
istioctl/pkg/tag/generate.go
} decodedWh := whObject.(*admitv1.ValidatingWebhookConfiguration) for i := range decodedWh.Webhooks { decodedWh.Webhooks[i].ClientConfig.CABundle = []byte(config.CABundle) } decodedWh.Labels = generateLabels(decodedWh.Labels, config.Labels, opts.CustomLabels, opts.UserManaged) decodedWh.Annotations = maps.MergeCopy(decodedWh.Annotations, config.Annotations) for i := range decodedWh.Webhooks {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Jan 16 17:43:49 GMT 2024 - 13.2K bytes - Viewed (0)