- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 132 for Map (0.24 sec)
-
istioctl/pkg/multixds/gather.go
if err != nil { return nil, err } return map[string]*discovery.DiscoveryResponse{ CpInfo(response).ID: response, }, nil } } return nil, err } return mapShards(responses) } func mapShards(responses []*discovery.DiscoveryResponse) (map[string]*discovery.DiscoveryResponse, error) { retval := map[string]*discovery.DiscoveryResponse{}
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/pilot/status_test.go
) func TestXdsStatusWriter_PrintAll(t *testing.T) { tests := []struct { name string input map[string]*discovery.DiscoveryResponse want string wantErr bool }{ { name: "prints multiple istiod inputs to buffer in alphabetical order by pod name", input: map[string]*discovery.DiscoveryResponse{ "istiod1": xdsResponseInput("istiod1", []clientConfigInput{ {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 08 08:38:19 GMT 2024 - 6.5K bytes - Viewed (0) -
cni/pkg/util/podutil_test.go
assert.Equal(t, len(podIPs), 0) } func TestPodRedirectionEnabled(t *testing.T) { var ( ambientEnabledLabel = map[string]string{constants.DataplaneModeLabel: constants.DataplaneModeAmbient} ambientDisabledLabel = map[string]string{constants.DataplaneModeLabel: constants.DataplaneModeNone} sidecarStatusAnnotation = map[string]string{annotation.SidecarStatus.Name: "test"} namespaceWithAmbientEnabledLabel = &corev1.Namespace{
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 03 19:29:42 GMT 2024 - 4.9K bytes - Viewed (0) -
istioctl/pkg/internaldebug/internal-debug.go
return xdsResponses, nil } func HandlerForDebugErrors(kubeClient kube.CLIClient, centralOpts *clioptions.CentralControlPlaneOptions, writer io.Writer, istioNamespace string, xdsResponses map[string]*discovery.DiscoveryResponse, ) (map[string]*discovery.DiscoveryResponse, error) { for _, response := range xdsResponses { for _, resource := range response.Resources { eString := string(resource.Value) switch {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 04:16:55 GMT 2024 - 6.9K bytes - Viewed (0) -
common-protos/k8s.io/api/node/v1beta1/generated.proto
// Overhead structure represents the resource overhead associated with running a pod. message Overhead { // podFixed represents the fixed resource overhead associated with running a pod. // +optional map<string, k8s.io.apimachinery.pkg.api.resource.Quantity> podFixed = 1; } // RuntimeClass defines a class of container runtime supported in the cluster. // The RuntimeClass is used to determine which container runtime is used to run
Plain Text - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Mar 11 18:43:24 GMT 2024 - 4.4K bytes - Viewed (0) -
istioctl/pkg/tag/generate_test.go
"istio.io/istio/pkg/test/util/assert" ) var ( defaultRevisionCanonicalWebhook = admitv1.MutatingWebhookConfiguration{ ObjectMeta: metav1.ObjectMeta{ Name: "istio-sidecar-injector", Labels: map[string]string{label.IoIstioRev.Name: "default"}, }, Webhooks: []admitv1.MutatingWebhook{ { Name: fmt.Sprintf("namespace.%s", istioInjectionWebhookSuffix), ClientConfig: admitv1.WebhookClientConfig{
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Jan 16 17:43:49 GMT 2024 - 12.1K bytes - Viewed (0) -
istioctl/cmd/sysexits_test.go
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 1.3K bytes - Viewed (0) -
cni/pkg/nodeagent/ztunnelserver_test.go
} err = c.SetWriteDeadline(time.Now().Add(time.Second)) if err != nil { panic(err) } c.Write(data) } type fakePodCache struct { pods map[string]WorkloadInfo } func (f fakePodCache) ReadCurrentPodSnapshot() map[string]WorkloadInfo { return f.pods
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 21:47:31 GMT 2024 - 8.6K bytes - Viewed (0) -
operator/cmd/mesh/profile-dump.go
if err != nil { return []string{}, err } var decoded any if uglyJSON[0] == '[' { decoded = make([]any, 0) } else { decoded = map[string]any{} } 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.
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/checkinject/checkinject.go
return nil }, RunE: func(cmd *cobra.Command, args []string) error { kubeClient, err := ctx.CLIClient() if err != nil { return err } var podName, podNs string var podLabels, nsLabels map[string]string if len(args) == 1 { podName, podNs, err = ctx.InferPodInfoFromTypedResource(args[0], ctx.Namespace()) if err != nil { return err }
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)