- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 299 for Strings (0.21 sec)
-
istioctl/pkg/dashboard/dashboard_test.go
Args: strings.Split("invalid --browser=false", " "), ExpectedRegexp: regexp.MustCompile(`unknown dashboard "invalid"`), WantException: true, }, { // case 2 Args: strings.Split("controlz --browser=false", " "), ExpectedRegexp: regexp.MustCompile(".*Error: specify a pod or --selector"), WantException: true, }, { // case 3
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Nov 21 01:17:24 GMT 2023 - 4.3K bytes - Viewed (0) -
istioctl/pkg/proxystatus/proxystatus_test.go
type execTestCase struct { args []string revision string noIstiod bool // Typically use one of the three expectedOutput string // Expected constant output expectedString string // String output is expected to contain wantException bool } func TestProxyStatus(t *testing.T) { cases := []execTestCase{ { // case 0, with no Isitod instance args: []string{}, noIstiod: true,
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 08:28:50 GMT 2024 - 5.5K bytes - Viewed (0) -
istioctl/pkg/kubeinject/kubeinject_test.go
}, { // case 1 Args: strings.Split("-f missing.yaml", " "), ExpectedRegexp: regexp.MustCompile(`open missing.yaml: no such file or directory`), WantException: true, }, { // case 2 Args: strings.Split( "--meshConfigFile testdata/mesh-config.yaml"+ " --injectConfigFile testdata/inject-config.yaml -f testdata/deployment/hello.yaml"+ " --valuesFile testdata/inject-values.yaml", " "),
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 3.4K bytes - Viewed (0) -
istioctl/pkg/util/testutil/util.go
package testutil import ( "bytes" "regexp" "strings" "testing" "github.com/spf13/cobra" "istio.io/istio/pilot/test/util" ) type TestCase struct { Args []string // Typically use one of the three ExpectedOutput string // Expected constant output ExpectedRegexp *regexp.Regexp // Expected regexp output GoldenFilename string // Expected output stored in golden file
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 2K bytes - Viewed (0) -
istioctl/pkg/kubeinject/google.go
// limitations under the License. package kubeinject import ( "context" "fmt" "net/http" "strings" "golang.org/x/oauth2" "golang.org/x/oauth2/google" ) func isMCPAddr(addr string) bool { // A bit inexact but should be good enough. return strings.Contains(addr, ".googleapis.com/") || strings.Contains(addr, ".googleapis.com:443/") }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 1.2K bytes - Viewed (0) -
istioctl/pkg/describe/describe_test.go
istioConfigs []runtime.Object // Canned Istio configuration configDumps map[string][]byte namespace string istioNamespace string args []string // Typically use one of the three expectedOutput string // Expected constant output expectedString string // String output is expected to contain wantException bool } // Tests Pilot /debug func TestDescribe(t *testing.T) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Mar 28 09:54:01 GMT 2024 - 30.4K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/listener.go
fmt.Fprintf(w, "%v\t%v\t%v\t%v\n", name, strings.Join(addresses, ","), port, listenerType) } else { fmt.Fprintf(w, "%v\t%v\t%v\n", strings.Join(addresses, ","), port, listenerType) } } } return w.Flush() } type filterchain struct { match string destination string } var ( plaintextHTTPALPNs = []string{"http/1.0", "http/1.1", "h2c"}
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Nov 29 12:37:14 GMT 2023 - 18.1K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/services.go
package configdump import ( "cmp" "encoding/json" "fmt" "strings" "sigs.k8s.io/yaml" "istio.io/istio/pkg/maps" "istio.io/istio/pkg/slices" ) // ServiceFilter is used to pass filter information into service based config writer print functions type ServiceFilter struct { Namespace string } // Verify returns true if the passed workload matches the filter fields
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 23 21:30:30 GMT 2024 - 2.8K bytes - Viewed (0) -
istioctl/pkg/workload/workload_test.go
tests := []struct { name string arg []string want map[string]string }{ {name: "empty", arg: []string{""}, want: map[string]string{"": ""}}, {name: "one-valid", arg: []string{"key=value"}, want: map[string]string{"key": "value"}}, {name: "one-valid-double-equals", arg: []string{"key==value"}, want: map[string]string{"key": "=value"}}, {name: "one-key-only", arg: []string{"key"}, want: map[string]string{"key": ""}},
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
Status: gateway.GatewayStatus{ Conditions: conditions, }, } } func makeGatewayWithRevision(name, namespace string, programmed, isWaypoint bool, rev string) *gateway.Gateway { gw := makeGateway(name, namespace, programmed, isWaypoint) if gw.Labels == nil { gw.Labels = make(map[string]string) } gw.Labels[label.IoIstioRev.Name] = rev return gw
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)