- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 47 for Younes (0.18 sec)
-
istioctl/pkg/writer/envoy/configdump/route_test.go
cw := &ConfigWriter{Stdout: gotOut} cd, _ := os.ReadFile(fmt.Sprintf("testdata/routes/%s/configdump.json", tt.name)) if err := cw.Prime(cd); err != nil { t.Errorf("failed to parse config dump: %s", err) } err := cw.PrintRouteSummary(RouteFilter{Verbose: true}) assert.NoError(t, err) wantOutputFile := path.Join("testdata/routes", tt.name, "output.txt") util.CompareContent(t, gotOut.Bytes(), wantOutputFile) })
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Wed Nov 29 12:37:14 GMT 2023 - 2.8K bytes - Viewed (0) -
cmd/healthcheck-router.go
healthCheckClusterReadPath = "/cluster/read" healthCheckPathPrefix = minioReservedBucketPath + healthCheckPath ) // registerHealthCheckRouter - add handler functions for liveness and readiness routes. func registerHealthCheckRouter(router *mux.Router) { // Healthcheck router healthRouter := router.PathPrefix(healthCheckPathPrefix).Subrouter() // Cluster check handler to verify cluster is active
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Mon Jan 23 11:12:47 GMT 2023 - 2.3K bytes - Viewed (0) -
cmd/routers.go
// returned early by any other middleware (but after the middleware that // sets the amz request id). httpTracerMiddleware, // Auth middleware verifies incoming authorization headers and routes them // accordingly. Client receives a HTTP error for invalid/unsupported // signatures. // // Validates all incoming requests to have a valid date header. setAuthMiddleware,
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Fri Mar 08 19:08:18 GMT 2024 - 3.6K bytes - Viewed (1) -
istioctl/pkg/proxyconfig/proxyconfig.go
# Retrieve route summary without using Kubernetes API ssh <user@hostname> 'curl localhost:15000/config_dump' > envoy-config.json istioctl proxy-config routes --file envoy-config.json `, Aliases: []string{"routes", "r"}, Args: func(cmd *cobra.Command, args []string) error { if (len(args) == 1) != (configDumpFile == "") { cmd.Println(cmd.UsageString())
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Apr 16 03:28:36 GMT 2024 - 48K bytes - Viewed (0) -
src/bufio/scan_test.go
} } } // Test that the rune splitter returns same sequence of runes (not bytes) as for range string. func TestScanRune(t *testing.T) { for n, test := range scanTests { buf := strings.NewReader(test) s := NewScanner(buf) s.Split(ScanRunes) var i, runeCount int var expect rune // Use a string range loop to validate the sequence of runes. for i, expect = range test { if !s.Scan() { break }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Sep 22 16:22:42 GMT 2023 - 14.3K bytes - Viewed (0) -
src/bufio/bufio.go
} // WriteRune writes a single Unicode code point, returning // the number of bytes written and any error. func (b *Writer) WriteRune(r rune) (size int, err error) { // Compare as uint32 to correctly handle negative runes. if uint32(r) < utf8.RuneSelf { err = b.WriteByte(byte(r)) if err != nil { return 0, err } return 1, nil } if b.err != nil { return 0, b.err } n := b.Available()
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Oct 12 14:39:08 GMT 2023 - 21.8K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/route.go
return nil, err } routes = append(routes, routeTyped) } } if len(routes) == 0 { return nil, fmt.Errorf("no routes found") } sort.Slice(routes, func(i, j int) bool { iName, err := strconv.Atoi(routes[i].Name) if err != nil { return false } jName, err := strconv.Atoi(routes[j].Name) if err != nil { return false } return iName < jName })
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Thu May 11 05:38:17 GMT 2023 - 7.2K bytes - Viewed (0) -
cni/pkg/constants/constants.go
HostCNIBinDir = "/host/opt/cni/bin" ServiceAccountPath = "/var/run/secrets/kubernetes.io/serviceaccount" // Well-known subpath we will mount any needed host-mounts under, // to preclude shadowing or breaking any pod-internal mounts HostMountsPath = "/host"
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 2.7K bytes - Viewed (0) -
istioctl/pkg/proxyconfig/proxyconfig_test.go
expectedString: "unrecognized logger name: xxx", wantException: true, }, { // routes invalid args: strings.Split("routes invalid", " "), expectedString: "unable to retrieve Pod: pods \"invalid\" not found", wantException: true, // "istioctl proxy-config routes invalid" should fail }, { // bootstrap invalid args: strings.Split("bootstrap invalid", " "),
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Wed Apr 10 21:51:29 GMT 2024 - 8.9K bytes - Viewed (0) -
istioctl/pkg/util/proto/messageslice.go
package proto import ( "bytes" "google.golang.org/protobuf/proto" "istio.io/istio/pkg/util/protomarshal" ) // MessageSlice allows us to marshal slices of protobuf messages like clusters/listeners/routes/endpoints correctly type MessageSlice []proto.Message // MarshalJSON handles marshaling of slices of proto messages func (pSlice MessageSlice) MarshalJSON() ([]byte, error) { buffer := bytes.NewBufferString("[")
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Oct 19 21:53:59 GMT 2021 - 1.3K bytes - Viewed (0)