- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 103 for responses (0.22 sec)
-
istioctl/pkg/precheck/precheck.go
Version: version, Resource: resource, }, }, } response, err := c.Kube().AuthorizationV1().SelfSubjectAccessReviews().Create(context.Background(), s, metav1.CreateOptions{}) if err != nil { return err } if !response.Status.Allowed { if len(response.Status.Reason) > 0 { return errors.New(response.Status.Reason) } return errors.New("permission denied") } return nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 02:57:30 UTC 2024 - 19.3K bytes - Viewed (0) -
pilot/pkg/model/endpointshards.go
pushType = FullPush } // Clear the cache here. While it would likely be cleared later when we trigger a push, a race // condition is introduced where an XDS response may be generated before the update, but not // completed until after a response after the update. Essentially, we transition from v0 -> v1 -> // v0 -> invalidate -> v1. Reverting a change we pushed violates our contract of monotonically
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:37 UTC 2024 - 15.6K bytes - Viewed (0) -
pkg/spiffe/spiffe.go
retryBackoffTime := firstRetryBackOffTime startTime := time.Now() var resp *http.Response for { resp, err = httpClient.Get(endpoint) var errMsg string if err != nil { errMsg = fmt.Sprintf("Calling %s failed with error: %v", endpoint, err) } else if resp == nil { errMsg = fmt.Sprintf("Calling %s failed with nil response", endpoint) } else if resp.StatusCode != http.StatusOK { b := make([]byte, 1024)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 11.1K bytes - Viewed (0) -
operator/cmd/mesh/operator-remove.go
"istio.io/istio/pkg/kube" ) type operatorRemoveArgs struct { // skipConfirmation determines whether the user is prompted for confirmation. // If set to true, the user is not prompted and a Yes response is assumed in all cases. skipConfirmation bool // force proceeds even if there are validation errors force bool // operatorNamespace is the namespace the operator controller is installed into. operatorNamespace string
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 15 01:18:49 UTC 2024 - 5.4K bytes - Viewed (0) -
pkg/config/validation/validation_test.go
"", }, }, }, }}, }, valid: false}, {name: "empty header name - response add", route: &networking.HTTPRoute{ Route: []*networking.HTTPRouteDestination{{ Destination: &networking.Destination{Host: "foo.baz"}, Headers: &networking.Headers{ Response: &networking.Headers_HeaderOperations{ Add: map[string]string{ "": "value", }, },
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 03:11:45 UTC 2024 - 196K bytes - Viewed (0) -
pilot/pkg/config/aggregate/config_test.go
g.Expect(la[0].Name).To(Equal("other")) l := store1.List(gvk.HTTPRoute, "") g.Expect(l).To(HaveLen(1)) g.Expect(l[0].Name).To(Equal("other")) // Check the aggregated and individual store return identical response g.Expect(la).To(BeEquivalentTo(l)) l = store2.List(gvk.HTTPRoute, "") g.Expect(l).To(HaveLen(0)) } func TestAggregateStoreWriteWithoutWriter(t *testing.T) { g := NewWithT(t)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 02 17:36:47 UTC 2024 - 6.7K bytes - Viewed (0) -
istioctl/pkg/version/version.go
if err != nil { fmt.Fprintf(os.Stdout, "set flag %q as true failed due to error %v", flag.Name, err) } } }) return versionCmd } // xdsRemoteVersionWrapper uses outXDS to share the XDS response with xdsProxyVersionWrapper. // (Screwy API on istioVersion.CobraCommandWithOptions) // nolint: lll
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 15 01:18:49 UTC 2024 - 8.3K bytes - Viewed (0) -
pilot/pkg/trustbundle/trustbundle_test.go
} func TestAddMeshConfigUpdate(t *testing.T) { caCertPool, err := x509.SystemCertPool() if err != nil { t.Fatalf("failed to get SystemCertPool: %v", err) } stop := test.NewStop(t) // Mock response from TLS Spiffe Server validHandler := http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) { w.WriteHeader(http.StatusOK) _, _ = w.Write([]byte(validSpiffeX509Bundle)) })
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 13.1K bytes - Viewed (0) -
pilot/pkg/xds/eds_sh_test.go
}, } for _, tt := range tests { t.Run("from "+tt.network, func(t *testing.T) { verifySplitHorizonResponse(t, s, tt.network, tt.sidecarID, tt.want) }) } } // Tests whether an EDS response from the provided network matches the expected results func verifySplitHorizonResponse(t *testing.T, s *xds.FakeDiscoveryServer, network string, sidecarID string, expected expectedResults) { t.Helper()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jan 12 18:20:36 UTC 2024 - 10.8K bytes - Viewed (0) -
operator/cmd/mesh/uninstall.go
proxyinfo "istio.io/istio/pkg/proxy" ) type uninstallArgs struct { // skipConfirmation determines whether the user is prompted for confirmation. // If set to true, the user is not prompted and a Yes response is assumed in all cases. skipConfirmation bool // force proceeds even if there are validation errors force bool // purge results in deletion of all Istio resources. purge bool
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 15 01:18:49 UTC 2024 - 10.4K bytes - Viewed (0)