- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 28 for spec (0.14 sec)
-
operator/cmd/mesh/profile-dump.go
} if err := json.Unmarshal(uglyJSON, &decoded); err != nil { return []string{}, err } if d, ok := decoded.(map[string]any); ok { if v, ok := d["spec"]; ok { // Fall back to showing the entire spec. // (When --config-path is used there will be no spec to remove) decoded = v } } setflags, err := walk("", "", decoded) if err != nil { return []string{}, err } sort.Strings(setflags)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 7.1K bytes - Viewed (0) -
cmd/httprange_test.go
rs, err := parseRequestRangeSpec(testCase.spec) if err != nil { if !testCase.errExpected || err == nil && testCase.errExpected { t.Errorf("unexpected err: %v", err) } continue } h, err := rs.ToHeader() if err != nil && !testCase.errExpected || err == nil && testCase.errExpected { t.Errorf("expected error with invalid range: %v", err) } if h != testCase.spec {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun May 05 16:56:21 GMT 2024 - 3.7K bytes - Viewed (0) -
istioctl/pkg/util/handlers/handlers.go
switch t := object.(type) { case *gatewayapi.Gateway: if !gateway.IsManaged(&t.Spec) { return "", nil, fmt.Errorf("gateway is not a managed gateway") } namespace = t.Namespace selector, err = labels.Parse(constants.GatewayNameLabel + "=" + t.Name) case *gatewayapibeta.Gateway: if !gateway.IsManaged(&t.Spec) { return "", nil, fmt.Errorf("gateway is not a managed gateway") } namespace = t.Namespace
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/util/handlers/handlers_test.go
} }) } } func attachPod(ns string) *corev1.Pod { return &corev1.Pod{ ObjectMeta: metav1.ObjectMeta{Name: "foo-abc", Namespace: ns, ResourceVersion: "10"}, Spec: corev1.PodSpec{ RestartPolicy: corev1.RestartPolicyAlways, DNSPolicy: corev1.DNSClusterFirst, Containers: []corev1.Container{ { Name: "bar", }, },
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jun 09 18:17:49 GMT 2023 - 6.6K bytes - Viewed (0) -
internal/amztime/iso8601_time.go
iso8601TimeFormatLong = "2006-01-02T15:04:05.000000Z" // Reply date format with nanosecond precision. ) // ISO8601Format converts time 't' into ISO8601 time format expected in AWS S3 spec. // // This function is needed to avoid a Go's float64 precision bug, where Go avoids // padding the extra '0' before the timezone. func ISO8601Format(t time.Time) string { value := t.Format(iso8601TimeFormat)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Jan 16 23:38:33 GMT 2023 - 1.9K bytes - Viewed (0) -
istioctl/pkg/waypoint/waypoint_test.go
className := "other" if isWaypoint { className = constants.WaypointGatewayClassName } return &gateway.Gateway{ ObjectMeta: metav1.ObjectMeta{ Name: name, Namespace: namespace, }, Spec: gateway.GatewaySpec{ GatewayClassName: gateway.ObjectName(className), }, Status: gateway.GatewayStatus{ Conditions: conditions, }, } }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Apr 04 15:53:09 GMT 2024 - 4.4K bytes - Viewed (0) -
src/cmd/cgo/godefs.go
// (due to the printer possibly inserting newlines because of position // information) operators. var gofmtLineReplacer = strings.NewReplacer( // Want to replace \n without ; after everything from // https://golang.org/ref/spec#Operators_and_punctuation // EXCEPT ++ -- ) ] } "++\n", "++;", "--\n", "--;", "+\n", "+ ", "-\n", "- ", "*\n", "* ", "/\n", "/ ", "%\n", "% ", "&\n", "& ", "|\n", "| ",
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Sep 08 14:33:35 GMT 2022 - 4.5K bytes - Viewed (0) -
cni/pkg/nodeagent/cni-watcher_test.go
NodeName = "testnode" ctx, cancel := context.WithCancel(context.Background()) defer cancel() pod := &corev1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "pod-bingo", Namespace: "funkyns", }, Spec: corev1.PodSpec{ NodeName: NodeName, }, Status: corev1.PodStatus{ PodIP: fakePodIP, }, } ns := &corev1.Namespace{ObjectMeta: metav1.ObjectMeta{Name: "funkyns"}}
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu May 02 21:29:40 GMT 2024 - 5.4K bytes - Viewed (0) -
internal/event/target/mqtt.go
} func (target *MQTTTarget) initMQTT() error { args := target.args // Using hex here, to make sure we avoid 23 // character limit on client_id according to // MQTT spec. clientID := fmt.Sprintf("%x", time.Now().UnixNano()) options := mqtt.NewClientOptions(). SetClientID(clientID). SetCleanSession(true). SetUsername(args.User). SetPassword(args.Password).
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sat Oct 07 15:07:38 GMT 2023 - 8.2K bytes - Viewed (0) -
cmd/signature-v4-utils.go
case "transfer-encoding": // Go http server removes "host" from Request.Header extractedSignedHeaders[http.CanonicalHeaderKey(header)] = r.TransferEncoding case "content-length": // Signature-V4 spec excludes Content-Length from signed headers list for signature calculation. // But some clients deviate from this rule. Hence we consider Content-Length for signature // calculation to be compatible with such clients.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Jan 31 18:56:45 GMT 2024 - 9K bytes - Viewed (0)