- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 39 for specs (0.15 sec)
-
src/cmd/api/main_test.go
case *ast.GenDecl: if isDeprecated(n.Doc) { for _, spec := range n.Specs { switch spec := spec.(type) { case *ast.ValueSpec: for _, id := range spec.Names { mark(id) } case *ast.TypeSpec: mark(spec.Name) } } } return true // look at specs case *ast.FuncDecl: if isDeprecated(n.Doc) { mark(n.Name)
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Apr 09 20:48:51 GMT 2024 - 31.4K bytes - Viewed (0) -
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) -
istioctl/pkg/workload/workload_test.go
defaultYAML = `apiVersion: networking.istio.io/v1alpha3 kind: WorkloadGroup metadata: name: foo namespace: bar spec: metadata: {} template: serviceAccount: default ` customYAML = `apiVersion: networking.istio.io/v1alpha3 kind: WorkloadGroup metadata: name: foo namespace: bar spec: metadata: annotations: annotation: foobar labels: app: foo bar: baz
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Mar 27 16:59:05 GMT 2024 - 14.6K 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) -
operator/cmd/mesh/manifest_shared_test.go
_, iop, err := manifest.GenerateConfig( []string{inFileAbsolutePath(inFile)}, []string{"installPackagePath=" + string(chartSource)}, false, c, l) if err != nil { return nil, err } iop.Spec.InstallPackagePath = string(chartSource) reconciler, err := helmreconciler.NewHelmReconciler(testClient, c, iop, opts) if err != nil { return nil, err }
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) -
cni/pkg/plugin/plugin_test.go
pod, ns := buildFakePodAndNSForClient() pod.Spec.Containers[0].Name = "mockContainer" pod.Spec.Containers[1].Name = "istio-proxy" pod.ObjectMeta.Annotations[injectAnnotationKey] = "false" testDoAddRun(t, buildMockConf(true, ""), testNSName, pod, ns) } func TestCmdAddTwoContainersWithLabel(t *testing.T) { pod, ns := buildFakePodAndNSForClient() pod.Spec.Containers[0].Name = "mockContainer"
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 08 15:58:51 GMT 2024 - 17.5K bytes - Viewed (0) -
cni/pkg/nodeagent/informers_test.go
NodeName = "testnode" ctx, cancel := context.WithCancel(context.Background()) defer cancel() pod := &corev1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "test", Namespace: "test", }, Spec: corev1.PodSpec{ NodeName: NodeName, }, Status: corev1.PodStatus{ PodIP: "11.1.1.12", }, } ns := &corev1.Namespace{ObjectMeta: metav1.ObjectMeta{Name: "test"}}
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 03 19:29:42 GMT 2024 - 15.8K bytes - Viewed (0) -
cmd/sts-handlers.go
return } cred, err := auth.GetNewCredentialsWithMetadata(claims, secret) if err != nil { writeSTSErrorResponse(ctx, w, ErrSTSInternalError, err) return } // https://openid.net/specs/openid-connect-core-1_0.html#ClaimStability // claim is only considered stable when subject and iss are used together // this is to ensure that ParentUser doesn't change and we get to use
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 21:31:13 GMT 2024 - 34.7K bytes - Viewed (2) -
cni/pkg/nodeagent/net_test.go
PodIPs: []corev1.PodIP{{IP: "2.2.2.2"}, {IP: "3.3.3.3"}}, } } return &corev1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "foo", Namespace: "bar", UID: "123", }, Spec: corev1.PodSpec{ Containers: containers, }, Status: podStatus, } } func TestServerAddPod(t *testing.T) { ctx, cancel := context.WithCancel(context.Background()) defer cancel()
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 16.4K bytes - Viewed (0) -
cmd/bucket-object-lock.go
return nil } // checkPutObjectLockAllowed enforces object retention policy and legal hold policy // for requests with WORM headers // See https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock-managing.html for the spec. // For non-existing objects with object retention headers set, this method returns ErrNone if bucket has // locking enabled and user has requisite permissions (s3:PutObjectRetention)
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)